Skip to content

About

Simple JavaScript DOM project to add two numbers dynamically using user input.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation


🔢 Simple Addition Web App (JavaScript DOM)

📌 Project Overview

This is a basic web application that performs addition of two numbers using HTML + JavaScript (DOM manipulation). It takes user input, processes it, and displays the result instantly.


🚀 Features

  • User-friendly input fields
  • Real-time addition using JavaScript
  • DOM manipulation for dynamic output
  • Simple and beginner-friendly project

🛠️ Technologies Used

  • HTML
  • JavaScript (DOM)

📂 Project Structure

📁 Project Folder
 └── index.html

📸 How It Works

  1. Enter two numbers in the input fields
  2. Click the Add button
  3. The result will be displayed instantly

💻 Code Explanation

  • Uses getElementById() to access input fields
  • Converts input values to numbers using Number()
  • Performs addition
  • Displays result in output field

▶️ How to Run

  1. Download or clone the repository
  2. Open index.html in any browser
  3. Start using the app

🎯 Use Case

  • Beginner JavaScript practice
  • Understanding DOM manipulation
  • Learning event handling

📈 Future Improvements

  • Add subtraction, multiplication, division
  • Improve UI with CSS
  • Add input validation
  • Convert into a calculator app

About

Simple JavaScript DOM project to add two numbers dynamically using user input.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages