Question: Using html5 and javascript/css Create a webpage which generates a series of small boxes, where the number of boxes is defined by a field (input

Using html5 and javascript/css

Using html5 and javascript/css Create a webpage which generates a series of

Create a webpage which generates a series of small boxes, where the number of boxes is defined by a field (input text box) on the webpage. . 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 box's margin (where the first box has margin-left 5px). For example, for 5 boxes your code might produce something like: Create a webpage which generates a series of small boxes, where the number of boxes is defined by a field (input text box) on the webpage. . 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 box's margin (where the first box has margin-left 5px). For example, for 5 boxes your code might produce something like

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!