Lab
Domino'sIntroduction
That's Domino's... as in pizza!
Objective
Use the JavaScript skills you have learned to add functionality to the Create Your Own Pizza web application.
Requirements
- Download the Domino's Starter Files. The starter files contain an
index.html
file, astyle.css
file, anindex.js
file, and animages
folder. All changes for this assignment will be made to theindex.js
file. - When the sizes select box is changed: add the functionality that will update the pizza's sizes text that corresponds to the size selected.
- When a topping button is clicked: add the functionality that will toggle the class
checked
on the button clicked. - When a topping button is clicked: add the functionality that will toggle the class
show
on the corresponding pizza topping. - Submit the
index.js
file to the Domino's assignment on Brightspace.
Example
The following video demonstrates how the finished version of the Domino’s assignment should function.