Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.27 KB

File metadata and controls

39 lines (27 loc) · 1.27 KB

Simple Web Development Tasks for Beginners

This repository contains three simple web development tasks using HTML, CSS, and JavaScript. These exercises will help beginners build logic and get comfortable with front-end development.

1️⃣ Task 1: Click to Change Background Color

Description:

Create a button that changes the background color of the webpage when clicked.

Steps:

  1. Create an HTML file with a button.
  2. Use CSS to style it.
  3. Use JavaScript to generate a random color and apply it to the background when clicked.

2️⃣ Task 2: Simple To-Do List

Description:

Create a simple to-do list where users can add tasks and remove them by clicking.

Steps:

  1. Create an input box and a button.
  2. When the button is clicked, get the input value and add it as a new list item.
  3. Allow tasks to be removed by clicking on them.

3️⃣ Task 3: Show/Hide Password

Description:

Create an input field for a password with a button to toggle visibility.

Steps:

  1. Create an input type="password" and a button.
  2. When the button is clicked, change the input type to text or password.
  3. Update the button text accordingly.

Note : Do not use Chat gpt and other AI tools to solve and complete the task no. 1