Skip to content

sandeepdotcode/etch-a-sketch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Etch-A-Sketch

Project from The Odin Project Curriculum

What I learned:

By doing this project, I learned

  • Manipulate DOM tree and dynamically create html elements(creating the square divs in the sketchpad)
  • Toggling classes in a node
  • Using eventlisteners by adding eventlisteners to divs to change color and buttons to select mode, color, etc.

Preview:

Preview

Features to be added in future:

  • Eraser mode
  • Drawing starts only after a 'single-click'
  • Shader mode - each pass just add or remove 10% of alpha value
  • Option to turn borders on or off
  • Button to fill color