Julian Cubillos2,060 Points
Don't understand task 2, please help and thanks in advance
const removeMe = document.querySelector();
var parent = .parentNode;
I remove the removeMe
const removeMe = document.querySelector(); var parent = .parentNode;
<!DOCTYPE html> <html> <head> <title>Parent Traversal</title> </head> <link rel="stylesheet" href="style.css" /> <body> <ul> <li>Hello</li> <li>Hi</li> <li class="remove_me">Good bye!</li> <li>Howdy</li> </ul> <script src="app.js"></script> </body> </html>
Steven Parker182,355 Points
It doesn't look like you completed task 1 yet.
Or did you modify the code after task 1? You don't want to do that, you'll need to keep everything you had in task 1 and then add to it for task 2.