Test your knowledge of web development fundamentals with this 10-question quiz
1. What is the purpose of the `<form>` element in this code?
2. What does the `onchange` attribute do in the `<select>` element?
3. What will happen when a user selects a snack?
4. In the `<style>` section, what does `margin: 0 auto;` do for the `<form>`?
5. What is the default value of the snack dropdown when the page loads?
6. What will happen if the `snackSelection()` function is removed?
7. Which JavaScript method is used to update the content of an HTML element dynamically?
8. What type of input element is used for the snack and drink selections?
9. Why is `<strong>` used inside the JavaScript update statement?
10. What will happen if a user selects "Other" in the snack dropdown?