Giter Club home page Giter Club logo

react-sports-ball's Introduction

Sports Ball with React Tools

For this assignment, your task is to build a React JSX user interface that cheers your favorite city's sports ball team. To get started, navigate to your locally cloned react-sports-ball repository.

cd path/to/react-sports-ball

Use the following guide to do this exercise:

https://facebook.github.io/react/docs/thinking-in-react.html

To watch the project for changes and launch an HTTP server, start the webpack server.

NOTE: Press Ctrl + C to quit the server.

npm Install
npm run start

Then, open the application in your default browser.

open http://localhost:3000/

Once everything is working, augment the user interface with the following React JSX.

  • Anchor tags
  • Image tags
  • List tags
  • CSS classes
  • Inline CSS styles
  • Attribute expressions
  • Child expressions

Here's an example of the sports ball user interface.

Bonus

Using your preferred ESLint rules, lint your project with the npm run lint . command.

Bonus

If you haven't already, inspect and debug your solution with the React Developer Tools. Make sure you understand the user interface's component hierarchy and its state.

Then, visit Codecademy's landing page and, using the React Developer Tools, see what changes can you make to this user interface's props and state values that'll cause the browser window to render a different DOM hierarchy.

Then, log into your Facebook account, if you have one, and see if you can figure out which component hierarchies are being reused on the timeline.

Finally, pick another React application and see what else you can uncover with your new x-ray vision.

Bonus

Once you're satisfied, find a classmate and see if that person would like some help.

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.