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

<!--
    more practice with unobtrusive-style client-side JavaScript

    adapted by: YOUR NAME(S)
    last modified: 2026-04-30

    can run using the URL:



-->

<head>
    <title> CS 328 - Lab 14 </title>
    <meta charset="utf-8" />

    <?php
        ini_set('display_errors', 1);
        error_reporting(E_ALL);

        require_once("328lab14-functs.php");
    ?>

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

    <link href="328lab14.css"
          type="text/css" rel="stylesheet" />

    <!-- PUT YOUR external JAVASCRIPT HERE -->


</head>

<body>
    <h1 id="main_heading"> CS 328 - Week 14 Lab Exercise </h1>

    <hr />
    <p id="warning"> <strong> note:
        MUCK button requires JavaScript to work! </strong> </p>
    <hr />

    <p> <button id="lab_button"> MUCK with something </button> </p>
    <hr />
    
    <p id="init_stuff"> Initial stuff here. </p>

    <hr />
    <?php
    // when first called, show a form allowing several random entries

    if ($_SERVER["REQUEST_METHOD"] == "GET")
    {
        make_lab14_form();
    }

    // ...then, display lab14 form response

    else
    {
        make_lab14_response();
    }
    ?>

    <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>