10000 GitHub - llanlan1/learningReact: Small project(s) to kickstart my learning in React
[go: up one dir, main page]

Skip to content

llanlan1/learningReact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 

Repository files navigation

learningReact

Small project(s) to kickstart my learning in React


Simple To-Do App πŸ“

A minimalist and responsive to-do list app built using React, TypeScript, and CSS Modules. Tasks are saved in the browser's localStorage so your list persists even after refreshing the page.


✨ Features

  • βœ… Add tasks using the input field or Enter key
  • βœ… Rejects tasks that are empty or contain only numbers/special characters
  • βœ… Shows an inline error message if the input is invalid
  • βœ… Delete tasks individually
  • βœ… Tasks persist using localStorage
  • βœ… Clean, responsive UI with custom styling using CSS Modules

πŸš€ Technologies Used


πŸ“¦ Getting Started

  1. Clone the repository

    git clone https://github.com/yourusername/todo-app.git
    cd todo-app
    
    
  2. Install dependencies

    npm install
  3. Run the app

    npm start
  4. Open http://localhost:3000 to view it in the browser.


🧠 Project Structure

src/
β”œβ”€β”€ App.tsx             # Main React component
β”œβ”€β”€ App.module.css      # Component-level styles using CSS Modules
└── index.tsx           # App entry point

πŸ“Œ Notes

  • The app uses a regex check to ensure that each task contains at least one letter. It won't accept inputs that are only numbers or special characters.
  • All tasks are stored in your browser's localStorage and will remain until manually cleared or deleted.

πŸ“„ License

This project is open-source and available under the MIT License.


πŸ™Œ Acknowledgements

Built with love using React & TypeScript πŸ’™


---

About

Small project(s) to kickstart my learning in React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0