Answer the question
In order to leave comments, you need to log in
I can't figure out the DOM but I don't understand, what's wrong?
Task description:
Select 3 DOM elements:
- move to the element with id = "test" and assign the selected element to change id.
- return to element after class class = "test" and assign selected element to change className
- return to element after tag and assign selected element to change tag
My Response:
var test = document.getElementById("test");
var test = document.getElementByclassName("test");
var_tag = document.getElementByTagName("div");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question