Skip to content

Latest commit

 

History

History
109 lines (79 loc) · 3.47 KB

README-template.md

File metadata and controls

109 lines (79 loc) · 3.47 KB

Todo app solution

This is a solution to the Todo app challenge.

Table of contents

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

Links

My process

Built with

  • Semantic HTML5 markup

  • CSS custom properties

  • Flexbox

  • CSS Grid

  • Mobile-first workflow

  • React - JS library

  • Next.js - React framework

  • Styled Components - For styles

  • Tailwind CSS: A utility-first CSS framework used for rapid and efficient styling. It streamlines the styling process with pre-defined utility classes, allowing for quick and consistent design implementation.

  • Development Workflow: The project follows a mobile-first workflow, ensuring that the design is initially optimized for mobile devices and progressively enhanced for larger screens. This approach contributes to a more responsive and user-friendly application.

Feel free to explore the codebase to gain insights into the implementation details and the integration of these technologies. If you have any questions or suggestions, please don't hesitate to reach out.

What I learned

-Installing Tailwind CSS with Vite. A useful resource is:

-Installing React icons. A useful resource is:

<h1>Some HTML code I'm proud of</h1>
.bg-mobile_img {
  background-image: url('./assets/images/bg-mobile-light.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
import'./cssFile.css'

Apply in tailwind classes

<div className = 'bg-mobile-image min-h-screen'></div>

-Adding focus to an element on interaction with it using Tailwind e.g clicking

<button className = 'bg-gray-500 focus:bg-blue-300'>All</button>

Continued development

I will keep practising styling with Tailwind as it is very flexible and fluid.

Author

Acknowledgments

-Wilson Siaw - wilsonsiaw