News

Creating Variables and Using the JavaScript Alert() Function. Let's create a simple HTML document that we can use to test our variables: ...
JavaScript variables hold a wide variety of information and can be used with virtually any data type. Here's how to use variables to store numbers, text strings, objects, and more.