Lecture 4: Arrays | JavaScript Full Course
Vložit
- čas přidán 20. 06. 2024
- ⭐️ Instagram : / shradhakhapra
⭐️ LinkedIn : / shradha-khapra
Notes available at : drive.google.com/drive/folder...
00:00 INTRO
01:03 ARRAYS
11:02 ARRAYS INDICES
14:58 LOOPING OVER ARRAYS
22:38 PRACTICE QS
34:32 ARRAY METHODS
56:26 PRACTICE QS
Day 4 : Today, I learnt many things such as :
1. How to create an Array in JS.
2. we can also add multiple type of data to Array in JS.
3. There are a lots of methods such as push(), pop(), slice(), splice(), shift(), unshift() etc.
4. I solved all practice questions.
.
.
.
Thank You for this amazing lecture ❤
Baju hat bihari
At 31:00 it can also be done by for-of loop.
let items = [250, 645, 300, 900, 50];
for (let price of items) {
let discount = price * 10 / 100;
console.log(price-discount);
}
i also did the same way
If you read the question carefully it suggests to change value of array index. Your solution does provide the correct answer but it does not change the value of array.
let prices=[100,200,300,400,500,600,700]
let j =0
for (let i of prices ){
let updatedPrice= i - ((i*10)/100);
prices[j]=updatedPrice;
j++;
}
console.log(prices)
23:30
//practice question
let marks=[85,97,44,37,76,60];
let sum=0,aver;
for(let i=0;i
truly outstanding explaination . I want a python course after this . Please 🙏🙏🙏🙏
Biggest Superhero is A-Man Dattarwal ❤❤❤❤😊
No doubt
Chupbe bihari
it was most imprtant concept to understand in whole programming
Various new things i learned on this tutorial,, this is very helpful to me,, thank you so much mam❤🎉
It was amazing lecture Thanks maam I have learnt so many new things about array as I'm beginner I'm not facing any problem to understand your Javascript series
This is a very helpful video for a beginner. Whatever related doubt I have, I read the topic, so I covered it from this video, and in the next few videos, I am still covering my doubts. Thank you for the video.😊❤
Nicely explained and the best past is question that u've solved
Thank you for showering us with a lot of help
You deserve a lot more respect and love. You will be the most watched lecturer in India shortly... All the very best.
Thank you Sharadha didi❤ for such an Amazing course of JS
Thank yor shradha could teach java framework also
fantastic, awesome presentation.
Great mam. You have bundle of knowledge
If i follow only shradh didi video lecture series definitely I will became a full stack developer soon....Thank you Lot...!
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!!!
Excellent teaching from the scratch and easily understandable also.
Mam thank you for give our-self your valuable or payable time
thank u didu for this lovely series.
Thank you sardha di...i am learning 2nd time this lectures and 2nd time all concepts are clear...❤❤❤❤
Thank you so much for your teaching theory concept is very easy to understant from chennai.
This platform is very COOL for any level students.BCS I am very grateful for my CGPA.Whole year,I saw and followed the guidelines of Sharda didi!!!!!I am also from Bangladseh?Go ahead Sharda didi!!!
🤩🤩🤩🤩
Ooo Bangladeshi woh shradha hai Sharda nhi 😂🤣🤣
22:45
Logic of array pactice ques :
let marks = [85, 97, 44, 37, 76, 60];
let sum = 0;
let length = marks.length;
for(let value of marks){
sum += value;
}
let average = sum / length;
console.log(average);
can we use for-in cuz I have used it and i've gotten an output?
let marks=[23,45,78,98,100];
let avg=0,sum=0;
for(let i in marks)
{
//console.log(marks[i]);
sum=sum+marks[i];
}
let sizeee=marks.length;
avg=sum/sizeee;
console.log(sizeee," ",avg); // the code
Superb platform for learning JavaScript course
Recommended best teaching skills that how to convey the lecture for student . I highly appreciate your hard work epic stuff mam.
Best Course following since day1!!!❤
Bhai abhi cource launch kie hue hi kotanw din hai 😂 excitement me galti kr dega
Me too
Done didi 🤗✨.
Thank you so much for your efforts 😊.
Thanks mam wonderful course 🙌
Love you Didi ❤❤,m to Norma graduation kia hu,ab javascript pe kam suru kar diya thoda thoda
Thank you mam.You made it too easy for us.
Thanks a lo Shradda mam, your instructing way is so wonderful, you're 1 within the billions , love from Pakistan...❤❤❤
I like your every lecture & learn more & More.👌
Thank you so mach mam for help poor students 🎉❤ i am proud studend of apna college
Thanks ma'am ❤❤ because of you I am in right now royal and field, working as webdev lopper,I am 2020 passout student,,I got gate score 350,in 2023,ese2023mains qualified but I didn't take admission in mtech because my Target 🎯🎯 is scoring good as much possible
Thx Maam , perfect video for me.
One of best lecture on youtube about javascript arrays
Thank you so much shradha mam I watched your html tutorial and css too now it's a tym of J's and I searched alot but the way you are teaching is totally outstanding love you mam from Pakistan
Blessed to have such a good tutors on yt 😊 👏🏻👏🏻
Wh
Teaching style very nice Shradha. I like to study in fast track and your concept detailing is Good. :-)
Watching it from Pakistan and just love the way Shradha didi explains the concepts
you are fantastic miss Shradha... excellent tutorials. lots of regards from Pakistan.
Thank You Shradha Didi 😊
Amazing course ❤
Your experiences and insights can motivate viewers to pursue their own passions, overcome challenges, and strive for personal growth.❤
practise question : 2
const price = [250,645,300,900,50];
let offPrice = 0;
for (let val of price) {
offPrice = val - (val * 10) / 100;
console.log(offPrice);
}
Brother, we had to store value in a array after discount.
Thanks mam for details explain with basics. I am not cleaver as you. So please explain in basics also. ❤ as you explain. I hope you will do same for next upcoming videos. ❤❤❤❤❤❤❤❤❤❤❤❤❤❤
Best series of javascript
Thank you so much sharadha di❤❤❤ for this amazing lectures i LEARNING slowly but i enyoy this every lecture ❤❤❤😊😊😊
Mam you helping so much for students thank you
Thank you shradha di😊
thank u so much madam for exceptional and fully detailed and pro lecture of js may god bless you ameen
Thanks for your valuable support to the students❤
Bohot bohot shukriya apka thanks for your all valuable time and support.
Little contribution for Shraddhaji 🙏
00:00 INTRO
01:03 ARRAYS
11:02 ARRAYS INDICES
14:58 LOOPING OVER AREAYS
22:38 PRACTICE QUES
34:32 ARRAY METHODS
56:26 PRACTICE QUES
Thank you for the timestamps
shradha di please complete the series, dont leave in mid @@shradhaKD
@@shradhaKDdidi please type sicrpt course karwa deyen main Pakistan sy ap ki video dekhta hon ap jisa koi nahe parhta
@@BilalNiaziAseeldo you know JavaScript language
@@Yesterday_i_ate_rat js bhe kar raha hon bhai
Tip : splice is a allrounder it can do push , pop , shift , unshift , slice; Thank you Miss Shradha Khapra;
Your teaching is very good I am from end developer from Pakistan
Jay Shree Ram bro🙏
Thanks Mam for this amazing lecture
one like for mam ,
outstanding videos
your very good instructor for programing 😘❤.
27:48
let items = [250,645,300,900,50]
let index=0
for(let pr of items){
let offer = (pr-(pr*10/100));
console.log(`The price at index ${index} is ${pr}`);
console.log(`The price after offer is ${offer}`)
index++
}
Great Job!
Fantastic loved it
Very helpful lec...❤❤
Best playlist so far❤🎉
thanks mam😍 great sessions
Thank you so much ❤
Best coding channel ever ❤
I m here again to learn fresh class ❤🎉from Pakistan 🇵🇰
This is one of the best course on CZcams
Fell in love with JavaScript by learning from you❤
The way of explaining concepts are awesome. thanks for such a nice series.
Apna college is doing great work...
33:30
other output is like that:-
let items = [250, 645, 300, 900, 50]
let a = 0;
for (let i of items){
console.log("Price of item is", i);
i *= 10/100;
console.log("10 % offer is", i);
items[a] = items[a] - i;
console.log("After apply offer price of item is", items[a]);
a++;
}
You are absolutely right bro... Usne i*10/100 nahi kiya
Yesss you are absolutely right bro... Usne i*10/100 nahi kiya
very easy explanation.
Thank you 🙏🏻.
Mam you explain really well 🙏🏻
31:21 we can use the function called .indexOf(price) function also in for off loop. no need to create another variable to track the index
let itemPrice = [250, 645, 300, 900, 50];
for (let price of itemPrice)
{
let offer = price * 0.1;
itemPrice[itemPrice.indexOf(price)] = price - offer;
}
console.log(itemPrice);
Didi app bohot achea trekea sea samjatea ho
Well done 👍❤
After HTMl i will watch your java script series and learn that JS 🙂
Thank you shradha mam.
Thank you so much😃
Thank you Teacher Shradha
Thanks such a good video
Thanks a lot
superb teacher amazing deeply explaination miss big respect love from karachi pakistan
Awesome video😎😎👍👍
Amazing Explanation. Shradha Please Make Video on Machine Learning
Sister , Please Share resources of ML/DL
Thank you ❤
Your teaching Method is sooooo...... Good Icant explain
❤❤❤❤❤❤❤❤❤❤❤
I can say that your Method of teaching is so beautifull as like you ❤
recenty i have passed my 12th class and under 1 month i have leanerd front end thank u mam
After this playlist mam please make video on two to three practise project for better understanding
REGULAR WATCHING YOUR VIDEO LOVE FROM इंडीया थँक्यू वरी MUCH FOR THISE VALUABLE COURSE
Just Awesome
I will comment on Every Video and complete this Tutorial till End.😊
And I want to connect with those Who wants to complete too...
#let's_connect..😊
.
I am following since 1st lecture. ❤
Thank you..
28:15
Logic of second practice Ques :
let prices = [250, 645, 300, 900, 50];
let newarr = [];
let k = 0;
for(let value of prices){
let off = value / 10;
value = value - off;
newarr[k] = value;
k++;
}
console.log(newarr);
Bro how abt that ?
let a = [250,645,300,900,50] ;
for(let i =0; i
@@kazisalahuddintonim7347 what abt?
Thank you 👍
Great teacher