Write a script that displays the numbers 1 to 4 on the same line with each pair of adjacent numbers separated by one space. Write the program using the following methods.
a) Using one document.writeln statement.
b) Using four document.write statements.
a)
```
document.writeln( “1 2 3 4” );
```
b)
```
document.write( “1 “ );
document.write( “2 “ );
document.write( “3 “ );
document.write( “4” );
```
You might also like to view...
All of the following are tips for a great presentation EXCEPT ________
A) keep the font size large enough to be read from the back of the room B) use images to convey a thought or illustrate a point C) limit bullet points per slide to 4-6 D) use a variety of animations on most slides to keep your audience's attention
The speed and height of the swipe often control the amount of movement on screen
Indicate whether the statement is true or false
________________ Is a tool used prior to beginning a project to determine the financial ramifications of undertaking new projects
Fill in the blank(s) with correct word
A(n) ______________ number can be used to unlock a phone.
A. IMEI B. IMSI C. ICCID D. SSID