Q&A Discussões
Is this code right?
4 Votos
2 RespostasWhat 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 RespostasQuente hoje
What's wrong in my code?
2 Votes
Cybersecurity techies
5 Votes
App Development
0 Votes
Please answer.
0 Votes
What's wrong with code?
0 Votes
HTML
0 Votes
Introduction of html
0 Votes
CSS or Tailwind
1 Votes