This context is a webpage titled "Chapter 7: CSS Units of Length" from a frontend developer textbook, covering the use of CSS units of length, including absolute and relative units, and their application in HTML tags.
Abstract
The webpage is a chapter from a frontend developer textbook, focusing on CSS units of length. It explains the difference between absolute and relative units, providing examples of each type. The chapter covers the use of absolute units such as centimeters, inches, and pixels, and relative units such as vw, vh, and percentages. It also demonstrates how to apply these units to HTML tags using CSS code, with examples of how to set dimensions for different sections of a webpage.
Opinions
The author emphasizes the importance of understanding CSS units of length for frontend developers.
The author provides clear explanations and examples of both absolute and relative units, making it easy for beginners to understand.
The author encourages readers to practice using CSS units of length by providing interactive coding exercises and syntax flashcards.
The author offers a quiz to test readers' understanding of the material and rewards correct answers with SW Coins, which can be redeemed for coupons towards the purchase of Udemy courses.
The author provides links to additional resources, such as the next lesson in the textbook and a remote frontend cohort program.
Chapter 7: CSS Units of Length
A Complete Frontend Developer Textbook for Beginners (2023 Edition)
As you can see, all three sections have the same lengths even though they use different units. This is because we can convert between anyabsolute units by multiplying the appropriate conversion factors.
Take my Programming Concept Quiz to check your understanding! For every correct choice, you will earn SW Coins which you can redeem for coupons towards the purchase of any of my Udemy courses!
Check out my Interactive Coding Exercises to put to practice what you have learned! There, you will also find interactive hints to help you understand each line of code. Likewise, for every correct solution, you will earn SW Coins which you can redeem for coupons towards the purchase of any of my Udemy courses!
Review what you have learned by playing my Syntax Flashcard Game! These flashcards are designed to help you commit to memory all the newcodesyntaxes you learned in this lesson.
Now that we know how to add dimensions to any sectioning tags, we’re ready to learn about the Box Model! In the next lesson, we will dissect this important concept to understand how we can completely control the appearance of any HTML element!
When you use my referral link above 👆 to become a Medium member, all proceeds will be donated towards the construction of the Silicon Wat Campus for children in Ukraine and Cambodia ❤️