Code Monkey home page Code Monkey logo

futurama-fan-wiki's Introduction

Futurama Fan Wiki

Solution to a challenge from 50 react projects for the static web.

Table of Contents

Overview

Screenshots






Link

Live Link

Built With

Requirements

  • Create a character wiki using an API that lists out all of the characters of your favorite TV series
  • Add dynamic pages to the character wiki allowing people to navigate to characters to view more information
  • Use some of the characteristics of the TV show to make the character wiki look like it belongs in that TV universe with custom styles and animations

Thoughts

  • Original Futurama Api has been updated and its' characters endpoint was deleted.

  • So I replaced that api with another Futurama api.

  • The new api has a characters route and its json is similar to the previous api.

  • First Appearance, Status & VoicedBy properties do not exist on this new api so these properties are replaced by the new api's sayings property.

  • If you refresh on detail page, won't display anything - data is not persisted if cookie is blocked

  • Api response is saved to sessionStorage to prevent another api request

  • Added 'object-fit: contain' to the img tag - preserves the original aspect ratio and makes picture look better.

  • Use dictionary list for the card detail - reduced extra styling required if I were to use headings for propert name and spans/paragraphs for property details.

  • Added conditional to render 'unknown' if a property is missing a value or null

  • Had to change original mobile design since I redesigned the card detail page

  • Homepage grid changes depending on screen width

Improvements

  • styling / accessibility
  • eliminate duplicated code
  • update dependencies -> react 18

Useful Resources

futurama-fan-wiki's People

Contributors

jdegand avatar

Watchers

 avatar

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.