Q&A Discussions
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 Votes
7 AnswersHot today
Fix the following code
2 Votes
Mobile number and similarity
0 Votes
GitHub account connecting issue
3 Votes
Coding issue
2 Votes
Hardware of computer
3 Votes
how to creat database?
1 Votes
Alguém Português por aqui?
0 Votes