I finally suffered from the I do not have enough projects for my portfolio syndrome and started embarking on a project-based learning journey. To make things simple, this means learning as you build projects. The first project is what you see in this repo.
I'll be composing my projects into a single portfolio soon, but for now, you can check the app on GitHub Pages.
These features are somewhat the backbone of the functionality here:
- Error Handling for Incorrect City Names: If you input a wrong city name, it will inform you that the city name is incorrect. This feature helps improve your spelling of certain cities.
- Empty Input Handling: If you submit an empty input when searching for weather, the app will notify you.
- Dynamic Images: Images change according to the weather. Currently, we have images for clear skies, clouds, rain, drizzle, and mist.
- Dark Mode and Light Mode: Straightforward theme switching between dark mode and light mode.
- Enhanced Search Functionality: Implementing features to avoid incorrect city names.
- Autofocus and Greeting: Adding autofocus to the input field with a greeting text along with the user's name.
- Time-based Images: Changing images according to the time of day.
- Persistent Dark/Light Mode: Using cookies to remember user preferences for dark mode or light mode.
Most of these improvements will be achieved using cookies. I'm hoping this will be interesting.