CodePug.com

Home | Games | Media | Programming | Raspberry Pi | Misc Content

JavaScript Frequently Asked Questions

If you’ve ever wanted to bring more life to your web pages, then JavaScript is the solution for you. The following page highlights some of the many features found in JavaScript. See the answers to your JavaScript questions here below.

**Q: How do I display the last modified date of an HTML page? **

** Q: What is the difference between an alert, a confirm, and a prompt statement? **

An alert pops up a dialog box with a message and an okay button.

A confirm pops up a dialog box with an OK and Cancel button.

A prompt pops up a dialog box allowing text to be entered by the user.

</code>