NCNaresh Chandragiriinnareshblogs.dev·Mar 25, 2023 · 11 min readLearn: Array MethodsConverting Array values to String The JavaScript method toString() converts an array of values to Single String. const fruits = ["Banana", "Orange", "Apple", "Mango"]; console.log(fruits.toString()); //Output: Banana,Orange,Apple,Mango The join() me...00
NCNaresh Chandragiriinnareshblogs.dev·Mar 25, 2023 · 4 min readLearn: ArraySimply Array is to store multiple values in one variable. Syntax: const array_name = [item1, item2, ...]; ( Here we assign array literal to the variable array_name) Why Arrays? If we want to store 3 values we can store in three variables like let car...00
NCNaresh Chandragiriinnareshblogs.dev·Jan 20, 2023 · 4 min readLearn: Grid and it's propertiesWhat is Grid? The Grid module offers the items arranged in rows and columns of the grid in 2D. Whereas the flex offers only 1D either row-wise or column-wise. Elements The gird contains one parent and many children items. <html> <head> <style> .grid...00
NCNaresh Chandragiriinnareshblogs.dev·Jan 20, 2023 · 4 min readLearn: Media QueryWhat is Media Query? It uses the @media rule to include a block of CSS properties only if a certain condition is true. Here we are selecting the particular block and made changes according to the device sizes. @media only screen and (max-width: 600px...00
NCNaresh Chandragiriinnareshblogs.dev·Jan 18, 2023 · 3 min readLearn: Box-ModelEvery HTML element is treated as a box, the box model is nothing but the element has the margin , border , padding , content . It mainly talks about the layout of the element. Margin The margin is nothing but we are giving the space outside the bord...00