Beginner problem :(
HI!!! I only started programming a week ago and I do not understand the error in my code. Could someone explain to me? --------------------------------------------------------------------------------------------------------- <!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title>Diccionario de los dĂas de la semana</title> </head> <body> <label for>Selecciona el dĂa de la semana a traducir</label><br><br> <select name="dia" onchange="dias(this.value);"><br><br> <option value=""></option> <option value="1">Lunes</option> <option value="2">Martes</option> <option value="3">Miercoles</option> <option value="4">Jueves</option> <option value="5">Viernes</option> <option value="6">Sabado</option> <option value="7">Domingo</option> </select><br><br> <label>Traduccion</label><br><br> <span id="traduccion"></span> <script> function dĂas(valor){ if(valor==1){ document.getElementById('dias').innerHTML="Monday"; } if(valor==2){ document.getElementById('dias').innerHTML="Thuesday"; } if(valor==3){ document.getElementById('dias').innerHTML="Wednesday"; } if(valor==4){ document.getElementById('dias').innerHTML="Thursday"; } if(valor==5){ document.getElementById('dias').innerHTML="Friday"; } if(valor==6){ document.getElementById('dias').innerHTML="Saturday"; } if(valor==7){ document.getElementById('dias').innerHTML="Sunday"; } } </script> </body> </html>