CJCoding With Joseph

Change Paragraph Text

A paragraph with id="msg" currently says 'Old text'. Select it and change its text content to 'Updated!'.

Expected Output:

<p id="msg">Updated!</p>
Topics:
HTML DOM
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท 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.