I have created a basic drop down list. I am simply trying to select the value currently showing in the drop down list, save it in a variable, and print it in the console. The end goal is to compare that variable to another variable to determine if the selection was correct.
I am a novice , so I assuming no one needs to know my poor attempts here...
<div id="Selections">
<div id="game1">
<p> Saturday 1:00PM EST Team 1 vs Team 2 </p>
<select id="game1Pick">
<option>Team 1</option>
<option>Team 2</option>
</select>
</div>
</div>
I expect the console to print whatever I have selected, but I keep getting errors.