JavaScript Examples
| The first example was taken from Builder.com. It displays the current date and time at the top of this web page. To incorporate this into your own HTML document, all you need to do is cut 'n paste the JavaScript from this page into the HTML source code of your page. Simple!! You can find all kinds of JavaScript resources at the Builder.com's JavaScript hub including free scripts like these. | ||
| The second JavaScript example is also from Builder.com as well. This JavaScript prints out a different message based on the time of the day or night. Try it again during a different part of the day! (As above, all one needs to do is cut 'n paste the JavaScript directly into the HTML of one's page.) |