A Brief introduction to javascript


Introduction JavaScript is a cross-platform, object-oriented scripting language. It is a small and lightweight language. Inside a host environment (for example…
Read more »

Code for creating a basic web page.


<style> html { /* Setting a base font size of 10px give us easier rem calculations Info: 1rem === 10px, 1.5rem === 15px, 2rem === 20px and so forth */ …
Read more »

The repeat function in CSS


Reduce Repetition Using the repeat Function: When you used grid-template-columns and grid-template-rows to define the structure of a grid, you entered a value…
Read more »

The area function in html


Divide the Grid Into an Area Template: You can group cells of your grid together into an area and give the area a custom name. Do this by using grid-template-…
Read more »

the alignment property in CSS


Align an Item Horizontally using justify-self: In CSS Grid, the content of each item is located in a box which is referred to as a cell. You can align the con…
Read more »

The grid property in CSS


Use grid-column to Control Spacing Up to this point, all the properties that have been discussed are for grid containers. The grid-column property is the fir…
Read more »

CSS grid


Create Your First CSS Grid: Turn any HTML element into a grid container by setting its display property to grid. This gives you the ability to use all the oth…
Read more »

The flex shorthand property


Use the flex Shorthand Property: There is a shortcut available to set several flex properties at once.  The flex-grow, flex-shrink, and flex-basis properties …
Read more »

The Flex Property in CSS


Use the flex-wrap Property to Wrap a Row or Column: CSS flexbox has a feature to split a flex item into multiple rows (or columns). By default, a flex contain…
Read more »

Align Elements Using the align-items Property:


Align Elements Using the align-items Property: The align-items property is similar to justify-content. Recall that the justify-content property aligned flex i…
Read more »

Align Elements Using the justify-content Property:


Align Elements Using the justify-content Property: Sometimes the flex items within a flex container do not fill all the space in the container.  It is common …
Read more »

CSS flexbox


Use display: flex to Position Two Boxes: Placing the CSS property "display: flex;"   on an element allows you to use other flex properties to build…
Read more »

Use a Retina Image for Higher Resolution Displays


Use a Retina Image for Higher Resolution Displays With the increase of internet connected devices, their sizes and specifications vary, and the displays they…
Read more »

Create a Media Query


Create a Media Query Media Queries are a new technique introduced in CSS3 that changes the presentation of content based on different viewport sizes.  The vi…
Read more »