Skip to content

DJsuhas/javascript-utility-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Utility Scripts

This repository contains a collection of beginner-friendly JavaScript utility scripts that demonstrate basic DOM manipulation and interactive web features.

These scripts are useful for learning core JavaScript concepts and building simple web applications.


Project Structure

project-folder │ ├── index.html ├── script.js ├── calculator.js ├── time.js ├── validation.js ├── counter.js ├── darkmode.js └── README.md


Features

This project includes the following JavaScript functionalities:

Button Click Interaction

Updates text on the webpage when a button is clicked.

Simple Calculator

Performs addition of two numbers entered by the user.

Digital Clock

Displays the current system time and updates every second.

Form Validation

Checks whether required fields are filled before submitting a form.

Counter Application

Allows incrementing and decrementing a number using buttons.

Dark Mode Toggle

Switches the webpage theme between light mode and dark mode.


Technologies Used

  • HTML5
  • JavaScript (Vanilla JS)
  • CSS (optional for styling)

How to Run the Project

  1. Clone the repository

git clone https://github.com/USERNAME/REPOSITORY_NAME.git

  1. Navigate to the project folder

cd REPOSITORY_NAME

  1. Open the index.html file in your browser.

Learning Objectives

This project helps beginners understand:

  • DOM Manipulation
  • Event Handling
  • Functions in JavaScript
  • Basic UI Interactions
  • Real-time updates using setInterval

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors