├── .txt ├── README.md └── modules ├── Amal └── index.html ├── Anandhu └── index.html ├── Anas ├── CSS │ ├── flexbox.html │ ├── position.html │ └── pseudo.html ├── Events │ ├── events.html │ ├── events.js │ └── events.txt ├── Execution_ Context.txt ├── JS methods │ ├── array.js │ ├── number.js │ ├── object.js │ └── string.js ├── closure.js ├── dom.html ├── dom.js ├── index.html ├── index.js ├── lexical_scop.js ├── scop.js ├── style.css └── this.js ├── Fasalu ├── HTML.html └── index.html ├── Midhun └── index.html ├── Muheenudheen ├── chainPromise.js ├── clouser.js ├── eventBubbling.js ├── eventCapturing.js ├── index.html ├── promise.js └── style.css ├── Priyanandan ├── FLEX.html ├── anagram.html ├── arrayfunctions.html ├── bankbalancecheck.html ├── chainsawman.jpg ├── form.html ├── functions.html ├── htmlQ1.html ├── image.html ├── index.html ├── index.js ├── largestoneusingloop.html ├── list.html ├── logicQ1.html ├── logicQ2.html ├── maincontent.html ├── map.html ├── oddoreven.html ├── patternQ1.html ├── patternQ2.html ├── style.css ├── table.html └── zindex.html ├── Raveen └── index.html └── Salih ├── JS ├── add eventlisteners.html ├── age after 5.html ├── age deffrence.html ├── ageMembers.html ├── alphabetpattern.html ├── arr.html ├── arrange cap and non cap.html ├── array of multiples.html ├── array return more than4.html ├── array.html ├── arraymethod.html ├── average mark.html ├── bank balance checking.html ├── bridge on true.html ├── bridgeon true.html ├── calculator.html ├── callback.html ├── camelcase.html ├── climbing stair.html ├── copywith.html ├── destructuring.html ├── displayTextInTheTextBox.html ├── eliminate duplicate.html ├── evenodd.html ├── extract cap and nonn cap.html ├── fetch.html ├── findLargest.html ├── function sum of array.html ├── getSalary.html ├── grade of the mark.html ├── hocFunction.html ├── holo star pattern.html ├── iife.js ├── import export.html ├── index.html ├── india pattern.html ├── largest element.html ├── largest of arrays.html ├── largest.html ├── leapyear.html ├── leetCodeQst-283 │ └── leetCode-283.js ├── leetCodeQst1342.js ├── leetCodeQst1816.js ├── leetcode qst.html ├── length of last word.html ├── length of string even odd.html ├── longest word in a string.html ├── longestt word in array.html ├── math.html ├── mergearray.html ├── mergelist.html ├── numberpattern.html ├── numpalindrom.html ├── object and funnction constructor.html ├── object.html ├── odd or even function.html ├── palindrom.html ├── palindrome.html ├── pattern.html ├── plus one.html ├── positiveneagtive.html ├── promise using calculation.html ├── promise-all.html ├── promise.html ├── promise2.html ├── promiseCalcChain.js ├── promiseall,async and await.html ├── question destructure.html ├── recursion.html ├── remove all ocuurance in array.html ├── rest parameter.html ├── return double strinng.html ├── return repeate string.html ├── reverse string.html ├── sample.html ├── scope in.html ├── scope.html ├── script1.js ├── script2.js ├── script3.js ├── search insert position.html ├── selfivok.html ├── setIntervel.js ├── shiftoperator.html ├── sortindecending.html ├── starpattern.html ├── string.html ├── style color js.html ├── sum of positive array.html ├── synchronous and asychnrous using settimeout.html ├── this keyword.html ├── total price.html ├── totalPrice.html ├── triangle pattern.html ├── true if tow strings are lengthequal.html ├── two arguments multiplication.html ├── valid palindrome.html ├── word reverse.html └── world pattern.html ├── calculator.html ├── hovereffect.css ├── hovereffect.html ├── index.js └── style.css /.txt: -------------------------------------------------------------------------------- 1 | 2 | ➢ CDN vs Download 3 | ➢ Event Listeners 4 | ➢ Call Stack 5 | ➢ Types of Scopes 6 | ➢ Array Methods 7 | ➢ String Methods 8 | ➢ Object Methods 9 | ➢ Number Methods ➢ Boolean Methods 10 | ➢ Math Methods 11 | ➢ Execution Context 12 | ➢ Data Types 13 | ➢ Key Words 14 | ➢ Functions 15 | ➢ Types of Functions 16 | ➢ Arithmetic Operators 17 | ➢ Logical Operators 18 | ➢ Assignment Operators 19 | ➢ Comparison Operators 20 | ➢ Array Iterations 21 | ➢ This Keywords 22 | ➢ Event Handlers 23 | ➢ Types of Errors 24 | ➢ Exception Handling 25 | ➢ Hoisting 26 | ➢ Strict Mode 27 | ➢ Call Back 28 | ➢ Call Back Hell 29 | ➢ Closure 30 | ➢ Higher Order Function 31 | ➢ Pure Function 32 | ➢ Prototype 33 | ➢ IIFE 34 | ➢ Anonymous Function 35 | ➢ Event Loop 36 | ➢ Optional Chaining 37 | ➢ Local Storage & Session Storage 38 | ➢ Currying 39 | ➢ Call, Apply, Bind 40 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

practice your html and css skills

2 | -------------------------------------------------------------------------------- /modules/Amal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/Anandhu/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/Anas/CSS/flexbox.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

Flex box

10 | 11 |
12 |
1
13 | 14 | 15 |
16 | 29 | 30 | -------------------------------------------------------------------------------- /modules/Anas/CSS/position.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 | 11 |
12 |
13 | 14 |
child
15 |
16 |
17 | 18 | 42 | 43 | -------------------------------------------------------------------------------- /modules/Anas/CSS/pseudo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

P

10 | 22 | 23 | -------------------------------------------------------------------------------- /modules/Anas/Events/events.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 | 12 |
hello
13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /modules/Anas/Events/events.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | const btn = document.getElementsByTagName('button')[0]; 4 | const div = document.getElementsByClassName('hello')[0]; 5 | 6 | 7 | let per= div.innerHTML 8 | 9 | btn.addEventListener('click', function() { 10 | 11 | 12 | if(div.innerHTML === 'Hello World') { 13 | div.innerHTML = per 14 | }else{ 15 | div.innerHTML = 'Hello World'; 16 | } 17 | }); 18 | 19 | -------------------------------------------------------------------------------- /modules/Anas/Events/events.txt: -------------------------------------------------------------------------------- 1 | Mouse Events: 'click', 'dblclick', 'mousedown', 'mouseup', 'mousemove', 'mouseover', 'mouseout' 2 | 3 | Keyboard Events: 'keydown', 'keyup', 'keypress' 4 | 5 | 6 | Form Events: 'submit', 'change', 'input', 'focus', 'blur' 7 | 8 | Window Events: 'load', 'resize', 'scroll', 'unload', 'beforeunload' 9 | 10 | Touch Events: 'touchstart', 'touchmove', 'touchend', 'touchcancel' 11 | 12 | Pointer Events: 'pointerdown', 'pointerup', 'pointermove', 'pointerover', 'pointerout' 13 | 14 | Drag Events: 'drag', 'dragstart', 'dragend', 'dragover', 'dragenter', 'dragleave', 'drop' 15 | 16 | Animation Events: 'animationstart', 'animationend', 'animationiteration' 17 | 18 | Transition Events: 'transitionstart', 'transitionend', 'transitioncancel' 19 | 20 | Clipboard Events: 'copy', 'cut', 'paste' 21 | -------------------------------------------------------------------------------- /modules/Anas/Execution_ Context.txt: -------------------------------------------------------------------------------- 1 | 2 | Execution Context 3 | 4 | 5 | => An execution context is essentially a container that holds the code that is being executed, including the variables, functions, and the scope 6 | => It determines how variables and functions are accessed and executed. 7 | => Every time a function is called or code is executed, a new execution context is created. 8 | 9 | -------------------------------------------------------------------------------- /modules/Anas/JS methods/array.js: -------------------------------------------------------------------------------- 1 | // javascript array methods 2 | 3 | 4 | //---- push ----// 5 | 6 | // Add elements to the end of an array. 7 | let arr = [1,2,3,4]; 8 | 9 | arr.push(5); 10 | console.log(arr); // [ 1, 2, 3, 4, 5 ] 11 | 12 | 13 | //-------pop-------/ 14 | 15 | //Removes the last element from an array 16 | let arr1 = [1,2,3,4]; 17 | arr.pop(); 18 | console.log(arr1);// [ 1, 2, 3, 4 ] 19 | 20 | -------------------------------------------------------------------------------- /modules/Anas/JS methods/number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Anas/JS methods/number.js -------------------------------------------------------------------------------- /modules/Anas/JS methods/object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Anas/JS methods/object.js -------------------------------------------------------------------------------- /modules/Anas/JS methods/string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Anas/JS methods/string.js -------------------------------------------------------------------------------- /modules/Anas/closure.js: -------------------------------------------------------------------------------- 1 | 2 | // closure in javascript 3 | 4 | // closure is a feature where a function retains access to its lexical scope even after 5 | // the function has finished executing. 6 | 7 | 8 | /** 9 | * createCounter function 10 | * 11 | * This function creates a closure, where an inner function retains access to its lexical scope even after 12 | * the outer function has finished executing. The inner function increments a 'count' variable and returns it. 13 | * 14 | * @return {function} Anonymous function that increments and returns the 'count' variable 15 | */ 16 | function createCounter(){ 17 | 18 | /** 19 | * The 'count' variable is declared and initialized to 0. 20 | * This variable is a part of the lexical scope of the 'createCounter' function. 21 | * The inner function created by 'createCounter' has access to this variable. 22 | * @type {number} 23 | */ 24 | let count = 0; 25 | 26 | /** 27 | * The anonymous function returned by 'createCounter' increments the 'count' variable 28 | * and returns its new value. 29 | * @return {number} The incremented value of 'count' 30 | */ 31 | return function(){ 32 | count += 1; 33 | return count; 34 | }; 35 | } 36 | 37 | console.log(createCounter()); // [Function (anonymous)] 38 | 39 | const counter = createCounter(); 40 | 41 | console.log(counter());//1 42 | console.log(counter());//2 43 | console.log(counter());//3 44 | console.log(counter());//4 45 | 46 | 47 | function a(){ 48 | var vr=10; 49 | return function b(){ 50 | return vr 51 | } 52 | } 53 | var h = a(); 54 | console.log(h()); 55 | 56 | 57 | function func(){ 58 | 59 | function name() { 60 | console.log(x); 61 | } 62 | 63 | name(); 64 | } 65 | 66 | const x = 10; 67 | func(); 68 | 69 | -------------------------------------------------------------------------------- /modules/Anas/dom.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 | 11 |
hello
12 | 13 |
1 first class
14 |
2first class
15 |
3first class
16 |
4first class
17 |
5first class
18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modules/Anas/dom.js: -------------------------------------------------------------------------------- 1 | 2 | const dom = document.getElementById("dom"); 3 | 4 | const myclass = document.getElementsByClassName("myclass"); 5 | 6 | console.log(myclass); 7 | 8 | for (let i = 0; i < myclass.length; i++) { 9 | // console.log(myclass[i].innerText); 10 | const delay = i * 1000; 11 | setTimeout(() => { 12 | myclass[i].style.color="red"; 13 | }, delay); 14 | 15 | } 16 | 17 | const myselector = document.querySelector(".myclass"); 18 | 19 | const myselectorAll = document.querySelectorAll(".myclass"); 20 | 21 | console.log(myselector.textContent ,"myselector"); 22 | 23 | console.log(myselectorAll[4].setAttribute("style","color:blue").textContent,"myselectorAll"); 24 | 25 | myselectorAll[1].createElement("p").textContent = "hello"; 26 | 27 | console.log(myselectorAll[1]); 28 | 29 | // const get = myselectorAll[0].getAttribute("style"); 30 | 31 | 32 | // console.log("get" , get); 33 | -------------------------------------------------------------------------------- /modules/Anas/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 |
Hello World
12 |
Hello World
13 | 14 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /modules/Anas/index.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | // const normalFunction =(...arg) =>{ 5 | // console.log(arg); 6 | // } 7 | // normalFunction(1, 2, 3); // Output: [1, 2, 3] 8 | -------------------------------------------------------------------------------- /modules/Anas/lexical_scop.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | /** 6 | * The function c() returns a function that, when called, 7 | * increments and returns the value of a variable x. 8 | * 9 | * @return {Function} A function that increments and returns the value of x. 10 | */ 11 | const c = () => { 12 | // Declare a variable x with an initial value of 10. 13 | var x = 10; 14 | 15 | // Return a function that, when called, increments and returns the value of x. 16 | return function() { 17 | /** 18 | * Increment the value of x by 1 and return the new value. 19 | * 20 | * @return {number} The incremented value of x. 21 | */ 22 | return x++; 23 | }; 24 | }; 25 | 26 | const b = c(); 27 | 28 | console.log(b()); 29 | console.log(b()); 30 | console.log(b()); 31 | console.log(b()); -------------------------------------------------------------------------------- /modules/Anas/scop.js: -------------------------------------------------------------------------------- 1 | 2 | // Scop in javascriopt 3 | // var name = "nameles"; 4 | 5 | 6 | // function nameFunc(){ 7 | // // var name1 = "name"; 8 | // let age = 5; 9 | // // console.log(name); 10 | 11 | // } 12 | 13 | 14 | // { 15 | 16 | // var name = "na"; 17 | // // console.log(age); 18 | // } 19 | 20 | // console.log(name) 21 | // console.log(name) 22 | 23 | // nameFunc(); // nameles 24 | 25 | // console.log(name1); // not defined 26 | 27 | 28 | // var: Function-scoped or globally-scoped variable, can be re-declared and updated. 29 | // let: Block-scoped variable, can be updated but not re-declared in the same scope. 30 | // const: Block-scoped variable, cannot be updated or re-declared. 31 | 32 | 33 | function a(){ 34 | let x = 10; 35 | const b =()=>{ 36 | console.log(x); 37 | } 38 | return b; 39 | 40 | } 41 | 42 | const c = a(); 43 | c(); 44 | console.log(c) -------------------------------------------------------------------------------- /modules/Anas/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Anas/style.css -------------------------------------------------------------------------------- /modules/Anas/this.js: -------------------------------------------------------------------------------- 1 | 2 | console.log(this) 3 | 4 | /** 5 | * This function defines a function named getName which logs the name property of an object, 6 | * when called as a method of that object. 7 | * 8 | * It creates an object with a name property and a getName method. It then logs the name property 9 | * of the object when the getName method is called on the object. 10 | */ 11 | function getName() { 12 | // Create an object with a name property and a getName method. 13 | const obj = { 14 | // The name property of the object. 15 | name: 'harry', 16 | // The getName method of the object. 17 | getName: function() { 18 | // Log the name property of the object when the getName method is called on the object. 19 | console.log(this.name); 20 | } 21 | }; 22 | 23 | // Call the getName method on the object. 24 | obj.getName(); 25 | } 26 | 27 | 28 | 29 | function getName1(){ 30 | 31 | } 32 | getName() 33 | 34 | 35 | 36 | const person1 = { 37 | name:'salih', 38 | getName:getName 39 | 40 | } 41 | person1.getName() 42 | 43 | 44 | console.log(Object.keys(person1)); 45 | 46 | 47 | const map =new Map(); 48 | map.set('name','salih') 49 | map.set('age',21) 50 | map.set('city','karachi') 51 | console.log(map.get('name')); 52 | console.log(map.has('name')); 53 | map.forEach((value,key)=>console.log(key,value)) 54 | 55 | 56 | function getperson(a,b,c,d){ 57 | console.log(a,b,c,d) 58 | console.log(this.name) 59 | } 60 | 61 | const person = { 62 | name:'salih kk', 63 | 64 | } 65 | var b= 10; 66 | getperson.call(person,"4","4","4",b); 67 | getperson.apply(person,["4","4","4",b]); 68 | // const persons = getperson.bind(person); 69 | // persons(); 70 | 71 | 72 | const name1 = { 73 | nameless:"nameless", 74 | age:10, 75 | b(){ 76 | return ageName =()=>{ 77 | return this 78 | } 79 | 80 | } 81 | } 82 | 83 | console.log(name1.b()()); -------------------------------------------------------------------------------- /modules/Fasalu/HTML.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

this is heading

10 | 11 | -------------------------------------------------------------------------------- /modules/Fasalu/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Fasalu/index.html -------------------------------------------------------------------------------- /modules/Midhun/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/Muheenudheen/chainPromise.js: -------------------------------------------------------------------------------- 1 | 2 | const promise1=new Promise((resolve,reject)=>{ 3 | setTimeout(()=>resolve('first promise resolved'),1000) 4 | }) 5 | 6 | const promise2=new Promise((resolve,reject)=>{ 7 | setTimeout(()=>resolve('first promise resolved'),1000) 8 | }) 9 | 10 | const promise3=new Promise((resolve,reject)=>{ 11 | setTimeout(()=>resolve('first promise resolved'),1000) 12 | }) 13 | 14 | 15 | promise1 16 | .then((result1)=>{ 17 | console.log(result1) 18 | return promise2 19 | }) 20 | .then((result2)=>{ 21 | console.log(result2); 22 | return promise3 23 | 24 | }) 25 | .then((result3)=>{ 26 | console.log(result3); 27 | 28 | }) 29 | .catch((error)=>{ 30 | console.log(error); 31 | }) -------------------------------------------------------------------------------- /modules/Muheenudheen/clouser.js: -------------------------------------------------------------------------------- 1 | 2 | function outerFunction(){ 3 | let a='outerFunction'; 4 | 5 | function innerFunction(){ 6 | console.log(a); 7 | 8 | } 9 | 10 | 11 | return innerFunction; 12 | } 13 | 14 | 15 | const MyFunction= outerFunction() 16 | 17 | MyFunction() -------------------------------------------------------------------------------- /modules/Muheenudheen/eventBubbling.js: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 | 7 | 8 | 9 | 10 | document.getElementById('parent').addEventListener('click', function() { 11 | alert('Parent element clicked!'); 12 | }); 13 | 14 | document.getElementById('child').addEventListener('click', function(event) { 15 | alert('Child element clicked!'); 16 | }); 17 | 18 | 19 | 20 | 21 | 22 | document.getElementById('child').addEventListener('click', function(event) { 23 | event.stopPropagation(); // This stops the event from bubbling up 24 | alert('Child element clicked!'); 25 | }); 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /modules/Muheenudheen/eventCapturing.js: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | document.getElementById('parent').addEventListener('click', function() { 13 | alert('Parent element clicked during capturing phase!'); 14 | }, true); 15 | 16 | document.getElementById('child').addEventListener('click', function() { 17 | alert('Child element clicked!'); 18 | }, true); 19 | -------------------------------------------------------------------------------- /modules/Muheenudheen/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Profile Card 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 | Profile Picture 18 |

Muheenudheen

19 |

Web Developer

20 |

Passionate about coding and building innovative web applications.

21 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Muheenudheen/promise.js: -------------------------------------------------------------------------------- 1 | const myPromise = new Promise(function(resolve, reject) { 2 | const isAvailable = false; // Corrected the variable name 3 | 4 | if (isAvailable) { 5 | resolve("good"); 6 | 7 | 8 | } else { 9 | reject("bad"); 10 | } 11 | }); 12 | 13 | 14 | myPromise 15 | .then(function(result){ 16 | console.log(result); 17 | 18 | }) 19 | .catch(function(error){ 20 | console.log(error); 21 | 22 | }) -------------------------------------------------------------------------------- /modules/Muheenudheen/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | display: flex; 3 | justify-content: center; 4 | align-items: center; 5 | height: 100vh; 6 | margin: 0; 7 | font-family: Arial, sans-serif; 8 | background-color: #f0f0f0; 9 | } 10 | 11 | .profile-card { 12 | background-color: #ffffff; 13 | border-radius: 10px; 14 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 15 | text-align: center; 16 | padding: 30px; 17 | width: 300px; 18 | } 19 | 20 | .profile-img { 21 | width: 150px; 22 | height: 150px; 23 | border-radius: 50%; 24 | object-fit: cover; 25 | margin-bottom: 20px; 26 | } 27 | 28 | h2 { 29 | margin: 10px 0; 30 | font-size: 24px; 31 | color: #333333; 32 | } 33 | 34 | h3 { 35 | margin: 5px 0; 36 | font-size: 18px; 37 | color: #666666; 38 | } 39 | 40 | p { 41 | font-size: 14px; 42 | color: #777777; 43 | margin-bottom: 20px; 44 | } 45 | 46 | .follow-btn { 47 | background-color: #007bff; 48 | color: #ffffff; 49 | border: none; 50 | padding: 10px 20px; 51 | border-radius: 5px; 52 | font-size: 16px; 53 | cursor: pointer; 54 | transition: background-color 0.3s; 55 | } 56 | 57 | .follow-btn:hover { 58 | background-color: #0056b3; 59 | } 60 | -------------------------------------------------------------------------------- /modules/Priyanandan/FLEX.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 33 | 34 | 35 | 36 | 37 |
38 |
39 |
1
40 |
2
41 |
3
42 |
4
43 |
5
44 |
6
45 |
46 | 47 | 48 |
49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /modules/Priyanandan/anagram.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | anagram 7 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /modules/Priyanandan/arrayfunctions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 136 | 137 | 138 | -------------------------------------------------------------------------------- /modules/Priyanandan/bankbalancecheck.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |
10 |
11 |         
12 |          
13 |     
14 |         
15 |          
16 |        
17 |         
18 | 
19 |         

20 |
21 |
22 | 51 | 52 | -------------------------------------------------------------------------------- /modules/Priyanandan/chainsawman.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Priyanandan/chainsawman.jpg -------------------------------------------------------------------------------- /modules/Priyanandan/form.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | form 7 | 8 | 9 |
10 |
11 |

enter your details

12 | 13 | 14 |

15 | 16 | 17 |



18 | 19 |
20 | 21 |

Form with Radio Buttons and Checkboxes

22 | 23 | 24 |
25 | 26 | 27 |
28 | 29 | 30 |

31 | 32 | 33 |
34 | 35 | 36 |
37 | 38 | 39 | 40 |
41 |


42 | 43 | 44 |

Form with a Dropdown Menu and a Button

45 | 46 |


51 | 52 |

Enter Your Comments

53 | 54 |
55 |

56 | 57 | 58 |
59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 |
79 | 80 | -------------------------------------------------------------------------------- /modules/Priyanandan/functions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 40 | 41 | -------------------------------------------------------------------------------- /modules/Priyanandan/htmlQ1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 20 | 21 | -------------------------------------------------------------------------------- /modules/Priyanandan/image.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | image 7 | 8 | 9 |

Chainsaw Man

10 | chainsaw man 11 | 12 | -------------------------------------------------------------------------------- /modules/Priyanandan/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/Priyanandan/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Priyanandan/index.js -------------------------------------------------------------------------------- /modules/Priyanandan/largestoneusingloop.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Find Largest Value 7 | 8 | 9 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /modules/Priyanandan/list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | List 7 | 13 | 14 | 15 | 16 |

Cars

17 | 28 |
    29 |
  1. 30 | Benz 31 |
  2. 32 |
  3. 33 | Bmw 34 |
  4. 35 |
  5. 36 | Audi 37 |
  6. 38 |
39 |
40 |

indan

41 |
42 | The top Indian car brands are Mahindra, Tata. Explore the list of best cars price in India and Compare cars to find the right car for you. Also, check out Top. 43 |
44 |

45 | foreign 46 |

47 |
48 | Strictly speaking, a foreign car is a car that has its parts made and assembled outside the U.S. 49 |
50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /modules/Priyanandan/logicQ1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Q1 7 | 8 | 9 | 31 | 32 | -------------------------------------------------------------------------------- /modules/Priyanandan/logicQ2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Q2 7 | 8 | 9 | 21 | 22 | -------------------------------------------------------------------------------- /modules/Priyanandan/maincontent.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | amazon 7 | 21 | 22 | 23 | 24 |

25 | Amazon 26 |

27 |
28 | 29 | 30 |

31 | Rain forest 32 |

33 |
34 |
35 |

36 | The Amazon rainforest,[a] also called Amazon jungle or Amazonia, is a moist broadleaf tropical rainforest in the Amazon biome that covers most of the Amazon basin of South America. This basin encompasses 7,000,000 km2 (2,700,000 sq mi),[2] of which 6,000,000 km2 (2,300,000 sq mi) are covered by the rainforest.[3] This region includes territory belonging to nine nations and 3,344 indigenous territories. 37 |

38 | 39 | -------------------------------------------------------------------------------- /modules/Priyanandan/map.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | MAP 7 | 8 | 9 | 22 | 23 | -------------------------------------------------------------------------------- /modules/Priyanandan/oddoreven.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | odd or even 7 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /modules/Priyanandan/patternQ1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | pattern 7 | 8 | 9 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modules/Priyanandan/patternQ2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | pattern 7 | 8 | 9 | 19 | 20 | -------------------------------------------------------------------------------- /modules/Priyanandan/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Priyanandan/style.css -------------------------------------------------------------------------------- /modules/Priyanandan/table.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Simple HTML Table 7 | 24 | 25 | 26 |

My Sample Table

27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 |
box 1box 2
carbikeplain
fishcatdog
iphonesamsungnokia
53 | 54 | 55 | -------------------------------------------------------------------------------- /modules/Priyanandan/zindex.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Z-Index Example 7 | 29 | 30 | 31 |
32 |
33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /modules/Raveen/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Raveen/index.html -------------------------------------------------------------------------------- /modules/Salih/JS/add eventlisteners.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 0 11 | 18 | 19 | -------------------------------------------------------------------------------- /modules/Salih/JS/age after 5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 23 | 24 | -------------------------------------------------------------------------------- /modules/Salih/JS/age deffrence.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Salih/JS/ageMembers.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Salih/JS/alphabetpattern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 27 | 28 | -------------------------------------------------------------------------------- /modules/Salih/JS/arr.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /modules/Salih/JS/arrange cap and non cap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 22 | 23 | -------------------------------------------------------------------------------- /modules/Salih/JS/array of multiples.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 26 | 27 | -------------------------------------------------------------------------------- /modules/Salih/JS/array return more than4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 23 | 24 | -------------------------------------------------------------------------------- /modules/Salih/JS/array.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 | 143 | 144 | -------------------------------------------------------------------------------- /modules/Salih/JS/arraymethod.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 21 | 22 | -------------------------------------------------------------------------------- /modules/Salih/JS/average mark.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Salih/JS/bank balance checking.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |
10 |
11 |         
12 |          
13 |     
14 |         
15 |          
16 |        
17 |         
18 | 
19 |         

20 |
21 |
22 | 51 | 52 | -------------------------------------------------------------------------------- /modules/Salih/JS/bridge on true.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 18 | 19 | -------------------------------------------------------------------------------- /modules/Salih/JS/bridgeon true.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 19 | 20 | -------------------------------------------------------------------------------- /modules/Salih/JS/calculator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /modules/Salih/JS/callback.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 21 | 22 | -------------------------------------------------------------------------------- /modules/Salih/JS/camelcase.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 32 | 33 | -------------------------------------------------------------------------------- /modules/Salih/JS/climbing stair.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 25 | 26 | -------------------------------------------------------------------------------- /modules/Salih/JS/copywith.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 26 | 27 | -------------------------------------------------------------------------------- /modules/Salih/JS/destructuring.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 45 | 46 | -------------------------------------------------------------------------------- /modules/Salih/JS/displayTextInTheTextBox.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /modules/Salih/JS/eliminate duplicate.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 16 | 17 | -------------------------------------------------------------------------------- /modules/Salih/JS/evenodd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 20 | 21 | -------------------------------------------------------------------------------- /modules/Salih/JS/extract cap and nonn cap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 26 | 27 | -------------------------------------------------------------------------------- /modules/Salih/JS/fetch.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 33 | 34 | -------------------------------------------------------------------------------- /modules/Salih/JS/findLargest.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /modules/Salih/JS/function sum of array.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 28 | 29 | -------------------------------------------------------------------------------- /modules/Salih/JS/getSalary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Salih/JS/grade of the mark.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 36 | 37 | -------------------------------------------------------------------------------- /modules/Salih/JS/hocFunction.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 21 | 22 | -------------------------------------------------------------------------------- /modules/Salih/JS/holo star pattern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 26 | 27 | -------------------------------------------------------------------------------- /modules/Salih/JS/iife.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | console.log(`hello world`) 3 | })() 4 | -------------------------------------------------------------------------------- /modules/Salih/JS/import export.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

hii

10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /modules/Salih/JS/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

Hello there

10 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /modules/Salih/JS/india pattern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 23 | 24 | -------------------------------------------------------------------------------- /modules/Salih/JS/largest element.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 28 | 29 | -------------------------------------------------------------------------------- /modules/Salih/JS/largest of arrays.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 20 | 21 | -------------------------------------------------------------------------------- /modules/Salih/JS/largest.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Salih/JS/leapyear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 23 | 24 | -------------------------------------------------------------------------------- /modules/Salih/JS/leetCodeQst-283/leetCode-283.js: -------------------------------------------------------------------------------- 1 | var moveZeroes = function(nums) { 2 | let pos=0; 3 | for(let i of nums){ 4 | if(i!==0){ 5 | nums[pos]=i; 6 | pos++ 7 | } 8 | } 9 | while(pos 0) 6 | { 7 | if(num % 2 == 0) 8 | num /= 2; 9 | else 10 | num-= 1; 11 | step++; 12 | } 13 | return step; 14 | } 15 | console.log(NumberOfSteps(14)); 16 | -------------------------------------------------------------------------------- /modules/Salih/JS/leetCodeQst1816.js: -------------------------------------------------------------------------------- 1 | function Truncate(s,k) 2 | { 3 | let result = ""; 4 | const str = s.split(' '); 5 | for (let i = 0; i < k; i++) 6 | { 7 | result += str[i]+" "; 8 | } 9 | return result.trimEnd(); 10 | } 11 | console.log(Truncate("Hello how are you Contestant",4)) 12 | 13 | 14 | -------------------------------------------------------------------------------- /modules/Salih/JS/leetcode qst.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 37 | 38 | -------------------------------------------------------------------------------- /modules/Salih/JS/length of last word.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 19 | 20 | -------------------------------------------------------------------------------- /modules/Salih/JS/length of string even odd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /modules/Salih/JS/longest word in a string.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /modules/Salih/JS/longestt word in array.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /modules/Salih/JS/math.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 47 | 48 | -------------------------------------------------------------------------------- /modules/Salih/JS/mergearray.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /modules/Salih/JS/mergelist.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /modules/Salih/JS/numberpattern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 163 | 164 | -------------------------------------------------------------------------------- /modules/Salih/JS/numpalindrom.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Salih/JS/object and funnction constructor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

heloo

10 | 27 | 28 | -------------------------------------------------------------------------------- /modules/Salih/JS/object.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /modules/Salih/JS/odd or even function.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Salih/JS/palindrom.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 23 | 24 | -------------------------------------------------------------------------------- /modules/Salih/JS/palindrome.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 22 | 23 | -------------------------------------------------------------------------------- /modules/Salih/JS/pattern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 74 | 75 | -------------------------------------------------------------------------------- /modules/Salih/JS/plus one.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 19 | 20 | -------------------------------------------------------------------------------- /modules/Salih/JS/positiveneagtive.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 22 | 23 | -------------------------------------------------------------------------------- /modules/Salih/JS/promise using calculation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 110 | 111 | -------------------------------------------------------------------------------- /modules/Salih/JS/promise-all.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 37 | 38 | -------------------------------------------------------------------------------- /modules/Salih/JS/promise.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 52 | 53 | -------------------------------------------------------------------------------- /modules/Salih/JS/promise2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 52 | 53 | -------------------------------------------------------------------------------- /modules/Salih/JS/promiseCalcChain.js: -------------------------------------------------------------------------------- 1 | // (((8*3) + (15-5))/4) - ((9/3) * (2+6)) 2 | 3 | function calculate(operation,a,b){ 4 | return new Promise((resolve,reject)=>{ 5 | let result; 6 | switch(operation){ 7 | case 'add':result=a+b; 8 | break; 9 | case 'sub':result=a-b; 10 | break; 11 | case 'mul':result=a*b; 12 | break; 13 | case 'div':result=a/b; 14 | break; 15 | default:reject('invalid') 16 | } 17 | resolve(result) 18 | }) 19 | } 20 | async function result(){ 21 | let a=await calculate('mul',8,3); 22 | let b=await calculate('sub',15,5); 23 | let c=await calculate('add',a,b); 24 | let d=await calculate('div',c,4); 25 | let e=await calculate('div',9,3); 26 | let f=await calculate('add',2,6); 27 | let g=await calculate('mul',e,f); 28 | let h=await calculate('sub',d,g); 29 | return h; 30 | } 31 | result().then(val=>console.log(val)) 32 | -------------------------------------------------------------------------------- /modules/Salih/JS/promiseall,async and await.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 72 | 73 | -------------------------------------------------------------------------------- /modules/Salih/JS/question destructure.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /modules/Salih/JS/recursion.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 31 | 32 | -------------------------------------------------------------------------------- /modules/Salih/JS/remove all ocuurance in array.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 29 | 30 | -------------------------------------------------------------------------------- /modules/Salih/JS/rest parameter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 27 | 28 | -------------------------------------------------------------------------------- /modules/Salih/JS/return double strinng.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 22 | 23 | -------------------------------------------------------------------------------- /modules/Salih/JS/return repeate string.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 23 | 24 | -------------------------------------------------------------------------------- /modules/Salih/JS/reverse string.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 19 | 20 | -------------------------------------------------------------------------------- /modules/Salih/JS/sample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /modules/Salih/JS/scope in.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /modules/Salih/JS/scope.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 20 | 21 | -------------------------------------------------------------------------------- /modules/Salih/JS/script1.js: -------------------------------------------------------------------------------- 1 | // script1.js 2 | const sumarray = (arr) => { 3 | let b = arr.reduce((acc, item) => acc + item, 0); 4 | console.log(b); 5 | }; 6 | export{ 7 | sumarray, 8 | 9 | }; 10 | const sumNum=(a,b)=>console.log(a+b); 11 | export default sumNum; -------------------------------------------------------------------------------- /modules/Salih/JS/script2.js: -------------------------------------------------------------------------------- 1 | // script2.js 2 | // import { sumarray } from './script1.js'; 3 | // import mysil, { sumarray } from './script1.js' 4 | import * as lib from './script1.js'; 5 | import { sumarray as arraysum } from './script3.js'; 6 | // lib.sumarray([1, 2, 3, 4]); 7 | lib.arraysum(3,4); 8 | // lib.default(1,2); 9 | console.log(lib); 10 | -------------------------------------------------------------------------------- /modules/Salih/JS/script3.js: -------------------------------------------------------------------------------- 1 | 2 | export const sumarray = (...spred) => { 3 | let b = spred[0]+spred[1]; 4 | console.log(b); 5 | }; -------------------------------------------------------------------------------- /modules/Salih/JS/search insert position.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 33 | 34 | -------------------------------------------------------------------------------- /modules/Salih/JS/selfivok.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /modules/Salih/JS/setIntervel.js: -------------------------------------------------------------------------------- 1 | // setInterval(function, milliseconds); 2 | // clearInterval(intervalID); 3 | 4 | let interval =setInterval(()=>{ 5 | console.log(`hii`) 6 | },1000) 7 | 8 | setTimeout(()=>{ 9 | clearInterval(interval) 10 | },10000) -------------------------------------------------------------------------------- /modules/Salih/JS/shiftoperator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /modules/Salih/JS/sortindecending.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 26 | 27 | -------------------------------------------------------------------------------- /modules/Salih/JS/starpattern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 25 | 26 | -------------------------------------------------------------------------------- /modules/Salih/JS/string.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /modules/Salih/JS/style color js.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

ekhgeurgewrhvuein fi3hfuhgu 10 |

11 | 16 | 17 | -------------------------------------------------------------------------------- /modules/Salih/JS/sum of positive array.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /modules/Salih/JS/synchronous and asychnrous using settimeout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 23 | 24 | -------------------------------------------------------------------------------- /modules/Salih/JS/this keyword.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 23 | 24 | -------------------------------------------------------------------------------- /modules/Salih/JS/total price.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 20 | 21 | -------------------------------------------------------------------------------- /modules/Salih/JS/totalPrice.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 21 | 22 | -------------------------------------------------------------------------------- /modules/Salih/JS/triangle pattern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 25 | 26 | -------------------------------------------------------------------------------- /modules/Salih/JS/true if tow strings are lengthequal.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 21 | 22 | -------------------------------------------------------------------------------- /modules/Salih/JS/two arguments multiplication.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 19 | 20 | -------------------------------------------------------------------------------- /modules/Salih/JS/valid palindrome.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 26 | 27 | -------------------------------------------------------------------------------- /modules/Salih/JS/word reverse.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /modules/Salih/JS/world pattern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 20 | 21 | -------------------------------------------------------------------------------- /modules/Salih/calculator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Calculator 8 | 9 | 10 | 11 | 12 | 13 | 14 | 47 | 48 | 49 | 50 | 51 |
53 |
54 | 55 | 56 |
57 |
58 | 59 | 60 | 64 | 65 |
66 |
67 | 68 | 69 | 70 | 71 |
72 |
73 | 74 | 75 | 76 | 77 |
78 |
79 | 80 | 81 | 82 | 83 |
84 |
85 | 86 | 87 | 88 | 89 |
90 | 91 |
92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /modules/Salih/hovereffect.css: -------------------------------------------------------------------------------- 1 | .effect{ 2 | position:relative; 3 | height:0; 4 | /* width:0; */ 5 | background-color: rgba(0, 0, 0, 0.123); 6 | filter:brightness(50%) 7 | } 8 | img:hover{ 9 | transition: hovereffect; 10 | animation: hovereffect 3s linear ; 11 | } 12 | 13 | @keyframes hovereffect{ 14 | 0%{filter:brightness(50%)} 15 | 50%{filter:brightness(70%)} 16 | 100%{filter:brightness(90%)} 17 | } -------------------------------------------------------------------------------- /modules/Salih/hovereffect.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 | 10 | 11 | 14 | 15 | -------------------------------------------------------------------------------- /modules/Salih/index.js: -------------------------------------------------------------------------------- 1 | //curried function 2 | function curriedadd(a) 3 | { 4 | return function(b){ 5 | return function(c){ 6 | return a+b+c 7 | } 8 | } 9 | } 10 | const add1=curriedadd(1) 11 | const add1and2=add1(2) 12 | const result=add1and2(3) 13 | console.log(result) 14 | //or 15 | console.log(curriedadd(1)(2)(3)) -------------------------------------------------------------------------------- /modules/Salih/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-h-d-salih/HTML5-CSS-JS/6a05a495eee6faa14b9f4555db9d019e23e92044/modules/Salih/style.css --------------------------------------------------------------------------------