Skip to content

Commit

Permalink
Remove value attritute from select tag in Booking as per HTML validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry-Martin committed Jul 14, 2024
1 parent 392821e commit 74d12e2
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions booking.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,40 +45,44 @@ <h1 id="logo">Tarot Tales</h1>
<h3>Booking Information:</h3>
<form action="https://formdump.codeinstitute.net" method="post">
<div class="elem-group">
<label for="name">Name</label>
<input type="text" id="name" name="visitor_name" placeholder="John Doe" pattern=[A-Z\sa-z]{3,20} required>
<label for="name">Name</label>
<input type="text" id="name" name="visitor_name" placeholder="John Doe" pattern=[A-Z\sa-z]{3,20}
required>
</div>
<div class="elem-group">
<label for="email">E-mail</label>
<input type="email" id="email" name="visitor_email" placeholder="[email protected]" required>
<label for="email">E-mail</label>
<input type="email" id="email" name="visitor_email" placeholder="[email protected]" required>
</div>
<div class="elem-group">
<label for="phone">Phone</label>
<input type="tel" id="phone" name="visitor_phone" placeholder="0871112233" required>
<label for="phone">Phone</label>
<input type="tel" id="phone" name="visitor_phone" placeholder="0871112233" required>
</div>
<hr>
<div class="elem-group inlined">
<label for="checkin-date">Date</label>
<input type="date" id="checkin-date" name="checkin" required>
<label for="checkin-date">Date</label>
<input type="date" id="checkin-date" name="checkin" required>
</div>
<div class="elem-group inlined">
<label for="checkout-date">Time</label>
<input type="time" id="checkout-date" name="checkout" required>
<label for="checkout-date">Time</label>
<input type="time" id="checkout-date" name="checkout" required>
</div>
<div class="elem-group">
<label for="room-selection">Inperson or online reading?</label>
<select id="room-selection" name="room_preference" required>
<option value="connecting">In person</option>
<option value="adjoining">Online</option>
</select>
<label for="room-selection">Inperson or online reading?</label>
<select id="room-selection" name="room_preference" required>
<!-- <option value="connecting">In person</option>
<option value="adjoining">Online</option> -->
<option>In person</option>
<option>Online</option>
</select>
</div>
<hr>
<div class="elem-group">
<label for="message">Any other info?</label>
<textarea id="message" name="visitor_message" placeholder="Tell us anything else that might be important."></textarea>
<label for="message">Any other info?</label>
<textarea id="message" name="visitor_message"
placeholder="Tell us anything else that might be important."></textarea>
</div>
<button type="submit">Book a reading</button>
</form>
</form>
</section>
</main>

Expand Down

0 comments on commit 74d12e2

Please sign in to comment.