How do you make the text bold in CSS?
Anonymous Quiz
64%
font-weight: bold;
12%
font-bold: true;
17%
text-style: bold;
7%
text-weight: 800;
Find the error in the code.
Difficulty: Average๐คจ
Difficulty: Average๐คจ
def divide_numbers(a, b):
return a / b
result = divide_numbers(10, 0)
print(f"The result is: {result}")
How many hours do you spend coding each week?
Anonymous Poll
32%
Less than 5 hours
26%
5-10 hours
16%
10-20 hours
16%
20-30 hours
10%
More than 30 hours
How to write an IF statement in JavaScript?
Anonymous Quiz
8%
if i = 5
15%
if i == 5
72%
if (i == 5)
5%
if i == 5:
๐1
This media is not supported in your browser
VIEW IN TELEGRAM
๐2๐ฅ2๐1
An <iframe> is used to
Anonymous Quiz
38%
Display a video within a web page.
50%
Display a web page within a web page.
2%
Create a form for user input.
11%
Style text within a web page.
How do you display hyperlinks without an underline?
Anonymous Quiz
70%
a { text-decoration: none; }
16%
a { underline: none; }
7%
a { no-underline: true; }
7%
a { border: none; }
Find the error in the code.
Difficulty: Hard๐ค
Difficulty: Hard๐ค
function processArray(arr) {
let result = [];
arr.forEach(item => {
if (item != '') {
result.push(item);
} else if (typeof item === 'number') {
result.push(item * 2);
}
});
return result;
}
let data = [1, '', 2, 3, '', 5, null, undefined, 'hello'];
console.log(processArray(data));What is the correct file extension for Python files?
Anonymous Quiz
7%
.python
10%
.pyt
75%
.py
8%
.pt
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():