Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

JS_Projects

🧠 Basic JavaScript DOM Manipulation Projects

This repository contains 4 beginner-friendly JavaScript projects focused on learning and applying DOM (Document Object Model) manipulation. Each project is built using HTML, CSS, and Vanilla JavaScript.

These projects are ideal for practicing how JavaScript interacts with webpage elements in real-time.


🚀 Projects Overview

  1. Color Changer

    • Click buttons to change the background color of the page.
    • Learn how to use querySelector, querySelectorAll, addEventListener, and style properties.
  2. BMI Generator

    • Input height and weight to calculate and display Body Mass Index (BMI).
    • Practice with form inputs, calculations, and dynamic DOM updates.
  3. Digital Clock

    • Display real-time clock with hours, minutes, and seconds updating every second.
    • Learn about setInterval() and dynamic text rendering in the DOM.
  4. Image Slider

    • Switch between multiple images using buttons or auto-play.
    • Use src manipulation and basic logic to cycle through an image array.
  5. Guess The Number

    • Enter a number to guess a randomly generated secret number.
    • Use conditionals and user input to give feedback and reset the game.

🛠️ Technologies Used

  • HTML5 for structure
  • CSS3 for basic styling
  • JavaScript (ES6) for functionality

🧰 What You'll Learn

  • Selecting DOM elements (getElementById, querySelector, etc.)
  • Handling events (click, input, etc.)
  • Updating styles dynamically
  • Manipulating attributes and inner content
  • Writing cleaner and modular JavaScript code

💡 How to Use

  1. Clone the repository:

    git clone https://github.com/your-username/js

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages