Assignment
Published: 2024-03-05 10:50:49

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset=UTF-8>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My first google classroom assignment</title>
    <style>
        /* Basic CSS styling for illusion purposes*/
        body {
            font-family: Arial, sans-serif;
        }

        h1 {
            color: #221616;
            text-align: left;
        }

        form {
            width: 90%;
            background-color: #dbdcdc;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        label {
            display: block;
            margin-bottom: 5px;
        }

        input, select, textarea {
            width: 75%;
            padding: 4px;
            margin-bottom: 10px;
            border: 1px solid #e6e5e5;
            border-radius: 5px;
            box-sizing: border-box;
        }

        button[type="reset"] {
            display: inline-block;
            width: 7.5%;
            padding: 2.5px;
            background-color: #f4f2f2;
        }

        button[type="submit"]:hover {
            background-color: #ebedeb;
        }
    </style>

</head>
<body>
    
    <h1>My first google classroom assignment</h1>

    <form>
        <fieldset>
            <legend>My User Information</legend>

            <section>
                <label for="fullname">Full name:</label>
                <input type="fullname" id="fullname" name="fullname" required>
            </section>
            
            <section>
                <label for="course">Course:</label>
                <input type="course" id="course" name="course" required>
            </section>

            <section>
                <label for="email">Email:</label>
                <input type="email" id="email" name="email" required>
            </section>

            <section>
                <label for="password">Password:</label>
                <input type="text" id="password" name="password" required>
            </section>

            <section>
                <label for="gender">Gender:</label>
                <select name="gender" id="gender">
                   <option value="male">Male</option>
                   <option value="female">Female</option>
                   <option value="other">Other</option>
                </select>
            </section>

            <section>
                <label for="classes attended">Classes attended:</label>
                <select name="classes attended" id="classes attended">
                    <option value="physical">Physical</option>
                    <option value="online">Online</option>
                    <option value="hybrid">Hybrid</option>
                </select>
            </section>

            <section>
                <label>
                    <input type="checkbox" id="student details" name="student details">
                    Confirm all details correct
                </label>
            </section>

            <section>
                <label for="mark awarded">Mark awarded:</label>
                <textarea name="mark awarded" id="mark awarded" cols="10" rows="4"></textarea>
            </section>

        </fieldset>

        <button type="reset">Reset</button>
        <button type="submit">Submit</button>
    </form>
</body>
</html>