Frontend Technologies
-
What is JavaScript
JavaScript is a high level dynamic, untyped and interpreted programming language standardized in the ECMAScript language specification, that alongside HTML and CSS is one of the three core…
-
HTML Block and Inline Elements
Every HTML element has a default display value depending on what type of element it is. The default display value for most elements is block or inline. Block-level Elements A block-level element…
-
CSS Margins
The CSS margin properties are used to create space around elements, outside of any defined borders. With CSS, you have full control over the margins. There are properties for setting the margin for…
-
CSS Padding
The CSS padding properties are used to generate space around an element's content, inside of any defined borders. With CSS, you have full control over the padding. There are properties for setting…
-
Div and Span
What is the difference between HTML tags and ? div is a block element, span is inline. This means that to use them semantically, divs should be used to wrap sections of a document, while spans should…
-
float CSS property
The float CSS property specifies that an element should be placed along the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the…
-
CSS Layout - The position Property
The position Property The position property specifies the type of positioning method used for an element. There are five different position values: static relative fixed absolute sticky Elements are…
-
CSS z-index Property
The z-index property specifies the stack order of an element. An element with greater stack order is always in front of an element with a lower stack order. Note: z-index only works on positioned…
-
CSS display Property
Definition and Usage The display property specifies the display behavior of an element. Note: Every element on a web page is a rectangular box. The CSS display property determines how that…
-
MyJson.com API example
$(document).ready(function () { var mohit_json; $.ajax({url: "https://api.myjson.com/bins/1166d9", success: function(result){ console.log(result); mohit_json = result; if…