Topic: HTML
8. Design a program that outputs 21 random numbers between 1 -1000. Display the numbers in an HTML table that is 3 columns wide and as many rows as needed. Your table borders need to be visible.
Modifications
- Modify the program to allow the user to set the column number of the table.
If random numbers do not complete the last row then fill in the empty spaces with cells with non-breaking spaces
- Modify the program to all the user to set the number of random numbers
- modify the program to allow the user to set the ending range
- modify the program to allow the user to set the starting range
See more
16. Write a script that asks the user for a number of elements. Then ask the user if they would like a ol or ul and generate the HTML to create the list with the specified number of elements.
See more
39. Gross Pay
Determine the gross pay of an employee. Accept two numbers from a form, and those numbers are hours worked and hourly wage. If the number of hours is over 40, then the pay is time and half. Output the weekly gross pay of an employee.
See more