Question: Using CSS HTML and JavaScript (no JQuery!) Create a Web page which generates a series a of small boxes, where the number of boxes is

Using CSS HTML and JavaScript (no JQuery!)

Create a Web page which generates a series a of small boxes, where the number of boxes is given by the user via a text input box.

Sets the background of each box to a random colour (you can use the rgb format of CSS colours);

Sets the margin-left of each box to be double the previous boxs margin (where the first box hasmargin-left5px)

Boxes should queue in one line.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!