Skip to content

Antonio-Riccelli/pixel_art_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel Art Maker

See it here


Description

Created using HTML, CSS and vanilla JS.

This was my first experiment in understanding how to modify the DOM using JS.

User can manually input grid height and width via a form, whose input is then "grabbed" by a JS function to create an HTML table via two nested for loops (height/column, width/row).

User chooses a color from the color picker, which can then be used to "click" the cell and give it the corresponding background color.

demo