Discussions Q&R
1
0 Vote
2 RéponsesWhat 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 Vote
7 Réponsesstyle.display=""?
1 Vote
2 RéponsesFunctions help please
0 Vote
1 RéponseBase conversion
1 Vote
1 RéponseHelp with my Code
4 Votes
1 RéponseI 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 Vote
4 RéponsesAujourd'hui en vedette
What is a web browser intension?
1 Votes
Mentors
1 Votes
Percobaan
0 Votes
Thread local : global vs local
0 Votes
Postgrrsql and python
0 Votes
python
0 Votes
Codding lern
0 Votes
Data Analysis Course
1 Votes