What is the correct HTML element for playing audio files?
Anonymous Quiz
8%
<sound>
69%
<audio>
19%
<mp3>
5%
<video>
👍2🔥1👏1
What is the correct way to write a JavaScript array?
Anonymous Quiz
73%
var colors = ["red", "green", "blue"]
12%
var colors = "red", "green", "blue"
6%
var colors = (1:"red", 2:"green", 3:"blue")
10%
var colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
Python Task
Write a program that asks the user to enter a number, then displays whether the number is even or odd.
Difficulty: Easy😁
Example of the program's output:
Write a program that asks the user to enter a number, then displays whether the number is even or odd.
Difficulty: Easy😁
Example of the program's output:
Enter a number: 7
The number 7 is odd.
Enter a number: 10
The number 10 is even.
👍2
👏1
Which of the following JavaScript features are used for handling asynchronous operations?
Anonymous Quiz
43%
Promises and Callbacks
14%
SetTimeout and Event Listeners
24%
Var and Let
19%
Functions and Loops
React_js_Design_Patterns_Learn_how_to_build_scalable_React_apps.pdf
3.1 MB
📒 FREE Book
React.js Design Patterns: Learn how to build scalable React appswith ease (2023)
By: Anthony Onyekachukwu Okonta
#book
React.js Design Patterns: Learn how to build scalable React appswith ease (2023)
By: Anthony Onyekachukwu Okonta
#book
🔥2❤1👍1
What does the "display: flex" property do in CSS?
Anonymous Quiz
10%
Centers text within an element
13%
Changes an element’s position on the page
71%
Creates a flexible layout that arranges items in a row or column
6%
Sets the visibility of an element to hidden
The task is to write a palindrome function.
Difficulty: Hard😤
Difficulty: Hard😤
isPalindrome("radar"); // true
isPalindrome("hello"); // falseWhich method can be used to replace parts of a string in Python?
Anonymous Quiz
60%
replace()
19%
substitute()
15%
switch()
6%
modify()
What does the "this" keyword refer to in JavaScript?
Anonymous Quiz
17%
The function itself
43%
The object that is calling the function
19%
The global object (e.g., window in browsers)
21%
The variable defined within the function
What will this code output? Spot the bug.
Difficulty: Hard😤
Difficulty: Hard😤
for (var i = 0; i < 5; i++) {
setTimeout(function() {
console.log(i);
}, 1000);
}What does HTML stand for?
Anonymous Quiz
5%
HyperText Mail
6%
Home Tool Markup Language
8%
Hyperlinks and Text Markup Language
81%
Hyper Text Markup Language
What is the default value of the position property in CSS?
Anonymous Quiz
30%
relative
21%
fixed
34%
static
15%
absolute
What is the correct way to create a function in Python?
Anonymous Quiz
15%
function my_function():
60%
def my_function():
19%
def my_function:
6%
create my_function():
JavaScript Task
Check that this string consists of numbers only.
Difficulty: Easy😁
Check that this string consists of numbers only.
Difficulty: Easy😁
string = "1234567890"
How can you check if a value is NOT equal to 5 in JavaScript?
Anonymous Quiz
59%
if (value != 5)
14%
if (value == 5)
16%
if (value =! 5)
11%
if (value <> 5)