Question: 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
Get step-by-step solutions from verified subject matter experts
