Coder Social home page Coder Social logo

ghibli-film-fest's Introduction

ghibli-film-fest

Create the ultimate ghibli fan page!

Objective

Use XML Http Requests, Keyboard Events, and more to recreate the Pokemon wild!

Prerequisites

To complete this project, students should have the following:

  • Intermediate understanding of HTML structures (divs, attributes, images...etc.).
  • Intermediate understanding of JavaScript and DOM (for loops, variables, event listeners...etc.)

Concepts

XML Description
XML e X tensible M arkup L anguage
XMLHttpRequest An object that can be used to request data from a web server. Resource: https://www.w3schools.com/xml/xml_http.asp

Your Challenge

Part I

To complete Part I, fulfill the following requirements:

  1. Set up your project file structure through the command line.
  2. Create the following:
  • HTML file
  • CSS file
  • JS file
  1. Link all of your files correctly.

Part II HTML

To complete Part II, fulfill the following requirements:

  1. Create a div with an id of "container".

Part III CSS

To complete Part III, fulfill the following requirements:

  1. Target the body element.
  • Set its margin to 0px.
  1. Target the id of "container".
  • Activate flexbox.
  • Allow the wrapping of elements using flexbox.
  • Create even space around the elements using flexbox.
  1. Target the class of "film".
  • Set the width to 300px.
  • Set the height to auto.
  • Activate flexbox.
  • Center the items horizontally and vertically using flexbox.
  • Set the direction of items to a column using flexbox.
  • Add some padding and margins to make the spacing more appealing.

Part IV JS

To complete Part III, fulfill the following requirements:

  1. Create a new XMLHttpRequest() and open a GET request to "https://ghibliapi.herokuapp.com/films/".
  2. When the request is successfully processed, create and append elements to showcase the title, producer, rotten tomato score (rt_score), and description of each movie. Set a new class on each element so that it has a class of "film".
  3. Add background images to the divs for each movie!

Stretch Goals

Create hover effects, rank the movies by score, and create a section where you write out your own review of the movie.

ghibli-film-fest's People

Contributors

ginawatanabe avatar

Watchers

James Cloos avatar Natalie Ramirez avatar  avatar

Forkers

flowercake13

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.