Обсуждения
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 голосов
7 ответовstyle.display=""?
1 голос
2 ответовFunctions help please
0 голосов
1 ответBase conversion
1 голос
1 ответHelp with my Code
4 голосов
1 ответI need to design a recursive function called replicate recur which will receive two arguments: times which is the number of times to repeat and data which is the number or string to be repeated.
The function should return an array containing repetitions of the data argument.
For instance, replicate_recur (3, 5) should return [5,5,5].
If the times argument is negative or zero, return an empty array. If the argument is invalid, raise ValueError.
0 голосов
4 ответовАктуальное сегодня
How to make a 2d game
1 Votes
Html
2 Votes
Not video
1 Votes
Detach thread exception
1 Votes
Qt timer timeout
0 Votes