- HTML
- CSS(Bootstrap)
- Git
- Javascript
Returns a price after giving the user options regarding movie, time and age
-
_Click the green "Code" button and Download Zip _
-
Extract the contents of the zip file to a folder on your machine
-
Run the Index.html file with your browser of choice (I recommend Chrome)
-
alternatively you can clone this repository from Git Hub
Description: Ticket() Test: It should return an object with properties of newRelease, showTime, and ageRange Code: Ticket1 = new Ticket(false, 1, 1); Ticket1.ageRange; Expected Outcome: 1
Description: Movie() Test: It should return an object with properties of newRelease, and showTimes Code: Movie1 = new Movie(true,[]); Movie1.newRelease; Expected Outcome: true
Description: Catalog() Test: It should return an object containing a list of Movie objects called movies Code: Catalog1 = new Catalog(); Movie1 = new Movie(true,[]); Catalog1.addMovie(Movie1); Catalog1.movies[0].newRelease; Expected Outcome: true
Description: Ticket.prototype.getPrice() Test: It should return a price given the specifics of the ticket object. Code: Ticket1 = new Ticket(true,1,1); Ticket1.getPrice(); Expected Outcome: 11
Description: Ticket.prototype.getPrice() Test: It should return a price given the specifics of the ticket object. Code: Ticket1 = new Ticket(true,1,0); Ticket1.getPrice(); Expected Outcome: 9
Description: tButtons() Test: It should return a button element Code: tButtons() Expected Outcome: "test"
Test: It should return a button element with a value Code: tButtons(0)) Expected Outcome: "test"
- No Known Bugs (bugs coming soon to a theater near you)
*MIT Licenced *Copyright (c) 2021 Karen Axon Skylar Brockbank