- Follow the instructions atop Odin’s Google Homepage project to setup a git repository for this project.
- Create a webpage with a 16x16 grid of square divs
- Best to put your grid squares inside another “container” div (that one can go directly in your html)
- There are several different ways to make the divs appear as a grid (versus just one on each line) feel free to use any or play with each of them:
- CSS Grid
- Be careful with borders and margins, they can adjust the size of the squares!
- “OMG, Why isn’t my grid being created???”
- Did you link your CSS stylesheet?
- Open your browser’s developer tools
- Check your “elements” pane to see if the elements have actually shown up but are somehow hidden.
- Go willy-nilly and add
- Set up a “hover” effect so that the grid divs change color when your mouse passes over them, leaving a (pixelated) trail through your grid like a pen would.
- Hint: “hovering” is what happens when your mouse enters a div and ends when your mouse leaves it. you can set up event listeners for either of those events as a starting point.
- There are multiple ways to change the color of the divs, including:
- adding a new class to the div
- Add a button to the top of the screen which will clear the current grid and send the user a popup asking for how many squares per side to make the new grid. Once entered the new grid should be generated in the same total space as before (e.g. 960px wide) and now you’ve got a new sketch pad. Tip: Set the limit for the user input to a maximum of 100. A larger number of squares results in more computer resources being used, resulting in possible delays, freezing, or crashing that we want to prevent.
- Also check out
- You should be able to enter
64and have a brand new 64x64 grid pop up without changing the total amount of pixels used
- (Optional): Instead of just changing the color of your grid from black to white (for example) have each pass through it with the mouse change to a completely random RGB value. Then try having each pass just add another 10% of black to it so that only after 10 passes is the square completely black.
- Push your project to GitHub!
The closest most people got to Pop Art in the 60s was the Etch-A-Sketch – a popular device that enabled you to make disposable black and white drawings on a television-like screen by twiddling two knobs. Portable esword 7.9.4. Drawing straight lines was easy, but curves were next to impossible. Consequently, most people’s Etch-A-Sketch creations tended to veer towards the ‘abstract’ side of things. Shop for Etch-A-Sketch in Sketch & Doodle Tablets. Buy products such as Etch A Sketch, Classic Red Drawing Toy with Magic Screen, for Ages 3 and Up at Walmart and save.
Etch A Sketchunblocked Everything Online
Online Etch A Sketch for your drawing needs!Use the UP/DOWN and LEFT/RIGHT arrow keys to draw. Etch A Sketch Freestyle is a modern twist on the classic toy where kids use the stylus to doodle thick or thin rainbow-colored lines and curves. PRODUCT FEATURES. Shake up & down & the Etch A Sketch Freestyle magically erases; Classic knobs on the original Etch A Sketch have been transformed into double-sided stampers.