HTML and CSS Reference
Next, use that same format to generate the “create a room” form, which is nearly the same markup-wise. Add this
<form> element directly after the previous “attending” form element we just added:
<p>Create a room to start your Q&A session.</p>
Tell us your name (so attendees know who you are).
<input type="text" name="presenter-name" />
Tell us your email (so attendees can get in touch with you).
<input type="email" name="presenter-email" />
What is your session called?
<input type="text" name="session-name" />
<input type="submit" value="Create Your Room" />
There is nothing remarkable about this code, with the exception of the use of type="email" for the presenter e-mail
input. Save it and reload the browser; you now have both forms for the home view, albeit unstyled (see Figure 7-8 ).
Figure 7-8. All the markup for the home view is in place, but it needs styling