CSS – Flexbox – Centering Horizontally and Vertically
Using Flexbox, the justify-content property, and align-items property, an element can be centered both horizontally and vertically within it’s parent.
Using Flexbox, the justify-content property, and align-items property, an element can be centered both horizontally and vertically within it’s parent.
The order property determines the order of a flex item. The first flex item to appear in the code does not have to appear as the first item in the layout.
The flex-basis property specifies the initial length of a flex item.
The flex-grow property specifies how much a flex item will grow relative to the rest of the flex items to fill their parent container.
The flex-shrink property specifies how much a flex item will shrink relative to the rest of the flex items while filling their parent container.
JavaScript comments are used to create notes about what the code block does and how it works, and can also be used to temporarily prevent code execution.
JavaScript syntax is the set of rules concerning how the code blocks should be constructed for proper execution.
JavaScript can be used to change data on the page, rewrite the entire page, create popup alerts, write to the console for testing, or print the page.
In JavaScript, variables are used to store data that will be used in multiple places. This allows the data to be kept in one place for ease of change.
JavaScript has numerous operators that can be used, in part, to do mathematical calculations, assign values to variables, and compare values.
JavaScript has 8 Datatypes: String, Number, Bigint, Boolean, Undefined, Null, Symbol, and Object.
JavaScript functions are blocks of code designed to perform a particular task when called by another piece of code at some point after creation.
JavaScript objects are variables that can contain many values, and are created using the object literal, the new keyword, or using an object constructor.
JavaScript object properties can be changed, added, deleted, and mad read only. Object methods are actions that can be performed on objects.
JavaScript object properties can be displayed according to name, within a loop, using Object.values(), or using JSON.stringify().
When many JavaScript objects of the same type need to be created, an “object type” can be be created using an object constructor function.
In JavaScript, the this keyword is used to refer to various objects.
In JavaScript Objects, unpacking the object properties into variables is called destructuring.
In JavaScript, there are numerous ways to iterate though the properties of an object.