51 lines
1.8 KiB
Markdown
51 lines
1.8 KiB
Markdown
|
---
|
||
|
id: 5a5d02bd919fcf9ca8cf46cb
|
||
|
title: Build a Light-Bright App
|
||
|
challengeType: 3
|
||
|
isRequired: false
|
||
|
---
|
||
|
|
||
|
## Description
|
||
|
<section id='description'>
|
||
|
<strong>Objective:</strong> Build a <a href='https://codepen.io' target='_blank'>CodePen.io</a> app that is functionally similar to this: <a href='https://codepen.io/freeCodeCamp/full/eyLYXE' target='_blank'>https://codepen.io/freeCodeCamp/full/eyLYXE</a>.
|
||
|
<strong>Rule #1:</strong> Don't look at the example project's code. Figure it out for yourself.
|
||
|
<strong>Rule #2:</strong> Fulfill the below <a href='https://en.wikipedia.org/wiki/User_story' target='_blank'>user stories</a>. Use whichever libraries or APIs you need. Give it your own personal style.
|
||
|
<strong>User Story:</strong> I can click or drag the mouse cursor to color the circles.
|
||
|
<strong>User Story:</strong> I can double-click on a colored circle to remove the color.
|
||
|
<strong>User Story:</strong> I can click on a colored circle to change its color.
|
||
|
<strong>User Story:</strong> I should get a circle of different color on each click.
|
||
|
<strong>User Story:</strong> I can click on the 'Reset' button to remove the recent color.
|
||
|
<strong>User Story:</strong> I can click on the 'Reset All' button to remove all the colors from the circles.
|
||
|
Remember to use <a href='http://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask</a> if you get stuck.
|
||
|
When you are finished, click the "I've completed this challenge" button and include a link to your CodePen.
|
||
|
You can get feedback on your project by sharing it with your friends on Facebook.
|
||
|
</section>
|
||
|
|
||
|
## Instructions
|
||
|
<section id='instructions'>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Tests
|
||
|
<section id='tests'>
|
||
|
|
||
|
```yml
|
||
|
tests: []
|
||
|
|
||
|
```
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Challenge Seed
|
||
|
<section id='challengeSeed'>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Solution
|
||
|
<section id='solution'>
|
||
|
|
||
|
```js
|
||
|
// solution required
|
||
|
```
|
||
|
</section>
|