Skip to content

Latest commit

 

History

History
97 lines (66 loc) · 3.87 KB

README-template.md

File metadata and controls

97 lines (66 loc) · 3.87 KB

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

Screenshot

Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.

Alternatively, you can use a tool like FireShot to take the screenshot. FireShot has a free option, so you don't need to purchase it.

Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.

Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.

Links

My process

Built with

Note: These are just examples. Delete this note and replace the list above with your own choices

What I learned

I learned how to use styled components. Using this library is helping me to understand how to really make shared components. Also, the styled theming library was useful to switch over themes with no css variables, but I think it could be easier to use them with specific classes for theming.

Continued development

Use this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect.

Useful resources

Author

Acknowledgments

I've learned about how to show or hide a component by hovering its parent. In react, I set a list for all registered tasks. Active states of this project require to show the delete button (cross button) only by hovering the parent task. To do that, was necessary to separate, individually, the task component, so each task should be treated with its own hover state.

I was helped by reading this on stackoverflow