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
- The heading says
Welcome, Asha! - The heading has the class
highlightand turned blue - The status paragraph says
Signed in - The HTML tab is unchanged
- 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.