Git Product home page Git Product logo

etchasketch's Introduction

Etch-a-Sketch

Live https://godnoken.github.io/etchasketch

Etch-a-Sketch overview

Note: I will have abused the DOM by writing more or less nothing in pure HTML. The reason behind this is to practice DOM manipulation and won't be seen in future projects.

What will I make;

"Etch-a-Sketch" project according to TheOdinProjects rules found here: https://www.theodinproject.com/paths/foundations/courses/foundations/lessons/etch-a-sketch-project

What I will learn;

More DOM manipulation, JavaScript and CSS.

How will I do it;

Note: The pseudocode underneath was for the MVP of the Odin project. Regrettably no pseudocode was written for the extra features.

Initialize a 16x16 square grid as a div called "squareGrid" using CSS Grid and append it to the body Add id "squareGrid"

Initialize divs inside the container with a loop Add an event listener change the div(s) background color on hover

Initialize a button that clears the entire grid when clicked Add a prompt that asks the user for how many squares they want for their new grid. Limit at 40 for performance Add a function that reads the user's input and creates a new grid in the same space as the previous one

etchasketch's People

Contributors

godnoken avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.