Basic JavaScript: Exercise 02 : Output to HTML
Previous Next In JavaScript exercise 1, you printed the output directly from the JavaScript program. There was no formatting. This is the way JavaScript program works, but HTML documents are meant to present information in a human-readable format with some style information. Imagine reading plain notepad like web pages, there is no fun in that. …