Question: Please use View/Complete Assignment link in BeachBoard to submit your files. You should zip html, js and css files into a single file with name

Please use View/Complete Assignment link in BeachBoard to submit your files. You should zip html, js and css files into a single file with name ql.zip. (90 points for input validation) Write the JavaScript code to take an input number (using prompt0 method), and validate the number. The valid number should be between 5 and 20. If the number is below 5 or beyond 20, print an error message in red color: "the valid input is a number between 5 and 20, please refresh your page to start again" (30 points for table print) If the input is 12, the table in the web page is as the following. You should use JavaScript loop statement (such as for or while loop) to print the table (30 points for Styling) You should set the background color of the top row, left column and all diagonal cells to yellow (tip: you need to set the style value of the table cell data when you write out the diagonal values). You should draw the borders for all cells. Times Table-12x12 1 23 4 5 6 7 8 910 11 12 1 123 4 5 67 89 10 11 12 2 24 6 8 10 12 14| 16 18 20 22 24 3 36 9 12 15 18 21 24 2730 33 36 4 48 12 16 20 24 28 32 36 40 44 48 5 5 10 15 20 25 30 3540 45 5055 60 6 612 18 24 30 36 42 48 54 60 66 72 7714 21 28 35 42 49 56 6370 77 84 8 816 24 3240 48 56 64 72 80 88 96 9 918 27 36 45 54 63 72 81 90 99 108 10 10 | 20 | 30 | 40 | 50 60 70 80 90 100 110 120 11 1122 33 4455 66 7788 99 110 121 132 12 1224 36 48 60 72 84 96 108 120 132 144
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
