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/
- 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.
- 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.
- Clone this repository to your local machine.
- Get your TMDB API key and replace the placeholder in the script.js file.
- 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.
Feel free to fork this project, raise issues and submit Pull Requests.
This project uses the TMDB API but is not endorsed or certified by TMDB.