This repository contains two useful web applications built using HTML, CSS, and JavaScript:
- 🌤️ Weather Forecast App
- ✅ Form Validation
These projects are fully functional and designed to run locally in your browser with no external frameworks or hosting needed.
A sleek and responsive weather forecast app that shows real-time weather information based on city input.
- Search weather by city name
- Fetches real-time data using a public weather API (OpenWeatherMap)
- Displays temperature, weather condition, humidity, and wind speed
- Clean and modern UI
- Responsive design
- User enters a city name.
- JavaScript fetches weather data from the API.
- The UI updates dynamically to show the results.
- Download or clone the repository.
- Open
index.htmlin your browser. - Enter a city name and view the weather forecast.
⚠️ Note: You may need to insert your own API key from OpenWeatherMap or another provider in the JavaScript file.
A client-side form validation demo that checks user inputs before form submission.
- Validates fields like:
- Name (non-empty, min length)
- Email (valid format)
- Password (length, match, strength)
- Real-time feedback with error messages
- Simple and clean user interface
- Fully done with vanilla JavaScript
- JavaScript listens to form events and validates each input.
- Prevents submission if any field is invalid.
- Shows helpful error messages near the respective input fields.
- Download or clone the repository.
- Open
index.htmlin your browser. - Fill in the form and see real-time validation in action.
- HTML5
- CSS3
- JavaScript (Vanilla)
- (Weather App uses Fetch API for HTTP requests)