#episode-list {
padding: 1em;
margin: 1em auto;
border-top: 5px solid #69c773;
box-shadow: 0 2px 10px rgba(0,0,0,.8)
}
input {
width: 100%;
padding: .5em;
font-size: 1.2em;
border-radius: 3px;
border: 1px solid #d9d9d9
}
<div id="episode-list">
<input type="text" id="default" list="episodes" placeholder="Episodes">
<datalist id="episodes">
<option value="HTML">S1 E1</option>
<option value="CSS">S1 E2</option>
<option value="JavaScript"></option>
<option value="Java"></option>
<option value="Ruby"></option>
<option value="PHP"></option>
<option value="Go"></option>
<option value="Erlang"></option>
<option value="Python"></option>
<option value="C"></option>
</datalist>
</div>
How can I link these options to a URL when clicked on?
I need assistance with this task.
I want the options to redirect to specific URIs or URLs upon clicking.
Thank you for your help in advance.