Skip to content

itsnehakv/JavaScript-Mini-Projects

Repository files navigation

JavaScript Mini Projects

This repository contains five mini JavaScript projects designed to help practice and demonstrate core JavaScript skills like DOM manipulation, event handling, and string/array operations.


Technologies Used

Languages
JavaScript HTML5 CSS3

IDE
Visual Studio Code


Projects Included

1. Color Flipper

  • Changes the background color of the page.
  • Dedicated buttons to switch to red, green, yellow, or a random color.
  • Demonstrates usage of DOM manipulation and event listeners in JavaScript.

2. Palindrome Checker

  • Checks if the input string is a palindrome (reads the same forwards and backwards).
  • Provides user input and alerts the result.
  • Clears input after checking.

3. Random Quote Generator

  • Displays a random quote from a predefined list.
  • Updates the quote dynamically on button click.
  • Ensures no immediate repeats until all quotes are used.
  • Clears used quotes once all have been shown, starting fresh.
  • Shows how to work with arrays and randomization in JS.

How to Use

  1. Clone or download this repository.
  2. Open the HTML file of the project you want to try in your browser.
  3. Use the UI to interact with the project.

Releases

No releases published

Packages

No packages published