Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
So I’m making a form for my certificate and I’m running the tests, and it shows that I don’t meet some requirements. What’s even more frustrating is that when I run the test again, it marks the previous requirement from before as complete, but then it marks another requirement that was complete before as incomplete.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <title>Doctor Appointment Registration</title>
  <link rel="stylesheet" href="styles.css">
  <h1 id="title">Doctor Appointment Registration</h1>
  <p id="description">Please fill out this form to register for a doctor appointment</p>
    <label>First Name: <input type="text" name="FirstName" required /></label>
    <label>Last Name: <input type="text" name="LastName" required /></label>
    <label>Email Address: <input type="email" name="EmailAdd" required /></label>
    <label>Age: <input type="number" name="DOB" min="18" max="100" required /></label>
    <label><input type="radio" name="patient-type" class="inline" /> New Patient</label>
    <label><input type="radio" name="patient-type" class="inline" /> Returning Patient</label>
    <label>Upload Medical Documents (if necessary): <input type="file" name="MedDoc" /></label>
    <label>Choose a time slot (We will send an email stating your appointment's time): 
      <select name="time" required>
        <option value="">(select one)</option>
        <option value="1">8am-12pm</option>
        <option value="2">12pm-3pm</option>
        <option value="3">3pm-6pm</option>
      <input type="checkbox" name="symptoms" class="inline" /> I am experiencing symptoms
    <label>Extra information:
      <textarea name="extrainfo" rows="5" cols="20" placeholder="My symptoms include..."></textarea>
      <input type="checkbox" name="confirm" class="inline" required /> Confirm Appointment
  <input type="submit" value="Submit" />
/* file: styles.css */
body {
width: 100%;
height: 100vh;
background-color: #006089;
color: #f5f6f7;
font-family: Tahoma;
margin: 0;

h1, p {
margin: 1em auto;
text-align: center;

form {
width: 60vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
padding-bottom: 2em;

fieldset {
border: none;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;

fieldset:last-of-type {
border-bottom: none;

label {
display: block;
margin: 0.5rem 0;

select {
margin: 10px 0 0 0;
width: 100%;
min-height: 2em;

input, textarea {
background-color: #f5f6f7;
border: 1px solid #0a0a23;
color: #0a0a23;

.inline {
width: unset;
margin: 0 0.5em 0 0;
vertical-align: middle;

input[type="submit"] {
display: block;
width: 60%;
margin: 1em auto;
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f;
border-color: white;
min-width: 300px;

input[type="file"] {
padding: 1px 2px;
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.