Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Working with the DOM. I have a question about working with the DOM. I'm using Chrome. So lets say we have a simple nav with

Working with the DOM.

I have a question about working with the DOM. I'm using Chrome.

So lets say we have a simple nav with anchor tags, like so

If I was in the DOM, how can I select each a tag individually so that I can add different text content to each a tag? so through the DOM, how can I change from what is above to something like that is below? I understand how to select one tag, or the first tag, but I don't understand how to reach the second one and edit it, or the third one and edit it and so on.

contact

about

login

register

thank you.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions