Intermediate Web Literacy II | Buttons and Alerts

Made by Mozilla, released under the CC-BY-SA license

45 to 60 minutes

Learn how to code, compose, remix, and revise by connecting HTML, CSS, and JavaScript by using buttons and scripts to tell a story.

Remix this lesson in Thimble!

Web Literacy Skills

21st Century Skills

Learning Objectives

  • Understand how CSS stylesheets and JavaScript code connect to an HTML webpage.
  • Code a button and script that work together to tell a story inside a pop-up alert window.

Audience

  • 13+
  • Intermediate web users

Materials

  • An Internet-connected, projected instructor computer
  • Internect-connected computers
  • Markers
  • Paper