Skip to content

SPloganathan/marvel-movies-3000

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

123 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MARVEL MOVIE 3000 🦾🤖🎥

Table of Contents 🐜👨🏻




Overview 🕷👨

​MARVEL MOVIE 3000 allows the user to search for movies and characters related to the Marvel Universe.




The Challenge 👨😡💪🍏

Users should be able to: ​

  • Type a movie or a character from Marvel that they would like to get information about.

  • Also, they should be able to click on the movie or character cards to generate information that way if they want to.




Screenshots 🖐🏼🌀🧛🏻‍♂️


main-page




searched-movie




character-page




Links 🩸🧙‍♀️




Our Process ⍟🦸‍♂️

  • Started off using Excalidraw to create a wireframe. wireframe

  • Once the wireframing was done, we split up the work that needed to be done.

  • An index.html and a character.html were created.

  • We decided to use Foundation as our framework and started styling our pages.

  • Once the html and styling were almost completed the javascript was started.

  • Script files were created for the index page and as well as the character page. A third one was created as well which is titled md5.js and the reason for this file is to create a hash which is being used by the Marvel API.

  • Once all the files were created, it was just a manner of finalizing/tweaking the code to get the desired effect for our webpage.




Built with 🦅👁

  • Semantic HTML5 markup
  • CSS Custom Properties
  • Foundation (Bootstrap Alternative)
  • CSS Grid
  • Javascript
  • Mobile-first workflow
  • OMDB API
  • Marvel API



What We learned 🔫👱‍♂️🎧🎶

​ The following are examples within our code that we learned from doing this project. ​ ​

HTML is done using Foundation Framework.

<input type="text" autocomplete="off"/>

<div class="cell large-10"></div>

<div class="grid-x grid-margin-x small-up-2 medium-up-3 pt15"></div>

.pt15 {
  padding-top: 50px !important;
}

await fetch(marvelApi)
.then(function (response) {
  return response.json();
 })
.then(function (data) {
  result = data;
});


let rottenTomatoes = movieDetails.Ratings.find(
 (rating) => rating.Source === "Rotten Tomatoes"
);


buttonElement += ` <button class="button secondary custom-button" id="search-movie-button" data-movieName="${parsedMovie[i]}">
    ${parsedMovie[i]}
    </button>`;
document.querySelector("#searched-movie").innerHTML = buttonElement;



Continued Development ⚫️👩🏻‍🦰

​ After finishing our project, we understand things more clearly now. We also understand Foundation well enough now to be able to use it without too much of an issue. We have better understanding of CSS and Javascript and so for our future projects we hope to implement our knowledge into those future projects to make them better than what we have right now.




Useful Resources 🙅🏿🐈‍⬛👨🏿‍🦱

  • Markdown Guide - This really helps with the understanding of Markdown syntax for READMEs and it allowed us to create a nicely structured README.
  • Font Generator - Google Fonts was not able to provide the font that we wanted so we turned to this Font Generator to create special fonts. All we had to do was type in the words that we wanted to have generated and then we copied and pasted them into the html.
  • Hashing - MD5 is a cryptographic hash function algorithm that takes the message as input of any length and changes it into a fixed-length message of 16 bytes. MD5 algorithm stands for the message-digest algorithm.



Authors Stan




Acknowledgments 🚀🦝

​ Everyone in our group did an amazing job! We each split our work into sections that were manageable and whenever we needed help or someone saw something that could cause an issue, it was addressed almost right away. Everyone contributed so much of their time and effort and we are happy with what we created! Hope you guys enjoy!



About

Marvel-Movies-3000 allows the user to search for movies and characters related to the Marvel universe which will in turn provide us with a full movie description, movie posters, rating of the searched movie and full character details.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 59.1%
  • HTML 24.8%
  • CSS 16.1%