Java Script Assignment

✅ Assignment 1: Simple Calculator (HTML + JS)

Level: Beginner
Task:
Create a calculator that performs:

  • Addition
  • Subtraction
  • Multiplication
  • Division

Take input from text fields and show the result on button click.


✅ Assignment 2: To-Do List App

Level: Beginner – Intermediate
Task:
Create a to-do list application with the following features:

  • Add tasks
  • Delete tasks
  • Mark tasks as completed
  • Save tasks in browser localStorage

✅ Assignment 3: Form Validation Project

Level: Beginner – Intermediate
Task:
Make a registration form that validates:

  • Name (not empty)
  • Email (proper format)
  • Password (min 6 characters)
  • Mobile number (10 digits)

Show error messages using JavaScript.


✅ Assignment 4: Digital Clock

Level: Beginner
Task:
Create a live digital clock that updates every second:

  • Hours
  • Minutes
  • Seconds
  • AM/PM

Use setInterval() for updates.


✅ Assignment 5: Weather App (API Project)

Level: Intermediate
Task:
Create a weather application that:

  • Takes a city name as input
  • Fetches real-time weather using OpenWeather API
  • Displays:
    • Temperature
    • Humidity
    • Weather condition
    • Weather icon

Use fetch() to call the API.

Leave a Comment

Your email address will not be published. Required fields are marked *