DEV Community

Cover image for Play together in Etch-a-Sketch
Oksana.Kolisnyk.22y.0
Oksana.Kolisnyk.22y.0

Posted on

1 1

Play together in Etch-a-Sketch

This web development project,
inspired by The Odin Project's Etch-A-Sketch assignment,

focuses on creating a dynamic grid of square divs
using JavaScript for DOM manipulation.

The project requirements include implementing a hover effect to change the appearance of squares as the mouse moves over them, and adding a clear button to reset the grid and prompt the user for a new grid size.

The layout utilizes Flexbox and CSS Grid for element arrangement, with attention to centering elements and ensuring proper sizing of the grid container.

JavaScript functions handle grid creation, hover effects, and grid reset functionality.

Additional styling enhancements were made to improve the project's visual appeal.

Key Features:

  1. Dynamic grid generation based on user input
  2. Hover effect to change square appearance
  3. The clear button to reset the grid
  4. Responsive layout using Flexbox and CSS Grid
  5. JavaScript functions for grid manipulation

Overall, the project provides a hands-on opportunity to practice DOM manipulation, event handling, and responsive web design techniques, making it an engaging learning experience for web development beginners.

I want to share with you my work:
my Live Demo Code
my GitHub Code

Thanks for reading😊

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay