Command Palette

Search for a command to run...

Hectal
Phase 8: The DOM
JavaScript · Exercise 1 of 5Next
Beginner

Welcome the user

A user has just signed in. Using JavaScript only (don't edit the HTML tab):

1. Change the heading text to Welcome, Asha!.

2. Add the class highlight to the heading (the CSS for it is ready).

3. Change the paragraph with class status to say Signed in.

What Check tests

  1. The heading says Welcome, Asha!
  2. The heading has the class highlight and turned blue
  3. The status paragraph says Signed in
  4. The HTML tab is unchanged
  5. No errors

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.