Skip to content

Latest commit

ย 

History

History
74 lines (46 loc) ยท 1.59 KB

File metadata and controls

74 lines (46 loc) ยท 1.59 KB

Day 3 - Login Toggle UI ๐Ÿ”

This is Day 3 of my 30-Day React Relearning Journey. The focus of this project is to:

  • Practice conditional rendering in React
  • Use useState to toggle login status
  • Build a UI that changes based on the component state
  • Style dynamic states using Tailwind CSS

๐Ÿš€ What I Learned

โœ… How to use useState to track login state
โœ… How to apply conditional rendering using ternary operators
โœ… How to change component output and styling dynamically
โœ… Importance of managing simple boolean state in UI
โœ… Better understanding of real-world login flows


๐Ÿง  Tech Stack

  • React (JavaScript)
  • Vite
  • Tailwind CSS
  • Github
  • Vscode

๐Ÿ“ธ Preview

App Preview


๐Ÿ› ๏ธ Installation & Running Locally

git clone https://github.com/Qasim-Rokeeb/login-toggle-app.git
cd login-toggle-app
npm install
npm run dev

๐ŸŒ Deployment

This project is deployed on Vercel โ€” Live Link


๐Ÿ”ฎ What's Next?

Tomorrow (Day 4), Iโ€™ll learn about lifting state up by building a Two-Way Binding Form with shared parent-child communication.

Stay tuned!


๐Ÿ™‹โ€โ™‚๏ธ About Me


Made with ๐Ÿ’ป by Qasim Rokeeb