scrimba
Learn JavaScript
Practice part 1
Rendering an error message
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Rendering an error message
AboutCommentsNotes
Rendering an error message
Expand for more info
index.js
run
preview
console
// When the user clicks the purchase button, render out
// "Something went wrong, please try again" in the paragraph
// that has the id="error".


Console
/index.html
-3:15