/fm-todo-app-react-api

Frontentmentor Challenge Todo app challenge hub build with React, Tailwind, Storybook and an external API.

Primary LanguageJavaScriptMIT LicenseMIT

Frontend Mentor - Todo app solution

This is a solution to the Todo app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Add new todos to the list
  • Mark todos as complete
  • Delete todos from the list
  • Filter by all/active/complete todos
  • Clear all completed todos
  • Toggle light and dark mode
  • Bonus: Drag and drop to reorder items on the list

Screenshots

Login Desktop Light Desktop Dark Mobile Light Mobile Dark

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React
  • Storybook

What I learned

React has not scoped css styles. For that reason you should use styled components or a css framework to create component classes.

That a build react app cant be hostet with the default settings of the vscode plugin live-server. You should use serve in the terminal instead. Also to host the app on github pages follow this article How to host react app on github pages.

Useful resources

Author