F&A Diskussionen
1
0 Stimmen
2 AntwortenWhat 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 Stimmen
7 Antwortenstyle.display=""?
1 Stimme
2 AntwortenFunctions help please
0 Stimmen
1 AntwortBase conversion
1 Stimme
1 AntwortHelp with my Code
4 Stimmen
1 AntwortI 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 Stimmen
4 AntwortenHeute heiß
SQL
3 Votes
HTML/CSS questions
0 Votes
JAVA PROGRAMMING
2 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes
Html
1 Votes
Find courses
0 Votes