Skip to content
Avatar
Eskabore/README.md

Color Switcher

About

Get a random color by pressing on the "CLICK ME" button and moddify the background color.

Content

JavaScript :

  • Functions "getRandomNumber" to randomly select & call elements from a designated array.
function getRandomNumber() {
   return Math.floor(Math.random() * hex.length)
}
  • Button click function allowing a random value to display, always different from the previous.

HTML :

  • HTML5
  • Nesting

CSS:

  • Properties
    • align-items
    • flex
    • grid
    • ":before & :after" (pseudo-properties)
  • Functions
    • calc() : Allows to perform calculations to determine CSS property values
    • var() : Inserts the value of a custom property
  • Colors
  • Button
    • Cursor
  • Border definition
  • Background color

Pinned

  1. Forked from developerforce/trailhead-code-samples

    Public code samples to support Trailhead challenges

    Apex

  2. Main Template

    Website project implementing miscellaneous techniques and methods in order to qualitatively optimize ongoing and forthcoming projects.

    HTML

  3. Liko-app Template

    JavaScript 1

71 contributions in the last year

Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Mon Wed Fri
Activity overview
Contributed to Eskabore/Liko-app, Eskabore/Main, Eskabore/kraken_repo and 5 other repositories

Contribution activity

November 2020

Created 2 repositories

Created a pull request in jlord/patchwork that received 1 comment

commit message

+1 −0 1 comment

Seeing something unexpected? Take a look at the GitHub profile guide.

You can’t perform that action at this time.