Update a Title and Counter
mediumQuestion 73The page has a heading with id="title" (currently 'Welcome') and a span with id="count" (currently '0'). Change the heading's text to 'Dashboard' and the span's text to '5'.
Platform-Provided HTML (READ-ONLY):
<div>
<h1 id="title">Welcome</h1>
<span id="count">0</span>
</div>Expected output
#title = "Dashboard", #count = "5"= newline. No newline after the last line.
Hints3 available
Sign in to use hintsTopics
HTML DOM
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (clog, fn, fori)
Your output
Run your code to see the output here...
Test cases
Run your code to see test case results.