Git Product home page Git Product logo

fsnd-p1_movie-trailer-website's Introduction

Movie Trailer Website

This is a simple website displaying a list of movie posters and trailers. This app was created as a short exercise in Python classes and class instances.

Movie listings and information are stored in entertainment_center.py in instances of the 'Movie' class. The Movie class itself is in media.py. fresh_tomatoes.py contains the code to dynamically generate an html page (fresh_tomatoes.html) based on the movies in entertainment_center.py.

Instructions

This app requires Python to run.

Clone the repository to your computer. To run the application, enter $ python entertainment_center.py in a command window. Alternatively, you can open fresh_tomatoes.html with your preferred browser. Click on the movie title or its poster art to view the trailer in a YouTube video modal.

Make Your Own Movie Page!

To create a page containing movies of your choice, edit the movie instances contained in entertainment_center.py. You can change the name, link to poster image, and link to trailer of the movies already there or add entirely new movie instances. Make sure to add any new movie variables to the 'movies' array at the bottom of the script. Run entertainment_center.py (as described above) to update and open your new movie trailer website!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.