I am teaching myself to code and having issues with a project im trying out. Essentially im trying to make a custom scorecard through java-script and am unsure of how to add two user inputted values together that come from a select/option dropdown menu. i would eventually like to display an updated number below after every entry. Is there a way to do that or is there another easier method that would be user-fluid? TIA
example:
<select name="hole1" id="hole1">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<select name="hole2" id="hole2">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
console.log(??+??)
New contributor
user26506188 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.