/movie-tickets

Epicodus Project

Primary LanguageHTML

Movie Tickets

This project is to practice referencing objects and manipulating objects with formulas.

By Dani Renner and Mike Pingel

Technologies Used

  • CSS
  • HTML5
  • Bootstrap
  • JavaScript
  • jQuery

Description

This is a website to check ticket prices based on information entered by the user including time of day, movie selected, and user age.

Setup/Installation Requirements

  • Go to https://github.com/Pingel88/movie-tickets
  • Navigate to and click the green "Code" button on middle upper right part of webpage.
  • Copy the HTTPs address to your clipboard.
  • Open terminal or bash and navigate to the directory you wish to download the repo to.
  • Type into the terminal "git clone [paste HTTPs address] and press enter.
  • Open the file named "index.html" in the directory you just downloaded the repo to. This will open the portfolio page in your default web browser.

Specs

Describe: ticket{}
Test: "It should create a 'ticket' object"
Expect: (ticket).toEqual{movie, showtime, age}

Test: "It should return the ticket price based on the information entered into the the ticket object"
Code: const movieTicket = {title = 4, showtime = 3, age = 2}
Expect: (ticketPrice(movieTicket)).toEqual(9)

Known Bugs

  • No known bugs

License

MIT

Copyright © 2021 Dani Renner and Mike Pingel

Contact Information

Dani Renner

GitHub

Mike Pingel

GitHub