/BG-Changer

1º project of a series of projects to train vanilla JS.

Primary LanguageJavaScript

Color Changer Project

This is a mini project built with vanilla HTML, CSS, and JavaScript. It allows you to change the background color of an element dynamically.

Description

This project demonstrates how to dynamically change the background color of an element using JavaScript. It generates random RGB values and applies them as the background color when a button is clicked.

Features

  • Generates random RGB values for the background color.
  • Updates the background color of an element on button click.
  • Provides a simple example of DOM manipulation with JavaScript.

How to Use

  1. Open https://dvzzdev.github.io/BG-Changer/ in your browser.
  2. Click the "Change Color" button to see the background color change.

Technologies Used

  • HTML
  • CSS
  • JavaScript (vanilla)