Skip to content

This repository hosts a web application that interacts with The Movie Database (TMDb) API to fetch and display details about popular movies and TV shows. The application dynamically renders either popular movies or TV shows based on the current page, and provides detailed information when a specific movie or show is selected.

Notifications You must be signed in to change notification settings

nreispai/movie-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie App

This is a web application built with HTML, CSS, and JavaScript, leveraging the TMDB API to provide users with information about their favorite movies and TV shows. The functionalities include browsing top-rated movies and TV shows, searching for specific titles, and viewing detailed information about a selected movie or TV show.

Check it out: https://dulcet-lily-6e3b48.netlify.app/

Project Structure

  • Fetches data from TMDB API.
  • Dynamically populates a grid of movies or TV shows on the homepage.
  • Highlights the active page in the navigation.
  • Search feature that allows users to find their favourite movies or TV shows.
  • Displays a detailed view of a selected movie or TV show.
  • Formats budget and revenue information to a currency format.

Skills Used

  • HTML: For the structure of webpages.
  • CSS: For styling and layout of the pages.
  • JavaScript: For handling API calls, DOM manipulation and event handling.
  • Fetch API: For making HTTP requests to the TMDB API.
  • Async/Await: For handling JavaScript Promises.

Installation and Usage

  1. Clone this repository to your local machine.
  2. Get your TMDB API key and replace the placeholder in the script.js file.
  3. Open index.html in your browser to see the application.

Note: You might need a live server to run the project due to CORS policy.

Contribution

Feel free to fork this project, raise issues and submit Pull Requests.

Disclaimer

This project uses the TMDB API but is not endorsed or certified by TMDB.

About

This repository hosts a web application that interacts with The Movie Database (TMDb) API to fetch and display details about popular movies and TV shows. The application dynamically renders either popular movies or TV shows based on the current page, and provides detailed information when a specific movie or show is selected.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published