<!DOCTYPE html>
My first google classroom assignment
<br>
/* Basic CSS styling for illusion purposes*/<br>
body {<br>
font-family: Arial, sans-serif;<br>
}</p>
<div class="highlight"><pre class="highlight plaintext"><code> 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>
</code></pre></div>
<p></head><br>
<body></p>
<div class="highlight"><pre class="highlight plaintext"><code><h1>My first google classroom assignment</h1>
<form>
<fieldset>
<legend>My User Information</legend>
&lt;section&gt;
&lt;label for="fullname"&gt;Full name:&lt;/label&gt;
&lt;input type="fullname" id="fullname" name="fullname" required&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;label for="course"&gt;Course:&lt;/label&gt;
&lt;input type="course" id="course" name="course" required&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;label for="email"&gt;Email:&lt;/label&gt;
&lt;input type="email" id="email" name="email" required&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;label for="password"&gt;Password:&lt;/label&gt;
&lt;input type="text" id="password" name="password" required&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;label for="gender"&gt;Gender:&lt;/label&gt;
&lt;select name="gender" id="gender"&gt;
&lt;option value="male"&gt;Male&lt;/option&gt;
&lt;option value="female"&gt;Female&lt;/option&gt;
&lt;option value="other"&gt;Other&lt;/option&gt;
&lt;/select&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;label for="classes attended"&gt;Classes attended:&lt;/label&gt;
&lt;select name="classes attended" id="classes attended"&gt;
&lt;option value="physical"&gt;Physical&lt;/option&gt;
&lt;option value="online"&gt;Online&lt;/option&gt;
&lt;option value="hybrid"&gt;Hybrid&lt;/option&gt;
&lt;/select&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;label&gt;
&lt;input type="checkbox" id="student details" name="student details"&gt;
Confirm all details correct
&lt;/label&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;label for="mark awarded"&gt;Mark awarded:&lt;/label&gt;
&lt;textarea name="mark awarded" id="mark awarded" cols="10" rows="4"&gt;&lt;/textarea&gt;
&lt;/section&gt;
&lt;/fieldset&gt;
&lt;button type="reset"&gt;Reset&lt;/button&gt;
&lt;button type="submit"&gt;Submit&lt;/button&gt;
</form>
</code></pre></div>
<p></body><br>
</html></p>
Top comments (0)