New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Input Not Clickable
0 Votes
5 AnswersWhat 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
What did I do wrong ??
0 Votes
I'm confused about C#.
2 Votes
Beginner
1 Votes
How can I make a flag
1 Votes
I choose
0 Votes
Html
1 Votes
Want to know something
0 Votes
Comment poser une question
1 Votes