In Internet Explorer, When you click on the 'Bookmark Us!' text link, Explorer's Add Favorite dialogue automatically pops opens, inviting your visitor to add your site to their bookmarks. Also note that the status bar (MSIE 4+) will show the 'Bookmark Us!' text message when you mouseOver the link. In all other browsers, only a message appears, and no action takes place when it is clicked.
This JavaScript shows a very simple example of how to create a button that does something JavaScript-like in nature when it is clicked. The alert() function is predefined: we could have made our own function and then called it upon the onClick event.
This JavaScript allows you to have a test run using confirm alerts to have the user enter in TRUE or FALSE for each question. The results are computed and then given (via a popup) to the user.