{"id":17681557,"url":"https://github.com/epoch/quiz","last_synced_at":"2025-09-19T22:38:50.865Z","repository":{"id":138803234,"uuid":"86268732","full_name":"epoch/quiz","owner":"epoch","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-28T14:26:24.000Z","size":1,"stargazers_count":0,"open_issues_count":15,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T19:49:30.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epoch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-26T22:17:35.000Z","updated_at":"2017-03-26T22:17:35.000Z","dependencies_parsed_at":"2024-05-30T17:04:22.821Z","dependency_job_id":null,"html_url":"https://github.com/epoch/quiz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epoch/quiz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epoch%2Fquiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epoch%2Fquiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epoch%2Fquiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epoch%2Fquiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epoch","download_url":"https://codeload.github.com/epoch/quiz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epoch%2Fquiz/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262213045,"owners_count":23276037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-24T09:11:28.961Z","updated_at":"2025-09-19T22:38:45.812Z","avatar_url":"https://github.com/epoch.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pixart\n\nUse the starter code and commit each step of the exercise.\n\n- Fork and clone this repo.\n- Checkout a new branch called '**YOUR-NAME**-solution'\n- Work in small steps and commit frequently.\n- When you're finished, push your solution branch to your fork (`git push origin \u003cbranch-name\u003e`) and issue a **pull request**.\n- Feel free to use jQuery.\n\n### Commit 1\n\n* When I click the \"Set Color\" button, it should change the color of the \"brush\" box to the color I specify in the input field.\n* Use jQuery to select the element and add an event listener\n\n\u003e **HINT:** You will notice that the page refreshes whenever you click the button. You need to prevent this from happening using a method you have not used before. Google \"javascript event prevent default\". You can also reference [this portion](https://github.com/ga-wdi-lessons/js-events-callbacks#event-defaults-405---410-5-minutes) of the Events \u0026 Callbacks lesson plan.\n\n### Commit 2\n\n* The same thing should happen when I press the enter key from inside the input field\n\n### Commit 3\n\n* Create 20 divs of the \"square\" class and append them to the body\n  * **Hint**: use `.append()`\n\n### Commit 4\n\n* Add functionality so that when I click on each \"square\", it changes the color of that individual square to \"green\"\n  * **Hint**: either add the event listener while creating the squares, or listen for events on the `body` element\n\n### Commit 5\n\n* Modify your code so that when I click on each \"square\", it changes to the color I set using my input instead of \"green\" every time.\n\n### Commit 6\n\n* Modify the CSS so that the \"square\" class has a height and width of 10px and a margin of 0.\n* Change the event that changes your box colors from 'click' to 'mouseover'\n\n### Commit 7\n\n* Add a color swatch. You should have 3 boxes with the most recent 3 colors used. When you click on each of those boxes, it should set the current brush color back to that color.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepoch%2Fquiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepoch%2Fquiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepoch%2Fquiz/lists"}