Week 6 - Task 1
Colored boxes
Make 4 boxes (HTML) with a fixed width and height (CSS)
Each box should have a a border (CSS)
Each box should have a different background color (CSS)
Each box should have rounded corners (CSS)
Make a "clear" button (HTML)
Make an output section (HTML)
Functionality:
When you press a box, add the color of the box to an array and output all values of the array to the output section.
When you press the "clear" button, the array should be emptied.
Example of how a solution might look like:
GIF