Build a registration form. All fields on one page; on submit, show a summary.
Requirements
- Inputs:
<input id="name"> — text
<input id="email"> — type "email"
<select id="role"> with options "Designer", "Developer", "PM"
<button id="submit"> — clicking it reveals a summary
- Summary is a
<div id="summary"> containing the entered name, email, and role (as text)
- Before submit, the summary should not exist in the DOM