Which CSS property is used to make text bold?
Anonymous Quiz
40%
font-weight
12%
text-weight
35%
bold
13%
font-style
😁1
Find the error in the code.
The answer should be: 0, 1
Difficulty: Average😐
The answer should be: 0, 1
Difficulty: Average😐
const createCounter = () => {
let count = 0;
return () => {
console.log(count++);
};
};
const counter1 = createCounter();
const counter2 = createCounter();
counter1();
counter2();What is the purpose of the DOCTYPE html declaration?
Anonymous Quiz
8%
To include external JavaScript files
13%
To define the encoding of the document
77%
To specify the document type and version of HTML
1%
To specify the base URL for relative links
👍3
Find errors in the code.
Difficulty: Average🤨
Difficulty: Average🤨
class Rectangle {
constructor(width, height) {
this.width = width;
this.height = height;
}
getArea() {
return width * height;
}
}
const rect = new Rectangle(5, 10);
console.log("Area:", rect.getArea());👍3🤔1
How to Use Rem Units in CSS!!
Rem units in CSS can be used for setting font sizes, margins, padding, widths, and heights relative to the root element's font-size.
Hidden Gems of Tailwind CSS
Tailwind CSS has some lesser-known features that can make developing web UIs easier.
This article goes over a couple of them, such as using gap-* to add space between elements.
🔗 Link to the article
#css #tailwind
Tailwind CSS has some lesser-known features that can make developing web UIs easier.
This article goes over a couple of them, such as using gap-* to add space between elements.
🔗 Link to the article
#css #tailwind
This media is not supported in your browser
VIEW IN TELEGRAM
Two ways to create responsive input fields in CSS!
🔥4👍1