E-Learning Platform
0 of 139 builtAlways freeSign in
3.07 · Lab

Changing the Page

You're holding real elements now. Rewrite their text, flip a class, and watch a live page change under your hands.

Exercise

Flip the panel

Checks itself — try as often as you like

Using the elements already on the page:

  • Select #status and set its textContent to "Lamp is on".
  • Select .panel and add the class "dark" to it with classList.add.