Practice ยท 1 of 1
Update the Page
A page is loaded for you: a heading with id "status", a paragraph with class "intro", and an image with id "hero". JavaScript received the real element objects as heading, intro, and hero โ do NOT call document.querySelector; use these variables directly.
1. Set the heading's text to exactly: Pipeline running
2. Add the class "is-active" to the intro paragraph.
3. Set the hero image's src to "/photos/dawn.jpg" and give its alt text a meaningful description.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: The DOM: Reading and Changing the Page โ Practice