Chapter 9: Box Model Dimensions
A Complete Frontend Developer Textbook for Beginners (2023 Edition)
Published in
11 min readJan 6, 2022
This is the textbook version of Lesson 9 of 100 from the Udemy video course: A Complete Frontend Developer Course for Beginners
Overview
This lesson covers the following HTML tags, CSS properties, and JavaScript commands for the first time:
HTML
None.
CSS
JS
- window.innerWidth
- window.innerHeight
- window.getComputedStyle().width
- window.getComputedStyle().height
- document.querySelector(“header”).clientWidth
- document.querySelector(“header”).clientHeight
- document.querySelector(“header”).offsetWidth
- document.querySelector(“header”).offsetHeight
- document.querySelector(“header”).scrollWidth
- document.querySelector(“header”).scrollHeight
This lesson begins with this Codepen. Code along with me to increase retention!