<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<!--
    Demo of a JavaScript object via alert boxes

    by: Sharon Tuttle
    last modified: 2025-05-06

    you can run this using the URL:
https://nrs-projects.humboldt.edu/~st10/s25cs328/328lect15-1/js-object-demo.php
-->

<head>
    <title> JS object demo </title>
    <meta charset="utf-8" />

    <link href="https://nrs-projects.humboldt.edu/~st10/styles/normalize.css"
          type="text/css" rel="stylesheet" />

    <!-- this is grabbing the JavaScript used from another file 
         (only this script, does NOT depend on others, async should
         be good here, I think!) -->

    <script src="js-object.js" type="text/javascript"
            async="async">
    </script>
</head>

<body>

<h1> JavaScript object example - demo </h1>

<p> The sole purpose of this document is to demo, via JavaScript
    alert boxes, that we have created a JavaScript object.
</p>

    <footer>
    <hr />
    <p>
        Validate by pasting .xhtml copy's URL into<br />
        <a href="https://validator.w3.org/nu">
            https://validator.w3.org/nu
        </a>
        or  
        <a href="https://html5.validator.nu/">
            https://html5.validator.nu/
        </a>
    </p>
    </footer>
</body>
</html>