Find the error in the code.
Difficulty: Easy😁
Difficulty: Easy😁
function greet(name) {
console.log("Hello, " + name);
}
greet();👍2
How do you insert comments in Python code?
Anonymous Quiz
37%
// This is a comment
47%
# This is a comment
8%
/* This is a comment */
8%
<!-- This is a comment -->
What is the correct HTML for making a checkbox?
Anonymous Quiz
5%
<check>
15%
<input type="check">
8%
<checkbox>
71%
<input type="checkbox">
How do you make the text bold in CSS?
Anonymous Quiz
64%
font-weight: bold;
11%
font-bold: true;
18%
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
35%
Less than 5 hours
26%
5-10 hours
11%
10-20 hours
17%
20-30 hours
11%
More than 30 hours
How to write an IF statement in JavaScript?
Anonymous Quiz
9%
if i = 5
13%
if i == 5
75%
if (i == 5)
4%
if i == 5:
👍1
An <iframe> is used to
Anonymous Quiz
38%
Display a video within a web page.
49%
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
71%
a { text-decoration: none; }
16%
a { underline: none; }
5%
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
5%
.python
11%
.pyt
75%
.py
9%
.pt
Which of the following elements is considered a global HTML structural element?
Anonymous Quiz
15%
<p>
62%
<header>
13%
<h1>
10%
<strong>