Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
/ etch-a-sketch Public archive

The Odin Project - Etch a Sketch Assignment

Notifications You must be signed in to change notification settings

andreaiaia/etch-a-sketch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

etch-a-sketch

From The Odin Project's curriculum

Instructions

First create a web-page with a 16x16 grid of square divs; the divs should be made in javascript, no html and they should be inside another div (this I can do in html). Once the grid is all set up, make a hover animation that changes color to the divs when you hover with your mouse on them, the changed color have to remain even after the mouse moved away from the div. Last but not least, put a button that erase the board and asks the user to input the number of squares per side the new grid should be (the space occupied should be the same - 960px). Bonus: make the color change to a completely random rgb value instead of gradations of black.

Skill acquired at the end of the project

By the end of this project I should have learned:

  • How to create and remove elements in the DOM with js
  • How to style elements with js
  • How to make and use buttons
  • How to use the Random() module to pick random colors

View in Browser

About

The Odin Project - Etch a Sketch Assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published