Intermediate Web Literacy II | Storytelling with Three Buttons

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

30 to 45 minutes

You will learn how to write multiple, short functions that each connect to a button on a webpage.

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 multiple buttons and a script that work together to tell a story inside through alert windows.


  • 13+
  • Intermediate web users


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