Giter Site home page Giter Site logo

jvsoarez / project-pixels-art Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 358 KB

Project made in the Trybe course. Module 1 (web development fundamentals) - block 5: JS - DOM, events and web storage

Home Page: https://jvsoarez.github.io/project-pixels-art/

HTML 15.05% JavaScript 66.43% CSS 18.52%
css html javascript

project-pixels-art's Introduction

Project Pixels Art

Block 05 Project: JavaScript - DOM, Events and Web Storage

๐Ÿ‘‹ Hello, guys! This is a pixel art project, where we can paint pixels with the selected color, expand the frame size, clear a pixel or the entire frame, among other functions. In this project i practice the use of the conventional commits to version control.

๐Ÿ“ Here I use HTML, pure CSS and JavaScript for pratice the skills:

  • DOM manipulation.
  • JavaScript manipulation
  • Use CSS properties
  • Write HTML tags

๐Ÿ“– The project requirements were:

  1. Add to page the title "Paleta de Cores" โœ”๏ธ
  2. Add to page a palette that contains four different colors โœ”๏ธ
  3. Add black color as the first color in the palette โœ”๏ธ
  4. Add a pixel board to the page, with 25 pixels โœ”๏ธ
  5. Make each pixel board element have 40 pixels wide, 40 pixels high, and enclosed by a 1-pixel black border โœ”๏ธ
  6. Set black color as initial color. When loading the page, the black color must already be selected to paint the pixels โœ”๏ธ
  7. Clicking on one of the colors in the palette selects it and uses it to fill the pixels in the board โœ”๏ธ
  8. Clicking on a pixel within the frame after selecting a color from the palette causes the pixel to be filled with the selected color โœ”๏ธ
  9. Create a button that, when clicked, clears the board by filling the color of all its pixels with white โœ”๏ธ
  10. Make the pixel board have its user defined size โœ”๏ธ
  11. Limit the minimum and maximum board size โœ”๏ธ
  12. Make the palette colors randomly generated when the page loads โœ”๏ธ

๐Ÿ”— Deploy here

๐Ÿ™๐Ÿฝ Thanks for viewing this repository!

project-pixels-art's People

Contributors

jvsoarez avatar jeanpsv avatar anabergerr avatar ellensaints avatar

Watchers

 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.