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
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
π3
What is your level in web development?
Anonymous Poll
50%
Beginner (just start to learn the basics)
22%
Junior (have some experience)
20%
Midldle (working on projects)
6%
Senior (managing projects)
2%
God mode (architecture, complex solutions)
π2