diff --git a/2oct2021.html b/2oct2021.html new file mode 100644 index 0000000..8ee59e1 --- /dev/null +++ b/2oct2021.html @@ -0,0 +1,53 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git a/Instructions.txt b/Instructions.txt new file mode 100644 index 0000000..19ef7b5 --- /dev/null +++ b/Instructions.txt @@ -0,0 +1,72 @@ +How to work in git branch + +git branch + + +1. Create the branch + +2. Switch to the branch + + +git checkout -b <new-branch> + +master -> newbranch + +git checkout -b 1oct2021 + +document. + +. = member selection operator + +object.member +document.getElementByID() + + +Arithmetic operators ++ = addition +- = substraction +/ +* += Assignment Operator + + +String Value +"" = Double Qoute +'' = Single Qoute +document.getElementById('root').innerHTML = 'Good Morning'; + +Associativity + Left = Right + Left <- Right + + +If you want to create a variable + +var ; +var x; +var y; +var var; + +Variables are stored in Memory (RAM Radom Access Memory) + +16 GB - 8 byte x,y (4+4) + +WHo is the best Software Engineer? +The Software Engineer who will utilize the best system resources + + + +Bodmass Rule Human (General Math) = Prescedence of Operator (Computer) + + z = x + y; //Expression(Programming) = Equation(Math) + +x and y are operands + +operand + operands + ++ having higer priority (Prescedence) += have log priority + + +Tell me how many operator you can see? +2 Operator = + \ No newline at end of file diff --git a/Instructions2.txt b/Instructions2.txt new file mode 100644 index 0000000..300bbd5 --- /dev/null +++ b/Instructions2.txt @@ -0,0 +1,52 @@ +ECMA = European Computer Manufacturers Association + +Interview Question? + +What is the official name of Javascirpt + +Ans : ECMAScript = ES + +Note:- + +Code is executed from Top To Bottom Line by Line + +What are functions? + +Functions are resusable block of code + +We are repeating the code + + +function name(parameter1, parameter2, parameter3) { + // code to be executed +} + +DRY Principle += Dont Repeat Yourself + +Assignment +1. Create a function for subraction,division,multiplication,Addition? + +2. Create a function which accept your first and last name +and give a console log "Hello Anil Dollor How are you" + + +3. Create functions form A to Z? +ex +//1. Function Defination is one time process + +//camelCase +function myFunctionA(){ +} + +//2 Function Calling is many time process + +function myFunctionB(){ +} +function anilDollor(){ +} + +x('Anil',"Dolor") + + + diff --git a/index.html b/index.html index e69de29..81b1650 100644 --- a/index.html +++ b/index.html @@ -0,0 +1,55 @@ + + + + + + + Document + + + + +
OKLABS
+ + + + \ No newline at end of file