Skip to content

About

Beginner JavaScript practice programs exploring variables, control flow, user input handling, and DOM interaction.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🌐 JavaScript Practice Programs

JavaScript Focus Status

Beginner JavaScript practice examples and foundational exercises implemented using internal scripts within HTML files.


📂 Project Structure

Java-Script/
├── Internal js/
│   ├── 001_hello.html
│   ├── 002_Calculate_Percentage.html
│   ├── 003_addOf2.html
│   ├── 004_login_system.html
│   ├── 005_name_age.html
│   ├── 006_name.html
│   ├── 007_take_add2.html
│   └── 008_calulate_salary.html
├── .gitignore
└── README.md

📋 Program Index

File Topic / Description Concepts Used
001_hello.html Hello World Basic JavaScript syntax, document.write()
002_Calculate_Percentage.html Subject Marks & Percentage Calculator prompt(), Number() casting, arithmetic operations, multi-variable handling
003_addOf2.html Static Addition of Two Numbers Variable declaration (let), addition operator
004_login_system.html Basic Login Authentication System Nested if...else statements, string comparison, input validation
005_name_age.html User Information Input & Display Taking string & numeric inputs, formatting output
006_name.html Student Details Profile Variables, string concatenation, HTML line breaks (<br>)
007_take_add2.html Dynamic Addition of Two Numbers User input via prompt, type conversion with Number(), summation
008_calulate_salary.html Net Salary Calculator Basic salary input, allowance and deduction formulas

💡 Key Topics Covered

  • Variables & Declarations: let
  • User Interaction: prompt() for user input
  • Output: document.write() with HTML tags
  • Data Types & Type Conversion: Strings, Numbers, Number() function
  • Operators: Arithmetic (+, -, *, /), Assignment (=), Comparison (==)
  • Control Flow: Conditional statements (if, else, nested if)

🚀 How to Run

  1. Clone the repository:
    git clone https://github.com/lakshyakurvey19-code/Java-Script.git
  2. Navigate into the directory:
    cd "Java-Script/Internal js"
  3. Open any .html file in your browser, or use the Live Server extension in VS Code.

👨‍💻 Author & Connect

Lakshya Kurvey
B.Tech Information Technology Student
Shri Shankaracharya Institute of Professional Management & Technology (SSIPMT), Raipur
GitHub: @lakshyakurvey19-code
LinkedIn: Lakshya Kurvey

About

Beginner JavaScript practice programs exploring variables, control flow, user input handling, and DOM interaction.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages