I have given up here. I can't see how this would logically work. I had done it using a switch case statement, but the guy said that it didn't use nested loops
. I cant use objects or any of that shit here, only conditional statements and loops.
Any help?
Any help?
[FONT=arial,helvetica,sans-serif]Assignment 4a[/FONT]Create an XHTML document which includes a reference to an external JavaScript file. Include the code in this JavasScript file to print the following pattern:
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * *
* * * * *
* * * *
* * *
* *
*
(Hint: Use nested for or while loop)
Also,
[*]Include the dtd for XHTML transitional.
[*]Title the web page “Conditional statements and Loopsâ€
[*]Save the JavaScript file as pattern_javascript.js
[*]Save the XHTML document as 4a_statements_loops.html






