diff --git a/module_03/02_dom_access_methods/03_challenge.html b/module_03/02_dom_access_methods/03_challenge.html index 98e0ebd..e3002b0 100644 --- a/module_03/02_dom_access_methods/03_challenge.html +++ b/module_03/02_dom_access_methods/03_challenge.html @@ -19,9 +19,13 @@

Isaac Newton's Queries

See more

+ // Step 1: Store all doth that are inside lis in dothEls + var dothEls = document.querySelectorAll("ul .doth"); + // Step 2: Iterate through them and change doth to does + console.log(dothEls[0]); + for (var i = 0; i < dothEls.length; i++){ + dothEls[i].innerHTML ="does"; + } + - \ No newline at end of file +