×
×
Correct!
Use HTML DOM to change the value of the input field.
<input type="text" id="myText" value="Hello">
<script>
document.getElementById("myText")@(6) = "Have a nice day!";
</script>
<input type="text" id="myText" value="Hello">
<script>
document.getElementById("myText").value = "Have a nice day!";
</script>
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?