Home > Anil Kolase

Difference between semantic and non-semantic elements

semantic elements Elements has meaning. Describes its meaning to browser and developer. Example [crayon-66055493ce54d475361306/] Some of semantic elements <section> - <section> element is grouping content. We can split page into different sections. [crayon-66055493ce55a353731389/] <article> - <article> element is independent and has self-contained content. <article> element used to write Forum post, Blog post, Newspaper article. [crayon-66055493ce55f539903397/] <header> - <header> element specifies header

This Article is TAGGED in , . Read more

Web Storage in HTML5

Web Storage Using Web Storage we can store data within web browser. Within Web Storage we can stored large amount of data locally. Data within Web Storage is secured. Objects in Web Storage window.localStorage - can not expire data(even if we can removed it). window.sessionStorage - data lost when browser tab closed. Methods in Web Storage setItem(name, value) -

This Article is TAGGED in . Read more

Array functions in javascript

Javascript array functions 1. toString() - convert array to string [crayon-66055493cf0d7751946285/] 2. pop() - remove/delete last element from an array [crayon-66055493cf0df551929435/] 3. push() - add/insert element at the top [crayon-66055493cf0e3876938331/] 4. shift() - remove/delete first element from an array [crayon-66055493cf0e7993514828/] 5. unshift() - add/insert element at first position [crayon-66055493cf0ec934870529/] 6. concat() - merged(concat) existing array and create new array [crayon-66055493cf0f0291917627/] 7. slice() -

This Article is TAGGED in , , , , , , , . Read more

How to create/build web application in Angular?

1. Download and install Node Package Manager(npm) Link to download npm (https://nodejs.org/en/download/) 2. Then install ANGULAR CLI globally Open cmd and Run command [crayon-66055493cf4d0408093670/] It can install angular globally 3. To Check version on command [crayon-66055493cf4d9397292542/] [crayon-66055493cf4dd343078122/] [crayon-66055493cf4e0930259723/] 4. Create new project Open terminal and run command [crayon-66055493cf4e4675840218/] Here we create project name my-app Angular cli installs npm packages and creates project files 5. Run

This Article is TAGGED in , . Read more