Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Styling A Dynamic Grid Using JavaScript, any hints, suggestions and comments are welcome thank you in advance

Tasks

Follow the hints on grid.js to create the "Create Grid" function.

Dynamically create a grid when the "CREATE GRID" button is clicked.

Follow the hints in grid.js to create the move and toggle functions. Both of them work together to dynamically create the grid cells turning orange.

Dynamically apply style when the "MOVE" button is clicked.

Follow the hints in grid.js to create the toggle function.

Set the class name of a particular grid cell to on Check styles.css for the .on class

this is what i have done so far:

Snapshot: https://w.trhou.se/eu4inidiaw