SSshobhit shetainshobhitsheta.hashnode.dev·Sep 11, 2022 · 4 min readJavaScript Interview CheatsheetScope The accessibility or visibility of variales is known as Scope. There are 3 types of Scope: Block scope Function scope Global scope 1. Block scope: Two important new JavaScript keywords let and const provide Block Scope in JavaScript. E...00
SSshobhit shetainshobhitsheta.hashnode.dev·Aug 27, 2022 · 4 min readAll about Arrays in JavaScriptArray Arrays are Objects. The type of operator in JavaScript returns "object" for arrays. But, JavaScript arrays are best described as arrays. Arrays use numbers to access their "elements". Example: const num= ['1', '2', '3']; Creating an Array...00
SSshobhit shetainshobhitsheta.hashnode.dev·Aug 15, 2022 · 6 min readAll About FlexboxFlexbox Display Display: flex The flex container becomes flexible by setting the display property to flex. Example: *HTML <div class="flex-container"> <div>1</div> <div>2</div> <div>3</div> </div> CSS #mymain { height: 100px; display: flex; } #m...00
SSshobhit shetainshobhitsheta.hashnode.dev·Aug 15, 2022 · 4 min readCSS PositionStatic The position property sets how an element is positioned in a document. The top, right, bottom, and leftproperties determine the final location of positioned elements. Relative An element’s original position remains in the flow of the document,...00
SSshobhit shetainshobhitsheta.hashnode.dev·Jul 23, 2022 · 3 min readLearn Git BasisGit Configuration Set the name that will be attached to your commits and tags. $ git config --global user.name “Your Name” Set the e-mail address that will be attached to your commits and tags. $ git config --global user.email “you@example.com” ...00