New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Validation
1 Vote
2 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
Android studio Tutorial
1 Votes
Why output is 0 for from_chars
2 Votes
Cyber security
0 Votes
Personal chat
1 Votes
Bash
0 Votes
Help
0 Votes
Why exception is not handled
1 Votes
Adding image to html
0 Votes
Links of cmy codes
4 Votes