Scope of a variable is the part of the program from where the variable may directly be accessible. In JavaScript, there are two types of scopes: Global Scope – Scope outside…
People are eager to let friends know about content they enjoy. Consistent sharing means an extra opportunity to grow your network and increase relevant traffic sources for your website. While…
In previous article we discussed what is JavaScript and now lets start learning. In this article, we will get down to the real basics, looking at how to work with…
JavaScript is the foundation of frontend web development and is the key ingredient in frameworks like React, Angular and VueJS. It can also be used to create backend with platforms…
As you maybe guessing CSS lets you apply borders to most HTML elements. To make a border all you need is to use border tag. First you need to specify…
Margin and padding in CSS are the most used properties of spacing out elements. A margin is the space outside element and padding is the space inside the element. For…
With CSS you can change the size and shape of the text with a range of properties. Let’s talk about that. Font-family Font-family specifies font itself like Times New Roman,…
CSS lets you use 16,777,216 colors. You can simply write color name, use RGB (red/green/blue) or hex code. For example following values gets you the same result: red rgb(255,0,0) rgb(100%,0%,0%) #ff0000…
Selectors are the names given to styles in internal and external CSS. For each selector there are properties written inside curly brackets like - color, font-size or background-color.
Maybe you are wondering how this CSS code is actually applied to HTML...