JavaScript Assignment #5
Concatenation
This assignment is an introduction to concatenation, an invaluable operation that allows you to connect together pieces of JavaScript code.
- Create a basic page in html.
- Using document.write(), display the user's browser information, screen height and width in the page.
- The script can only use one document.write() statement, so you must use the concatenation operator + to display the information as follows:
"Your browser is [browser info here]. Your screen height is [screen height here]. Your screen width is [screen width here]."
Next assignment ... Assignment #6