Web Dev Project 2: Random Hexcode Generator and background color changer

Functionality:
This program generates a random hex color code and sets the text ‘Hexcode’ and the page’s background color to the randomly generated hex code. A new color code is generated when the ‘Click me’ button is clicked.

Technologies:

  1. HTML
  2. CSS
  3. Javascript
    1. .querySelector
    2. Javascript arrays
    3. .addEventListener
    4. Javascript Functions
    5. parseInt Function
    6. Math.random() Function
    7. .textContent
    8. element.style.backgroundColor

You can interact with the project on this link:
https://aarushi-nema.github.io/webDev002_change_background_hexcode/

You can find the code on this link:
https://github.com/aarushi-nema/webDev002_change_background_hexcode

Leave a Reply

PHP JS HTML CSS BASH PYTHON CODE

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close