You are on page 1of 3

<!

DOCTYPE html>
<html>
<head>
<title>Favorite Movie Quiz</title>
</head>
<body>
<h1>What's Your Favorite Movie?</h1>
<form action="/submit-your-answer">
<label for="name">Your Name:</label><br>
<input type="text" id="name" name="name"><br><br>

<label for="favoriteMovie">Favorite Movie:</label><br>


<input type="text" id="favoriteMovie" name="favoriteMovie"><br><br>

<label for="genre">Favorite Genre:</label><br>


<select id="genre" name="genre">
<option value="action">Action</option>
<option value="comedy">Comedy</option>
<option value="drama">Drama</option>
<option value="fantasy">Fantasy</option>
<option value="horror">Horror</option>
<option value="romance">Romance</option>
<option value="sci-fi">Sci-Fi</option>
<option value="thriller">Thriller</option>
<option value="other">Other</option>
</select><br><br>
<label for="year">Year of Release:</label><br>
<input type="number" id="year" name="year"><br><br>

<label for="rating">How would you rate this movie? (1-10)</label><br>


<input type="number" id="rating" name="rating" min="1" max="10"><br><br>

<label for="favoriteCharacter">Favorite Character:</label><br>


<input type="text" id="favoriteCharacter" name="favoriteCharacter"><br><br>

<label>Have you watched this movie more than 5 times?</label><br>


<input type="radio" id="yes" name="watchedMoreThan5" value="yes">
<label for="yes">Yes</label><br>
<input type="radio" id="no" name="watchedMoreThan5" value="no">
<label for="no">No</label><br><br>

<label for="comments">Additional Comments:</label><br>


<textarea id="comments" name="comments" rows="4" cols="50"></textarea><br><br>

<label for="recommendation">Would you recommend this movie to a friend?</label><br>


<select id="recommendation" name="recommendation">
<option value="yes">Yes</option>
<option value="no">No</option>
<option value="maybe">Maybe</option>
</select><br><br>

<label for="favoriteScene">Favorite Scene:</label><br>


<input type="text" id="favoriteScene" name="favoriteScene"><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>

You might also like