Code Monkey home page Code Monkey logo

class27-react-test's Introduction

React Test

The test is to rebuild the following application:

http://hyf-react-test.herokuapp.com/

How to start

  1. Make a fork of this repository to your personal account
  2. Clone the fork to your local machine
  3. Navigate to the folder class27-react-test
  4. Execute npm install in the root of the folder
  5. Get started with building!

The requirements

  • Create and use at least 3 reusable functional components
  • Make use of React hooks: at least useState
  • Every time a user clicks on the button, it should fetch new users
  • Use the following API: https://randomuser.me/api/?results=5
  • Add a loading state when the data is fetching (find a loading spinner by Googling)
  • Add an error message in the UI if something went wrong

Duration

This test will last 2 hours.

How to submit your test

  1. Push your code to your forked repository
  2. Deploy your test on Netlify
  3. Make a pull request to the original repository, with a message like: React Test <YOUR_NAME>. Include the link to the deployed application URL

Tips:

  1. Whatever you do, stay calm!
  2. Split the problem up into smaller pieces
  3. If something is too difficult, move on to the next thing

Good luck!

class27-react-test's People

Contributors

noergitkat avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.