types of Comments
- single line Comments
- multi-line comments
// this is a single line comment
let a = b+c // add b and and results returned by a
/** this is block comment */
/** adds two numbers: a and b
*
*/
const add=(a,b) => a+b- let
- var
- cosnt
javascript has a number of data types => Data structures
- number 1,2 ,3, 4,
- arrays - map, forEach, loops,
- strings - split, lenth
- objects {} -> one of the complex types. JSON: JavaScript Objects Notation , namespace
- Types of functions : named functions and arrow functions
- creating re-usable functions
- if statemenst
- switch statements
- tenary operators
- create elements dynamicslly
- crreate attributes
- styling htm using js
- creating tables using dynamic data object or arrays
- Promises -
- async/await -
- using the remote data in HTML
- create data
- fetch the data
- deploy to Github