Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

React Todo App

react
Ibrahim Ali•80
@Ibrahimali2020
A solution to the Todo app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


React Todo App

  • This is a simple Todo App built using React.js. It allows users to manage their tasks efficiently.
  • I did this challenge using React.js. I'll add more features to it as soon as I finish learning React.
  • I didn't create a custom checkbox because my purpose is to practice my React skills.
  • More features to add later such as dark/light mode, linked to a db, etc.

Functionality

The Todo App provides the following features:

  1. Create a Todo:

    • Users can add new tasks to the list by entering a description and clicking the "Add" button.
  2. View a List of All Tasks:

    • The app displays a list of all the tasks with their completion status.
  3. Mark Tasks as Completed:

    • Users can mark a task as completed by clicking a checkbox next to the task description.
  4. Filter Tasks by Completion Status:

    • There are options to filter tasks by All, Completed, or Active (not completed).
  5. Delete Tasks:

    • Users can delete a task by clicking a delete button next to the task.

Links

  • Live Site URL: Live site URL

Technologies Used

  • React.js: A JavaScript library for building user interfaces.

  • JavaScript: The programming language used for the app's logic.

  • CSS: Styling for the user interface.

  • HTML: The structure of the web page.

Author

  • Frontend Mentor - @Ibrahimali2020
  • Twitter - @Ibrahim2016egy
Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Ibrahim Ali's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

How does the accessibility report work?

When a solution is submitted, we use axe-core to run an automated audit of your code.

This picks out common accessibility issues like not using semantic HTML and not having proper heading hierarchies, among others.

This automated audit is fairly surface level, so we encourage to you review the project and code in more detail with accessibility best practices in mind.

How does the CSS report work?

When a solution is submitted, we use stylelint to run an automated check on the CSS code.

We've added some of our own linting rules based on recommended best practices. These rules are prefixed with frontend-mentor/ which you'll see at the top of each issue in the report.

The report will audit all CSS, SCSS and Less files in your repository.

How does the HTML validation report work?

When a solution is submitted, we use html-validate to run an automated check on the HTML code.

The report picks out common HTML issues such as not using headings within section elements and incorrect nesting of elements, among others.

Note that the report can pick up “invalid” attributes, which some frameworks automatically add to the HTML. These attributes are crucial for how the frameworks function, although they’re technically not valid HTML. As such, some projects can show up with many HTML validation errors, which are benign and are a necessary part of the framework.

How does the JavaScript validation report work?

When a solution is submitted, we use eslint to run an automated check on the JavaScript code.

The report picks out common JavaScript issues such as not using semicolons and using var instead of let or const, among others.

The report will audit all JS and JSX files in your repository. We currently do not support Typescript or other frontend frameworks.