Tutor profile: Mike M.
Subject: Web Development
Since the adoption of ES6 (2015), the var keyword has been replaced by let and const. The var declaration was unreliable in scope, whereas let can be scoped globally or locally, and is only available to its local scope. The const keyword allows a variable to contain a value that is immutable during a program run, hence cannot be changed programmatically.
Explain how padding, border, and margin relate to the CSS Box Model.
Within the CSS Box Model, padding relates to the space around the content of a parent tag set. The content resides within the container tag set, and the amount of space between the content and the border of the container is the padding. The border, if set, defines how many pixels the edge of the container element occupies, and the margins are the space outside of the container. All of these contribute to the amount of space the container will occupy within the page.
needs and Mike will reply soon.