amoussa11

Untitled

Feb 17th, 2019
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <h2>What Can JavaScript Do?</h2>
  6.  
  7. <p id="demo">JavaScript can change HTML content.</p>
  8.  
  9. <button type="button" onclick='document.getElementById("demo").innerHTML = "Hello JavaScript!"'>Click Me!</button>
  10.  
  11. </body>
  12. </html>
Add Comment
Please, Sign In to add comment