Code Monkey home page Code Monkey logo

frontend-developer-technical-test-react's Introduction

Frontend Developer Technical Test - React

Objective

Your task is to create a simple React component that fetches, displays, edits, and deletes a list of todos from the JSONPlaceholder API.

Requirements

  1. Fetch Todos:

    • Use the JSONPlaceholder API to fetch todos. API Endpoint: https://jsonplaceholder.typicode.com/todos
    • You can use native fetch API, Axios, or any other HTTP client you are comfortable with.
    • API Documentation: JSONPlaceholder API
  2. Display Todos:

    • Render the fetched todos in a list. Each list item should display the todo's title and completion status.
    • Ensure the list is readable and user-friendly.
  3. Edit and Delete Todos:

    • Implement functionality to edit the title of a todo.
    • Add a feature to delete a todo from the list.
    • Note: Since JSONPlaceholder API does not support persistent changes, simulate these actions in the front end.
  4. Error Handling:

    • Implement basic error handling for the API request.
  5. Code Organization:

    • Structure your code in a clean and logical manner.
    • Include comments where necessary to explain your logic.

Submission Guidelines

  • Complete this task within 1 hour.
  • Fork this repository and push your code to your fork.
  • Once you are done, submit the link to your repository.

Evaluation Criteria

  • Functionality: The application works as intended, including editing and deleting tasks.
  • Code Quality: Clean, organized, and commented code.
  • Understanding of React concepts: Proper use of state, lifecycle methods, etc.

Additional Resources

  • Feel free to use any documentation or resources available online, including:
    • React Documentation: React Docs
    • Online forums like Stack Overflow.
    • Google for any programming-related queries.

Good luck!

frontend-developer-technical-test-react's People

Contributors

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