Lecture 6 will come after 1 day (23rd Nov) This is given to revise HTML, CSS If tutorial needed then I have taught both HTML, CSS on Apna College as one shots❤
0:49--- Chapter start 20:58--Arrow function 27:12--Practice set 34:18--For each loop in array 43:45--Practice set 46:40--More array methods(map methods) 50:22----(Filter method ) 53:05-----(Reduce method) 01:00:45---Practice set
00:01 Functions in JavaScript are blocks of code that perform specific tasks. 01:59 Functions in JavaScript allow us to perform the same work repeatedly. 05:55 Functions in JavaScript are defined using the function keyword, followed by the function name, parentheses, and curly braces. 08:01 Function is defined but needs to be called to execute its code. 12:22 Understanding function parameters and arguments 14:31 Functions in JavaScript can take input, perform tasks, and return values. 18:27 Locals act like local variables 20:32 Introduction to Arrow Functions 24:18 Arrow functions in JavaScript are used for small tasks and can be stored inside variables. 26:06 Functions can be used to perform calculations and print values. 30:02 Count the occurrence of vowels in a given string 32:07 VS Code improved our code and introduced helpful extensions 36:09 Functions and methods in JavaScript 38:06 Functions in JavaScript can be passed as arguments to other functions. 41:51 Higher order functions are functions that call other functions or use a function as a parameter or return a function. 43:44 Print the square of each value in a given array of numbers using the forEach loop 47:23 The map function in JavaScript can be used to perform operations on each element of an array and generate a new array. 49:13 Functions and methods in JavaScript 52:47 Reduce method in JavaScript reduces an array to a single value 54:33 The code demonstrates the use of the reduce method in JavaScript to calculate the sum of an array. 58:12 JavaScript reduce method is used to find the largest element in an array. 59:57 Filter out marks of students that scored 90 plus 1:04:01 Use the reduce method to calculate the sum of numbers in the array 1:06:01 The video explains how to calculate the factorial of a number using JavaScript's reduce method.
One of the best course. I was struggling with JS. Watched many tutorials. But this course is the best among all those tutorials. I am slow learner. I need to learn everything from scratch and in detail. This course is serving me really well. ❤
I've never ever seen this type of js course in the entire RUclips platforms which is very easy to understand and easy to execute into the vs code ,,i really appreciate ma'am ❤
Mam apka course sabse achha hai. Apka teaching ka tarika sabse alag hai aur jo bhi aap topic teach krte ho wo pura detail me teach krte ho. Mai non- IT background se hu tabhi muje pura samaj aata ha. Mam plz is series ko aap continue 🙏 rakhiye.
I will attend whole js series consistently .thank u didu for this series.you are my favorite teacher.I have completed java,HTML,CSS AND now SQL with apna college. thanks alot the whole team of apna college. again thanku didu.
I am trying to learn callbacks and arrays for a long period but shraddha didi's 1 hr video shows me how much i wasted earlier on other tutorial. Best teacher ever ❤️❤️❤️
Hello Shradha First, I would like to thank you for making this course available at a time when I needed it most🤗. And no doubt, you are one of the best teachers I have seen. Now, I am requesting that you do something like, whenever you have time, please make one more video on this FUNCTION topic. And yes, I have one more request for you after you complete this whole series. You also make a series that is based on REACT. Its a hardly request💛
Hi.. I am working in an MNC, and my next project based on JS. These tutorials are boosting my confidence, as I was a backend java developer. Thanks a lot, keep going ❤
Although javaScript is my favioute language, I love to learn the "reduce" and "splice" methods these methods are mind blowing and these are so super excited when I was using these methods in my project .
hi Shradha, I'm from Pakistan n living in US, I'm 40+ ,17 years ago I did my half master's in computer science from Pakistan then got married n I learnt nothing bcz I was also not entrusted that time, but now I realized in US I have to do something to get some smart paying job as my family going through some financial n health issues. I a month ago I started FreedCodeCamp free certification projects n I completed HTML n CSS certification , next was Java Script for that one I thought I need some extra help to do that Certification so I started searching on RUclips n I found Ur channel I M LUCKYYYYYY u r awesome I'm learning from U but I need motivation from u Coz I'm 40+ n health issues so I forget whatever I learn n I keep looking back Ur videos . U r the Best Teacher I hope one day I would be able to do coding like u. And can u please make some videos how can we starts our careers in this field????? There is no one that I can get help from in this field. Ur well-wisher ❤ from Pakistan
This lecture was fantastic. Loved the question "Take a number n as input from a user. Create an array of numbers from 1 to n" In fact attempted all the practice questions on my own. There were times when I struggled to induce and emanate logic. So cheated the solution 🙂 Trying to finish all the lessons here before I can start node.js. (as she has covered Async/Await as well).
@shradhaKD This is the best Js series I've ever come across. Apna college is a generous community providing best job oriented courses for free. I'm doing online fullstack development course from other Institution but fully satisfied by your content.
Hello mem ! I am from pakistan and i watching this course from the first lecture . Your Explanation and method of teachiong is OUTSTANDING. I personaly Understand very easly on each and every things because i watch each lecture 2 or 3 times and practice it . Befor watching your lecture people ware says that java script is very tough but from wathcing your letures it is very simple and easy to understand. Have A Long Live. LOVE YOU ❤
43:55 Logic of Practice Ques : print square of each value. function printSquare(arr){ arr.forEach((value) => { console.log(value*value); }) } let arr = [21, 30, 4, 50, 16]; printSquare(arr)
didi your teaching skills are awesome i am a bsc student and start learing from you for last 2 months and i completed by html and css very well i request you after js please take a lecture on react and sql that will very helpful for me bcz meko bas apka padhaya smz atta hn......
27:12 - square practice question, I made this by my understanding but your knowledge let arr=[2,4,6,8,]; let square=0; arr.forEach((val) => { square=val*val; console.log(square); });
It was amazing learning JS with Shraddha. I have learned a lot even after leaving my studies after graduation. I am trying to get on track. Your videos are very helpful. Thanks for all your effort in making his video for us. ❤
let n = prompt("Enter a number"); let a = []; // Initialize an empty array for (let i = 1; i { return pre + cur; // Calculate the sum }); console.log(redaa); // Log the sum let redmula = a.reduce((pre, cur) => { return pre * cur; // Calculate the product }); console.log(redmula); // Log the product
I have studied JS even from Hitesh and Harry bhai but wasn't satisfied then I came here and everything seems to be drastically easy. Your explanations are just out of the world. Ab React bhi aap se hi padhna hai. Please React course bhi le aiye.
mene pehli bar saare array methods ko tik se samjgaya and end wala code mene full pehli bar bina answer deke code ka logic likaha wa majagaya bahut mast padaya didi aapne ty dilse shukriya aapka ❤
Hey @shradhaKD, As a MERN stack freelancer for over 2 years, I've mainly focused on frontend, particularly converting Figma to React.js. Recently, I've been job hunting and realized my JavaScript basics are weak, causing rejections in interviews. Your YT series is helping me bridge that gap. Grateful for your content! 😇
Present here, enjoying this series ❤! Practice QS 1 Solution 28:00 => // Number of Vowels check in an String function vowelCheck(w){ let word = w.toLowerCase(); let count = 0; for(let i = 0; i //code 2 using an Arrow Function : const vowelCheck2 = (w) => { let word2 = w.toLowerCase(); let count2 = 0; for(let i = 0; i
00:00 Understanding JavaScript Functions and Methods 08:25 Understanding Function Parameters and Return Values in JavaScript 16:48 Understanding Arrow Functions in JavaScript 33:33 Understanding Arrow Functions and For Each in JavaScript 41:57 Understanding Higher Order Functions and Array Methods in JavaScript 50:19 Understanding the Reduce Method in JavaScript 58:41 Using the Radius Method to Calculate the Largest Number in an ArrayUnderstanding JavaScript Functions and Methods
i am learning from u from last 1 month i learned (HTML , CSS ) and now i am learning JS i am too happy with it but in this video i am too much confused in Functions , but rather than it U R A awesome teacher . Ur well wisher ❤ from INDIA
Reduce, filter,map , forEach all are very smart and unique method ; This is very structed way of teaching , So, Thank you Sradha mam to share this video to improve our JS learning !💌💌💌
okk so this is amazing mko functions ko lekr problem thi but know sure ki mera basic clear hogya h and jb m aaj practice question solve kri thi maine sare question khud s kiye aur answer bhi exact similar th jisee satisfaction miliiii thank youu apkii awaj bhaut achi h..
mam this is my solution of practise question 2:- // Take n as input and create the array of numbers from o to n and using reduce function print sum of all numbers let inp=prompt("Enter the number:"); let arr=[]; let i=1; while(i{ return back+curr; }); console.log(sumvalue); const productValue=arr.reduce((back,curr)=>{ return back*curr; }); console.log(productValue);
for counting number of vowels in a string; function string(str){ let vowels = [] for(s of str.toLowerCase()) if(s==="a" || s==="e" || s==="i" || s==="o" || s==="u"){ console.log(s) vowels.push(s) } vowels_length = vowels.length console.log(`${str} has ${vowels_length} vowels`) }
thank you mam ...your video is very knowledgable for all coder student ..☺and the best topic in this video is the differences between map , filter and reduce ...and For a long time I was searching for a good explanation on forEach and this lecture is very helpful for me. Thank you once again🙂🙃
time stamps 0:49--- Chapter start 20:58--Arrow function 27:12--Practice set 34:18--For each loop in array 43:45--Practice set 46:40--More array methods(map methods) 50:22----(Filter method ) 53:05-----(Reduce method) 01:00:45---Practice set
Struggling with js. Finally found this channel. Thank you so much maam for this amazing course. You have such a great method of teaching. Love and respect from Pakistan💖💖💖
// We are given array of marks of students. Filter our of the marks of students that scored 90+. let marks=[33,45,6,7,89,9,90,91,32,99]; let topper=marks.filter((value)=>{ return value>=90; }) console.log(topper); // Take a number n as input from user. Create an array of numbers from 1 to n. // Use the reduce method to calculate sum of all numbers in the array. // Use the reduce method to calculate product of all numbers in the array. let n=prompt("enter number:"); let arr=[]; for(let i=1;i{ return result+current; }); console.log(sum); let product=arr.reduce((result,current)=>{ return result*current; }); console.log(product);
function countVowels(str) { let vowels = 'aeiouAEIOU'; let count = 0; for (let i = 0; i < str.length; i++) { if (vowels.includes(str[i])) { count++; } } return count; } let totalcountVowels=countVowels("aeiouAEIOU"); console.log( totalcountVowels); that is simple
let n = prompt("enter the size of array"); let array = []; for(let i = 1; i { return prev+current; }) const mul = array.reduce((prev, current)=>{ return prev*current; }) console.log(array); console.log("The Sum of the array is = ", sum); console.log("the multiplication of the array is = ", mul);
//Q: We are given the array of marks of the student, //filter out of the marksof student that scored 90+. //with Filter array method let newArray = studentsMarks.filter((marks) => { return marks > 90; }); console.log(newArray); //with for each Array let studentsMarks=[64, 55, 93, 97, 100, 89, 90]; let newarr= []; studentsMarks.forEach((marks) => { if(marks>90){ newarr.push(marks); } }); console.log(newarr);
Please can you plan to cover callbacks and promises in the same detail and amazing explanation as your other videos. Best Wishes for this new series!!!
Q1: //create a function using the "function" keyword that takes a string //as an argument and returns the numbr of vowels in the string function vowelsCount(str){ let arrVowels = ['a', 'e', 'i', 'o', 'u']; let count = 0; for (let i = 0; i < str.length; i++) { if (arrVowels.includes(str[i].toLowerCase())) { // Check if the character is in arrVowels console.log("Print the Vowel: " + str[i]); count++; } } console.log("Vowels Found in Strings are:" + count); } vowelsCount("Hello World");
Up bohot hi details me samjhate ho, ❤❤❤ Mujhe Jo coding ta dar tha owo apke lectures se khatam ho geya, or avi to bohot i maja aaraha hain🎉🎉🎉☺️☺️☺️ Thank You didi🥰🥰🥰
You are the best teacher in the world...Thnks alot mam❤❤..mny apki e videos ss sekha hai...html,css, or js aj mri js ki yh class start hui h...5th class..Nd mam jb mny start lea th...to m blkl zero thi...mjy kch b nh pta th...mny kbi ksi sy nh pocha...sirf pta chla k programming m languages hti h...html start h...r bs youtube p search krty e apki video mili...r mjy aj 3 hfty huy...m es class p phnchi hn...U r the best thnkuu mam....khush rhyn hmsha...❤❤I am from pkistn...or dill ap k lea izzat ha...r hmsha rhygi...ap mri utsad hai...R ustad e hmy bnata h...thnkuu mam hsmha thnku🫠🥰
i am from pakistan maam!.... there are no comparision with other teachers you are the best your learning thoughts is absolutely understandable for me such a good understanding about this course... thanks My ptayer is that you keep making such videos for us
33:00 answer function vowelCount(a) { vowel = [ ]; for (let x of a) { if (x == "a" || x == "e" || x == "i" || x == "o" || x == "u") { vowel.push(x); } } console.log(`Total no of vowels = ${vowel.length}`); }
Lecture 6 will come after 1 day (23rd Nov)
This is given to revise HTML, CSS
If tutorial needed then I have taught both HTML, CSS on Apna College as one shots❤
Ohk ma'am 🙏🏻
please make nodejs tutorials mam
Ok Mam total kitna lectures Mein complete hogi any idea
Plz mam isk baad react js, node js pr bhi lectures dijyega
Okay
0:49--- Chapter start
20:58--Arrow function
27:12--Practice set
34:18--For each loop in array
43:45--Practice set
46:40--More array methods(map methods)
50:22----(Filter method )
53:05-----(Reduce method)
01:00:45---Practice set
thanks
thanks jani
Thank you ❤
thmnx
Thanks yr
00:01 Functions in JavaScript are blocks of code that perform specific tasks.
01:59 Functions in JavaScript allow us to perform the same work repeatedly.
05:55 Functions in JavaScript are defined using the function keyword, followed by the function name, parentheses, and curly braces.
08:01 Function is defined but needs to be called to execute its code.
12:22 Understanding function parameters and arguments
14:31 Functions in JavaScript can take input, perform tasks, and return values.
18:27 Locals act like local variables
20:32 Introduction to Arrow Functions
24:18 Arrow functions in JavaScript are used for small tasks and can be stored inside variables.
26:06 Functions can be used to perform calculations and print values.
30:02 Count the occurrence of vowels in a given string
32:07 VS Code improved our code and introduced helpful extensions
36:09 Functions and methods in JavaScript
38:06 Functions in JavaScript can be passed as arguments to other functions.
41:51 Higher order functions are functions that call other functions or use a function as a parameter or return a function.
43:44 Print the square of each value in a given array of numbers using the forEach loop
47:23 The map function in JavaScript can be used to perform operations on each element of an array and generate a new array.
49:13 Functions and methods in JavaScript
52:47 Reduce method in JavaScript reduces an array to a single value
54:33 The code demonstrates the use of the reduce method in JavaScript to calculate the sum of an array.
58:12 JavaScript reduce method is used to find the largest element in an array.
59:57 Filter out marks of students that scored 90 plus
1:04:01 Use the reduce method to calculate the sum of numbers in the array
1:06:01 The video explains how to calculate the factorial of a number using JavaScript's reduce method.
👍
😎
🥰🥰🥰
One of the best course. I was struggling with JS. Watched many tutorials. But this course is the best among all those tutorials. I am slow learner. I need to learn everything from scratch and in detail. This course is serving me really well. ❤
I've never ever seen this type of js course in the entire RUclips platforms which is very easy to understand and easy to execute into the vs code ,,i really appreciate ma'am ❤
Mam apka course sabse achha hai. Apka teaching ka tarika sabse alag hai aur jo bhi aap topic teach krte ho wo pura detail me teach krte ho. Mai non- IT background se hu tabhi muje pura samaj aata ha. Mam plz is series ko aap continue 🙏 rakhiye.
First time learning JavaScript this way. Amazed❤
I will attend whole js series consistently .thank u didu for this series.you are my favorite teacher.I have completed java,HTML,CSS AND now SQL with apna college.
thanks alot the whole team of apna college.
again thanku didu.
I am trying to learn callbacks and arrays for a long period but shraddha didi's 1 hr video shows me how much i wasted earlier on other tutorial.
Best teacher ever ❤️❤️❤️
Hello Shradha First, I would like to thank you for making this course available at a time when I needed it most🤗. And no doubt, you are one of the best teachers I have seen. Now, I am requesting that you do something like, whenever you have time, please make one more video on this FUNCTION topic. And yes, I have one more request for you after you complete this whole series. You also make a series that is based on REACT. Its a hardly request💛
kon kon chahta hai ReactJS par full course aaye ? 👇
Me
React js
@@pankajkumarsahoo1824 yes ReactJS
❤😅
Hum Didi ko cahien
TimeStamps
0:50 Functions in JS
20:10 Arrow Functions
27:14 Let's Practice
34:30 forEach loop in Arrays/Higher Order Functions
43:50 Let's Pactice
46:10 Map
50:30 Filter
53:05 Reduce
1:00:50 Let's Practice
Hi.. I am working in an MNC, and my next project based on JS. These tutorials are boosting my confidence, as I was a backend java developer. Thanks a lot, keep going ❤
which company
Can u help me please to getting job as a fresher sir...?
Although javaScript is my favioute language, I love to learn the "reduce" and "splice" methods these methods are mind blowing and these are so super excited when I was using these methods in my project .
hi Shradha, I'm from Pakistan n living in US, I'm 40+ ,17 years ago I did my half master's in computer science from Pakistan then got married n I learnt nothing bcz I was also not entrusted that time, but now I realized in US I have to do something to get some smart paying job as my family going through some financial n health issues. I a month ago I started FreedCodeCamp free certification projects n I completed HTML n CSS certification , next was Java Script for that one I thought I need some extra help to do that Certification so I started searching on RUclips n I found Ur channel I M LUCKYYYYYY u r awesome I'm learning from U but I need motivation from u Coz I'm 40+ n health issues so I forget whatever I learn n I keep looking back Ur videos . U r the Best Teacher I hope one day I would be able to do coding like u. And can u please make some videos how can we starts our careers in this field????? There is no one that I can get help from in this field. Ur well-wisher ❤ from Pakistan
nice to hear mam,keep learning
Jai Shree Ram
Hello AOA how are you? I hope you're doing well can you please tell me what's the ratio of CS in US do the US companies pay high related by CS?
@@fridaynightsaviour2514 hindutva ko badnaam karne aa gya
@@fridaynightsaviour2514 abe andh vakth, tuu yha pe vi aa gya. hindu o ko badnam karne.
I learned from every single problem, and Shradha ma'am ♥♥♥ thanks, for this course, I am your student from Pakistan.
This lecture was fantastic. Loved the question "Take a number n as input from a user. Create an array of numbers from 1 to n"
In fact attempted all the practice questions on my own. There were times when I struggled to induce and emanate logic. So cheated the solution 🙂
Trying to finish all the lessons here before I can start node.js. (as she has covered Async/Await as well).
@shradhaKD This is the best Js series I've ever come across.
Apna college is a generous community providing best job oriented courses for free.
I'm doing online fullstack development course from other Institution but fully satisfied by your content.
@Shradha ji app jo pause kar k khud se practice karne ko liye bolte hai ye concept bahut accha hai.. thnx u sab itne easy wy se batane k lye ..
Your explaining style with an example is awesome. it incredibly helps me to understand. Thanks
Hello mem ! I am from pakistan and i watching this course from the first lecture . Your Explanation and method of teachiong is OUTSTANDING. I personaly Understand very easly on each and every things because i watch each lecture 2 or 3 times and practice it . Befor watching your lecture people ware says that java script is very tough but from wathcing your letures it is very simple and easy to understand. Have A Long Live. LOVE YOU ❤
Thank you mam for such an amazing series of JS.
43:55 Logic of Practice Ques : print square of each value.
function printSquare(arr){
arr.forEach((value) => {
console.log(value*value);
})
}
let arr = [21, 30, 4, 50, 16];
printSquare(arr)
Is course k lye mam ko Oscar milna chahye.. The best JS COURSE EVER.. ❤🎉
Really 😅
@@Hemant_here yes
Really ❤❤
@@jyotishwarrajshukla377 yes 💯
Right 💯 ✨❣️
didi your teaching skills are awesome i am a bsc student and start learing from you for last 2 months and i completed by html and css very well i request you after js please take a lecture on react and sql that will very helpful for me bcz meko bas apka padhaya smz atta hn......
27:12 - square practice question, I made this by my understanding but your knowledge
let arr=[2,4,6,8,];
let square=0;
arr.forEach((val) => {
square=val*val;
console.log(square);
});
It was amazing learning JS with Shraddha. I have learned a lot even after leaving my studies after graduation. I am trying to get on track.
Your videos are very helpful. Thanks for all your effort in making his video for us. ❤
Madam, I can assume how much effort was put in to prepare this and deliver. Huge respect to you and who helped you🙏
1:03:57
Alternate approach :
let num = prompt("enter the number:");
let array = [ ];
for(let i=1; i
i dont know why but mam`s method does`t work,can you explain me why??
1:00:00 Ah reduce method se Largest element of an array nikalne wala method bohot hi acha laga didi!!
❤
let n = prompt("Enter a number");
let a = []; // Initialize an empty array
for (let i = 1; i {
return pre + cur; // Calculate the sum
});
console.log(redaa); // Log the sum
let redmula = a.reduce((pre, cur) => {
return pre * cur; // Calculate the product
});
console.log(redmula); // Log the product
Mam ka smjhane ka tarika itna achha hota h ki 😍😍😍 koi bhi js sikh skta h ❤❤
43:47
#solution
let arr = [1, 2, 3, 4, 5];
arr.forEach((val)=>{
console.log(val*val)
})
Thank you didi
@bhaveshnathani6027 send mark timestamp
I have studied JS even from Hitesh and Harry bhai but wasn't satisfied then I came here and everything seems to be drastically easy. Your explanations are just out of the world. Ab React bhi aap se hi padhna hai. Please React course bhi le aiye.
mene pehli bar saare array methods ko tik se samjgaya and end wala code mene full pehli bar bina answer deke code ka logic likaha wa majagaya bahut mast padaya didi aapne ty dilse shukriya aapka ❤
Hey @shradhaKD,
As a MERN stack freelancer for over 2 years, I've mainly focused on frontend, particularly converting Figma to React.js. Recently, I've been job hunting and realized my JavaScript basics are weak, causing rejections in interviews. Your YT series is helping me bridge that gap. Grateful for your content!
😇
I have started this course few day before now I really enjoy learning with Shraddha didi❤❤❤❤❤ thank you so much didi
Present here, enjoying this series ❤!
Practice QS 1 Solution 28:00 =>
// Number of Vowels check in an String
function vowelCheck(w){
let word = w.toLowerCase();
let count = 0;
for(let i = 0; i
//code 2 using an Arrow Function :
const vowelCheck2 = (w) => {
let word2 = w.toLowerCase();
let count2 = 0;
for(let i = 0; i
44:35
let arr = [5, 4, 5, 15, 25]
arr.forEach(function myval(val){
console.log(val**2)
})
1:02:55 my answer
let n=prompt("enter your no");
no = [ ];
for (i=1;i{
return a+b ;
});
console.log(sum);
console.log(no);
00:00 Understanding JavaScript Functions and
Methods
08:25 Understanding Function Parameters and Return
Values in JavaScript
16:48 Understanding Arrow Functions in JavaScript
33:33 Understanding Arrow Functions and For Each in
JavaScript
41:57 Understanding Higher Order Functions and
Array Methods in JavaScript
50:19 Understanding the Reduce Method in
JavaScript
58:41 Using the Radius Method to Calculate the
Largest Number in an ArrayUnderstanding JavaScript Functions and
Methods
Mam its my interview in this week and ur js series is really helping me please send next vedios as soon as possible
did you pass the interview??
30: 29 IT CAN ALSO BE DONE LIKE THIS :
function countVowels() {
const vowels = 'aeiouAEIOU';
let count = 0;
const str = prompt("Enter a string:");
for (let i = 0; i < str.length; i++) {
if (vowels.includes(str[i])) {
count++;
}
}
return count;
}
// Example usage
const numVowels = countVowels();
console.log("Number of vowels:", numVowels);
i am learning from u from last 1 month i learned (HTML , CSS ) and now i am learning JS i am too happy with it but in this video i am too much confused in Functions , but rather than it U R A awesome teacher . Ur well wisher ❤ from INDIA
43:55 Logic of Practice Ques : print square of each value.
let arr = [1, 2, 3, 4, 5] ;
arr.forEach((val) => {
console.log(val * val);
})
Didi I am an alpha student and I am waiting for new delta batch ❤
One of the best js tutorials I've watched.
let userInput=prompt('enter a number')
let n = parseInt(userInput)
let arr=[]
for(let i=1;i
Reduce, filter,map , forEach all are very smart and unique method ; This is very structed way of teaching , So, Thank you Sradha mam to share this video to improve our JS learning !💌💌💌
okk so this is amazing mko functions ko lekr problem thi but know sure ki mera basic clear hogya h and jb m aaj practice question solve kri thi maine sare question khud s kiye aur answer bhi exact similar th jisee satisfaction miliiii
thank youu apkii awaj bhaut achi h..
Thanks a lot I learnt so many new things in these lectures and in this lecture my favorite question was Q5
Lecture blkay ye poori playlist hi top-notch hy overall! Mera favorite question factorial wala tha. Thank you so much Shradha Didi ❤
mam this is my solution of practise question 2:-
// Take n as input and create the array of numbers from o to n and using reduce function print sum of all numbers
let inp=prompt("Enter the number:");
let arr=[];
let i=1;
while(i{
return back+curr;
});
console.log(sumvalue);
const productValue=arr.reduce((back,curr)=>{
return back*curr;
});
console.log(productValue);
for counting number of vowels in a string;
function string(str){
let vowels = []
for(s of str.toLowerCase())
if(s==="a" || s==="e" || s==="i" || s==="o" || s==="u"){
console.log(s)
vowels.push(s)
}
vowels_length = vowels.length
console.log(`${str} has ${vowels_length} vowels`)
}
mujhe function wala topic bahut badiya laga . asa laga ki haa ab thoda complex hotha jaa raha hai . i like it
Hello from Pakistan! You’re one of the BEST teachers for programming. Thank you so much for taking the time to create these lessons.
You are the god of my career🙏🙏Love from Tamil Nadu, Pondicherry❤🌟
Code like a boss...Solve problems like a pro...The only way to learn coding is by coding😇
kamal he shradaKD teacher kamal he ap ka tareeka detail options you catch all awesome i love your method of teaching
last practice question was awesome and thanks sharadha madam for exceptional js pro lecture may god bless u and your team love from pakistan
For me the JavaScript series, especially the last one-question exercise, is the best lecture:function & method, I've ever seen.
thank you mam ...your video is very knowledgable for all coder student ..☺and the best topic in this video is the differences between map , filter and reduce ...and For a long time I was searching for a good explanation on forEach and this lecture is very helpful for me. Thank you once again🙂🙃
/* Take a number n as input from user. Create an array of numbers from 1 to n */
let input = prompt("Enter a number");
let num = [];
for(let i=1; i
Practice questions jo krwate ap sath sath its superb❤
One of my favourite coding chanel shrdha g awsome ❤love from Pakistan 🇵🇰
Aap tho bohot badiya sikha rhe h ji. Aaj tak mujhe in topics ko seekne me bohot confusing lag rha tha, aap tho badi aasan se sikha diye
time stamps
0:49--- Chapter start
20:58--Arrow function
27:12--Practice set
34:18--For each loop in array
43:45--Practice set
46:40--More array methods(map methods)
50:22----(Filter method )
53:05-----(Reduce method)
01:00:45---Practice set
Struggling with js. Finally found this channel. Thank you so much maam for this amazing course. You have such a great method of teaching. Love and respect from Pakistan💖💖💖
maksad matt bhulo naeemullah bhaijaan
Loved the way you explained callback function and other imp methods. God bless you :)
const mulArrow = (a,b) =>{
return a*b
}
mulArrow(5,8)
Nice explanation improved my understandhi skills. Thanks a lot mam.
// We are given array of marks of students. Filter our of the marks of students that scored 90+.
let marks=[33,45,6,7,89,9,90,91,32,99];
let topper=marks.filter((value)=>{
return value>=90;
})
console.log(topper);
// Take a number n as input from user. Create an array of numbers from 1 to n.
// Use the reduce method to calculate sum of all numbers in the array.
// Use the reduce method to calculate product of all numbers in the array.
let n=prompt("enter number:");
let arr=[];
for(let i=1;i{
return result+current;
});
console.log(sum);
let product=arr.reduce((result,current)=>{
return result*current;
});
console.log(product);
all the topics cover by Shradha Mam............is very easy to understand..
Thank you Mam
Love from Pakistan
function countVowels(str) {
let vowels = 'aeiouAEIOU';
let count = 0;
for (let i = 0; i < str.length; i++) {
if (vowels.includes(str[i])) {
count++;
}
}
return count;
}
let totalcountVowels=countVowels("aeiouAEIOU");
console.log( totalcountVowels);
that is simple
if (vowels.includes(str[i])) what does this line means?
just GOAT teacher of youtube after harry bhai
for each loop and also its method its my favorite.
Other js course on youtube are not really beginner friendly .. but this course and teaching skills are amazing ❤ really helpful
Very helpful series didi. I would love you to give us some Homework tasks related to the lacture.
Thanks for the great content and class for us. Pray for your long life
let n = prompt("enter the size of array");
let array = [];
for(let i = 1; i {
return prev+current;
})
const mul = array.reduce((prev, current)=>{
return prev*current;
})
console.log(array);
console.log("The Sum of the array is = ", sum);
console.log("the multiplication of the array is = ", mul);
Best lecture on Function and Methods in JavaScript 🎉
previously i studied javascript from code with harry in web dev course ,but he never taught js in detail. Now my confusions are cleared
//Q: We are given the array of marks of the student,
//filter out of the marksof student that scored 90+.
//with Filter array method
let newArray = studentsMarks.filter((marks) => {
return marks > 90;
});
console.log(newArray);
//with for each Array
let studentsMarks=[64, 55, 93, 97, 100, 89, 90];
let newarr= [];
studentsMarks.forEach((marks) => {
if(marks>90){
newarr.push(marks);
}
});
console.log(newarr);
More array method is very interesting
Thanku so much mam
Please can you plan to cover callbacks and promises in the same detail and amazing explanation as your other videos. Best Wishes for this new series!!!
Q1: //create a function using the "function" keyword that takes a string
//as an argument and returns the numbr of vowels in the string
function vowelsCount(str){
let arrVowels = ['a', 'e', 'i', 'o', 'u'];
let count = 0;
for (let i = 0; i < str.length; i++) {
if (arrVowels.includes(str[i].toLowerCase())) { // Check if the character is in arrVowels
console.log("Print the Vowel: " + str[i]);
count++;
}
}
console.log("Vowels Found in Strings are:" + count);
}
vowelsCount("Hello World");
Excellent teaching 1 stop solution for Java script ❤❤❤
Up bohot hi details me samjhate ho, ❤❤❤
Mujhe Jo coding ta dar tha owo apke lectures se khatam ho geya, or avi to bohot i maja aaraha hain🎉🎉🎉☺️☺️☺️
Thank You didi🥰🥰🥰
You are the best teacher in the world...Thnks alot mam❤❤..mny apki e videos ss sekha hai...html,css, or js aj mri js ki yh class start hui h...5th class..Nd mam jb mny start lea th...to m blkl zero thi...mjy kch b nh pta th...mny kbi ksi sy nh pocha...sirf pta chla k programming m languages hti h...html start h...r bs youtube p search krty e apki video mili...r mjy aj 3 hfty huy...m es class p phnchi hn...U r the best thnkuu mam....khush rhyn hmsha...❤❤I am from pkistn...or dill ap k lea izzat ha...r hmsha rhygi...ap mri utsad hai...R ustad e hmy bnata h...thnkuu mam hsmha thnku🫠🥰
new concept like filter, reduce were awesome
🔥🔥🔥🔥
thanks for amazing series of javaScript
i am from pakistan maam!.... there are no comparision with other teachers you are the best your learning thoughts is absolutely understandable for me such a good understanding about this course... thanks
My ptayer is that you keep making such videos for us
Javascript course ko jaldi jaldi complete kar do please. Uska baad React ka full tutorial create karna with project.it's humble request
This JS is effectively help us😊😊 ,there is no any ad in running the video Thank you so much mam
33:00 answer
function vowelCount(a) {
vowel = [ ];
for (let x of a) {
if (x == "a" || x == "e" || x == "i" || x == "o" || x == "u") {
vowel.push(x);
}
}
console.log(`Total no of vowels = ${vowel.length}`);
}
const arr = [1,2,3,4,5,6,7,8,9];
arr.forEach(function (arr){
console.log(arr*arr);
})
Wow oosam course in youtube. Thank you so much mam 😄😄😄
hi i really like you style in which teach ,its indeed admirable .i really love your videos .i have learn much from them
Thanks , Great Explanation , After invest 2 months in JS , Now i understand this.
Thanks a lot I learnt so many new things in these lectures and in this lecture my favorite