This project was a practice for me on APIs. So i found The Breaking Bad API by Tim Biles.
After reading API documantation the idea of this website came up to my mind why not..!
- HTML
- CSS
- Javascript
- SASS
The website consists of 6 pages:
- Home Page. Demo For Other Pages
- Characters Page. Contains All Breaking Bad & Better Call Saul Characters.
- Episodes Page. Contains All Breaking Bad & Better Call Saul Episodes.
- Quotes Page. Contains Characters Famous Quotes.
- Death Page. Contains Breaking Bad & Better Call Saul Dead Characters.
- About Page. Contains My Accounts & Notes About Copyrights.
-
Search: You can search almost for everything. You can search for characters, episodes, quotes and dead characters.
How to use search the right way:
- For Searching Characters: Write character name, and the characters will be filtered.
- For Searching Episodes: you must write episode full name. WHY that because API doesn't support searching episodes with name only with id .So i did a tricky solution ,but the problem with it that you must write episode's full name . (i 'll find better way soon).
- For Searching Quotes: you must write character full name. WHY, unfortunately API works that way :(
- For Searching Dead Characters: Write character name, and the characters will be filtered.
-
Results Related To Specific Series:
API doesn't support this functionality for quotes & Dead characters.
Here you have 3 options:
- All: Here you get all available data about characters, episodes, quotes and etc...
- Breaking Bad: Here you get all available data Only about breaking bad series.
- Better Call Saul: Here you get all available data Only about better call saul series.
-
Seasons: API returns episodes. just episodes with
season
attribute , there is no array of seasons. So i looped through all episodes and make array for every season episodes for the two series. Then i used these arraies to came up with result you have already seen.API doesn't support this functionality by default.
-
Responsive: This website is responsive for all devices.
That it guys. Hoping that you like it.
Have A Good Day & See You In Another Project.