Which of the following elements is considered a global HTML structural element?
Anonymous Quiz
14%
<p>
63%
<header>
13%
<h1>
11%
<strong>
How do you write "Hello World" in an alert box in JavaScript?
Anonymous Quiz
14%
alertBox("Hello, world!")
16%
console("Hello, world!")
20%
print("Hello, world!")
50%
alert("Hello, world!")
How do you make each word in a text start with a capital letter in CSS?
Anonymous Quiz
38%
text-transform: capitalize;
18%
text: capitalize;
32%
text-style: capitalize;
12%
transform: capitalize;
Find the error in the code.
Difficulty: Easyπ
Difficulty: Easyπ
number = 5
text = "Quantity: " + number
print(text)
What is the correct way to create a function in Python?
Anonymous Quiz
23%
function my_function():
27%
def my_function:
40%
def my_function():
10%
create function my_function():
What is the correct HTML element for playing audio files?
Anonymous Quiz
7%
<sound>
70%
<audio>
19%
<mp3>
4%
<video>
π2π₯1π1
What is the correct way to write a JavaScript array?
Anonymous Quiz
73%
var colors = ["red", "green", "blue"]
13%
var colors = "red", "green", "blue"
5%
var colors = (1:"red", 2:"green", 3:"blue")
9%
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
This media is not supported in your browser
VIEW IN TELEGRAM
β€2π1π1
Which of the following JavaScript features are used for handling asynchronous operations?
Anonymous Quiz
44%
Promises and Callbacks
13%
SetTimeout and Event Listeners
26%
Var and Let
18%
Functions and Loops
β€1
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
12%
Changes an elementβs position on the page
72%
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
59%
replace()
19%
substitute()
17%
switch()
6%
modify()