Q&A DiscussƵes
What is wrong with this code?
-
-
<!Doctype html>
<head>
</head>
<body>
<form>
<input type="text" id="input">
</form>
<button type="button" id="button">Click here</button>
<script>
var input=document.getElementById("input");
var button=document.getElementById("button");
function display() {
if (button.clicked == true) {
console.log("input");
}
};
display();
</script>
</body>
0 Voto
7 RespostasFor this question
-2 Votos
4 Respostashtml5
0 Voto
1 RespostaDoubt
1 Voto
3 RespostasIs it correct
-1 Voto
1 Respostamy blog
0 Voto
2 RespostasIām a Starter
-2 Votos
3 RespostasJavaScript Comments
0 Voto
2 RespostasWeb Question ?
0 Voto
1 RespostaDoubt regarding basics
0 Voto
1 RespostaQuente hoje
Ejercicio Pytho
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
Pig Latin
0 Votes
Uuu
1 Votes
How to start
0 Votes