JavaScript Fundamentals For Beginners

  Рет қаралды 1,662,136

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 904
@JacoblBroughton
@JacoblBroughton 6 жыл бұрын
Choosing a text editor - 6:15 Variables and Data Types - 9:07 Arrays - 17:25 Conditionals - 32:21 Objects - 39:28 Events - 51:14 Forms - 59:08
@4hmqd
@4hmqd 6 жыл бұрын
thx
@umslopogaas
@umslopogaas 6 жыл бұрын
Thakns bro, saved my tym :D
@denzoV2
@denzoV2 6 жыл бұрын
Loops - 25:15
@JacoblBroughton
@JacoblBroughton 6 жыл бұрын
Rönny kh i knew i missed one
@MechanicsStudents
@MechanicsStudents 6 жыл бұрын
Jacob Broughton thank you
@livelombs1371
@livelombs1371 7 жыл бұрын
9:00 Variables & Data Types 17:30 Arrays 25:10 Loops 32:20 Conditionals 39:23 Objects 50:59 Events 59:03 Forms & Validation
@AbdullahChaudhryDXB
@AbdullahChaudhryDXB 7 жыл бұрын
world needs more people like u
@PatiphanPhengpao
@PatiphanPhengpao 7 жыл бұрын
Cheers!
@bigpusha11
@bigpusha11 7 жыл бұрын
Live Lombs I actually did this as notes because I know I'll be going back quite a few times lol
@lalapapa9357
@lalapapa9357 7 жыл бұрын
This saved me so much time. Thank You!
@smyasir0
@smyasir0 7 жыл бұрын
you should share the notes on Google Drive with everyone here!
@user-xz2ld2gp3y
@user-xz2ld2gp3y 6 жыл бұрын
*Time Stamps* _Intro_ 0:00-1:09 ---- Intro 1:09-2:28 ---- What is JavaScript? 2:28-3:06 ---- JavaScript is NOT Java! 3:06-3:55 ---- Programming Fundamentals 3:55-4:42 ---- What Do I Need to Run JavaScript? 4:42-5:23 ---- HTML vs. JavaScript 5:23-6:12 ---- What Can I Do With JavaScript? 6:12-9:00 ---- Choosing A Text Editor _Java Script_ 9:00-17:30 ---- Variables and Data Type 17:30-25:11 ---- Arrays 25:11-32:19 ---- Loops 32:19-39:22 ---- Conditionals 39:22-50:58 ---- Objects 50:58-59:02 ---- Events 59:02-1:08:21 ---- Forms
@SrinivasaReddyMuly
@SrinivasaReddyMuly 8 жыл бұрын
Hi Brad, thanks for the mini-course, i started learning js, and I'm glad that I found your video. I have prepared the index for your video. Please find it below. Feel free to paste it in the video description if you want. and I have some feedback. from the topics you listed at the beginning of the video, i'm not sure if covered "Prototypes. If you already covered them here, I might have missed them. i'm curious, what are prototypes? Intro 1:09 Variables & Data Types 9:01 Data Types 11:16 Number String Array Object Naming Conventions of Variables 13:50 Array 17:30 [...] 17:43 new Array(...) 19:44 .push() 21:15 array of numbers array of numbers and string .length .sort() .reverse() .forEach() 29:57 Loops 25:11 For 25:55 While 29:02 forEach() 29:57 Conditionals, Comparisons, Operators 32:20 if 32:38 Comparisons 34:34 == === != Operators 35:27 && || switch 36:36 case break fallthrough default Objects & Functions 39:24 Object Litereal 39:40 function 42:42 Object constructor 43:54 function 44:38 constructor pattern 46:05 Arrays of Objects 49:35 Events 51:00 onclick onmouseover onmouseout onload Forms 59:02 link events to form fields 59:39 form validation 1:03:07
@leg3ndtariq
@leg3ndtariq 7 жыл бұрын
Thanks , mully.
@MrAlex3461
@MrAlex3461 6 жыл бұрын
cheers man
@RollinShultz
@RollinShultz 6 жыл бұрын
Prototypes are to JS what classes are to intermediate languages like C# and Java.
@hanzlaahabib
@hanzlaahabib 6 жыл бұрын
thanks buddy
@miri32353
@miri32353 6 жыл бұрын
Thanks !
@classifiedarchives3340
@classifiedarchives3340 6 жыл бұрын
Bro, I am so amazed at how clear you teach JavaScript, I have been taking other tutorials for the last 7 month, and have not found a course as clear to understand as yours, I just cannot believe that this language is so easy. Thanks to your teachings, I have develop such a hunger for JavaScript that I am literally doing this every single day, just yesterday I practice my coding development for about 8 hours straight, thanks man, you have surely help me see JS from another perspective.
@SarahSweetAndSimpleBlog
@SarahSweetAndSimpleBlog 8 жыл бұрын
Midterm on Arrays this week and I wanted to cry! Your vid has helped me so much today!! Thank you for sharing!!
@rebeccasfk
@rebeccasfk 7 жыл бұрын
Sarah SweetAndSimple hhyggftthjj🇧🇿🇧🇾🇧🇪🇧🇪🇧🇪🇧🇪🇦🇲🔵🔵🔺🚾🚾🚾🔠🔠🈁📱📱📱📲📲🖲🕹🕹🖲🌅🌅fc
@naveeny4706
@naveeny4706 6 жыл бұрын
why you cry ? no need to cry only fly
@ramzikhouri
@ramzikhouri 6 жыл бұрын
Over the last three years I was "forced" to shift gears from Manufacturing management to ERP implementation after a rubbish ERP implementation in my old manufacturing company that went horribly wrong and I was the most interested and most qualified among a bunch of functional managers. I LOVED the IT world and here I am now an ERP consultant that needs to know how things work together, not more for now. Your videos are perfect for me and I thank you for the few hours well spent watching your videos. i'd like to send you a private email so that you can point me more in the right direction. Thanks Brad.
@brightstar2666
@brightstar2666 6 жыл бұрын
I've been learning so much from your videos. I've taken the HTML and CSS crash courses and now this one. Please keep up the awesome work!
@qcmira2024
@qcmira2024 3 жыл бұрын
2016-2021 : 5 years of awesome tutorials !
@ibrahimomar1211
@ibrahimomar1211 6 жыл бұрын
You give me that hope of being a Programmer! Thanks Brad. I am very glad to be your student. #RoleModel #Brad #YesWeCode
@davidheunis8696
@davidheunis8696 7 жыл бұрын
This is the most easy to follow Tutorial on JavaScript on the web, easy to follow, brilliant...... I would recommend this to anyone just wanting a recap of JavaScript... Keep up the good work...Can not believe you do this for free....You my man are a Rockstar
@mahadithelearningmind1677
@mahadithelearningmind1677 8 жыл бұрын
Hey boss Brad , Take my cordial Love From Bangladesh , Your lectures are So understanding ! You are a Good Teacher ! What should be a appropriate Word to praise you ? i can't find ! carry on this for the better place of Heaven.
@sobeidalagrange7129
@sobeidalagrange7129 8 жыл бұрын
I feel the same way. Thank you!!!
@VladanRadakovic
@VladanRadakovic 7 жыл бұрын
This comment is the best praise Brad can ever get 😂 I will send some money to Brad on your behalf Mahadi!
@mahadithelearningmind1677
@mahadithelearningmind1677 7 жыл бұрын
it will be great job , will be created more BRAD in KZbin and we poorer people can be learnt much from internet. thanks brother too much !
@RevyyYT
@RevyyYT 7 жыл бұрын
me from Bangladesh too
@hrn-pu8vi
@hrn-pu8vi 7 жыл бұрын
Ei madari poorer people ki?
@stardommansion6773
@stardommansion6773 5 жыл бұрын
intro 1:09 Variables & Data Types 9:01 Data Types 11:16 Number String Array Object Naming Conventions of Variables 13:50 Array 17:30 [...] 17:43 new Array(...) 19:44 .push() 21:15 array of numbers array of numbers and string .length .sort() .reverse() .forEach() 29:57 Loops 25:11 For 25:55 While 29:02 forEach() 29:57 Conditionals, Comparisons, Operators 32:20 if 32:38 Comparisons 34:34 == === != Operators 35:27 && || switch 36:36 case break fallthrough default Objects & Functions 39:24 Object Litereal 39:40 function 42:42 Object constructor 43:54 function 44:38 constructor pattern 46:05 Arrays of Objects 49:35 Events 51:00 onclick onmouseover onmouseout onload Forms 59:02 link events to form fields 59:39 form validation 1:03:07
@Funny-wz6zi
@Funny-wz6zi 8 жыл бұрын
Mr. Brad you are really awesome... seriously hats off to you... Your method of teaching is so smooth and brilliant. Specially your way of talking and explaining.. Great (Y)
@Funny-wz6zi
@Funny-wz6zi 8 жыл бұрын
Pleasure Mr. Brad
@juanimeshro
@juanimeshro 6 жыл бұрын
honestly Brad, if i don't comment on your tutorials then I am just a big F. you are just a absolute stand out programmer and teacher. you know class, have good taste and standards. most importantly, your words are just it. when you say you words "absolute beginner"you really mean it. unlike some others when the say absolute, they are just blushing on their own. Thanks Brad! :)
@gabycampagna4157
@gabycampagna4157 8 жыл бұрын
Thanks! I needed a refresher. I rely too much on jQuery and other frameworks. This was so helpful. :)
@harjitsingh7308
@harjitsingh7308 6 жыл бұрын
Gaby Campagna jquery is still awesome! It helps you kinda understand vanilla JavaScript in a simpler way
@lierad2188
@lierad2188 7 жыл бұрын
Hey Brad. I have been watching videos from Udemy to Lynda and other paid course websites but you stand out. You have a natural gift as a teacher.
@MsElsospechoso28
@MsElsospechoso28 7 жыл бұрын
Arrays is what my boss doesn´t want to give me
@romanticscents
@romanticscents 7 жыл бұрын
Ricardo Belmont .... ahhaa
@Ali-lm7uw
@Ali-lm7uw 6 жыл бұрын
Haha..Good One. I think most people did not get it.
@ralphkleinguevarra
@ralphkleinguevarra 6 жыл бұрын
LOOOOL
@peehumodi8744
@peehumodi8744 6 жыл бұрын
A RAISE!!! ... Aah fk took me a day to figure out xD NICE one man! Really nice
@caio-jl6qw
@caio-jl6qw 6 жыл бұрын
xD
@ANIMATEDBANG
@ANIMATEDBANG 4 жыл бұрын
6:15 Choosing a text editor 9:00 Variables & Data Types 17:30 Arrays 25:10 Loops 32:20 Conditionals 39:23 Objects 50:59 Events 59:03 Forms & Validation
@ANIMATEDBANG
@ANIMATEDBANG 4 жыл бұрын
thanks for the mini-course.
@memeawards5494
@memeawards5494 5 жыл бұрын
I WAS TAKING A JAVA COURSE ON SOLOLEARN AND I GOT STUCK I COULDN'T UNDERSTAND ANYTHING, I WAS HAVING DIZZY JUST FOR SEEING JAVA'S CODE, I HAD TO COME ACROSS THIS GUY CHANNEL AND HOPED TO GET SOME HELP, EVENTUALLY I NOW UNDERSTAND WHAT IS JAVA NOW IM GOING BACK TO CONTINUE WITH MY COURSE THERE, THANK YOU SO MUCH BROTHER 😎
@Deymifx
@Deymifx 5 жыл бұрын
lol me too
@johnsloop9356
@johnsloop9356 7 жыл бұрын
Brad, you are the best teacher I've found on the internet -- current, engaging, and timely. Thanks much.
@frankg2167
@frankg2167 8 жыл бұрын
One of the best teacher at Udemy . thank you Brad
@itenigneer21
@itenigneer21 6 ай бұрын
WHOAAAAA !!! I am "JavaScript fundamentals" ready with hands on coding in 2.5 Hours !! Along with notes !! and more than 8 coding practice javascript html files !! Subscribed !! Happy Leanring !!
@howphancy
@howphancy 7 жыл бұрын
this is a great tutorial...well spoken, clear, concise, thank you!
@phantomKE
@phantomKE 7 жыл бұрын
I'm in the process of learning coding and going through youtube, I found your channel to be the best (for me) coz of the simplicity in presentation. Really looks like you put time and effort in your work. Thank you, much appreciated.
@we.visuals
@we.visuals 4 жыл бұрын
What keyboard were you using? so satisfying to hear the clicks lol
@TheEmpireAnimations
@TheEmpireAnimations 4 жыл бұрын
Agreed
@hanselito2416
@hanselito2416 3 жыл бұрын
Those are called mechanical keyboards. I love mine.
@keshav2136
@keshav2136 3 жыл бұрын
Yes, Mechanical keyboards makes clicking sound
@we.visuals
@we.visuals 3 жыл бұрын
@@keshav2136 do you know what model he’s using?
@betacrash
@betacrash 5 жыл бұрын
Thank you for this video. Out of the 30+ videos I have checked out this is the best so far. I look forward to watching all of your material.
@AsadKhan-cw6ue
@AsadKhan-cw6ue 7 жыл бұрын
I can't express my love and respect for you Brother ! You're perfect Teacher I can understand each bit and piece you teach. ! Lots of Love from Pakistan
@antonyslavutskyi2485
@antonyslavutskyi2485 5 жыл бұрын
I have ended CSS and JS tutorials and happy that encountered your tutorials. I had almost no questions. My only 1 thing that I would fix is not deleting what we wrote, but to continue and adding new features to our site. Thanks for your work!
@diahrongrismore1054
@diahrongrismore1054 8 жыл бұрын
Very nice, complete and thorough tutorial. You've done a good job. The content will definitely offset the time. A beginner could spend hours and days trying to accumulate the knowledge you've given in just and an hour or so. Great job.
@clarkson451
@clarkson451 7 жыл бұрын
Another great tutorial. No doubt Brad has all you need to get a feel for java script basics. In fact his entire channel is amazing. If you are trying to learn web dev this is the channel for you.
@amanbhardwaj2308
@amanbhardwaj2308 7 жыл бұрын
Ah man! Usually I DON'T like ANY video. But your hard work and honesty, in the end, made me like it. Thank You
@TraversyMedia
@TraversyMedia 7 жыл бұрын
I appreciate that :)
@webtutorials4279
@webtutorials4279 Жыл бұрын
April 2023 Update: at 1:06:12 the form validation is no longer required using JS because HTML 5 (released 2008 i.e. 2 years after this video) has the required field for it.
@johanstam3602
@johanstam3602 6 жыл бұрын
Hi Brad, what should I do next after learning the basics? Thanks.
@lostcause7072
@lostcause7072 4 жыл бұрын
Get good at using them.
@3960xRocks
@3960xRocks 6 жыл бұрын
Only watched half of the video so far but I've already learned so much. You have a very clear style of teaching, don't miss out important facts and explain things without too much jargon. Thank you!
@erronwhite8771
@erronwhite8771 7 жыл бұрын
Very helpful and informative. Helped me far more than codeacademy did! Thanks Bro!!!
@MrAlex3461
@MrAlex3461 6 жыл бұрын
HA HAHAHA
@bvolt70
@bvolt70 6 жыл бұрын
It's been a few years since I've done any programming so this was a great general refresher, as well as a solid intro to js. Thanks for the content.
@TechNSayge
@TechNSayge 7 жыл бұрын
Hey thanks for your videos. got a question. ...at approx. 24:47 you do a sort. I tried plugging in a string with larger numbers (second time watching after a month of deep JS exposure) and I noticed it didn't sort it by number but by alphabet. How do you account for that?
@TechNSayge
@TechNSayge 7 жыл бұрын
Checkout developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort?v=control for more: If compareFunction is not supplied, elements are sorted by converting them to strings and comparing strings in Unicode code point order. For example, "Banana" comes before "cherry". In a numeric sort, 9 comes before 80, but because numbers are converted to strings, "80" comes before "9" in Unicode order.
@leg3ndtariq
@leg3ndtariq 6 жыл бұрын
There really was a problem.. I saw 1,5,55,6,seven
@deeproy7292
@deeproy7292 6 жыл бұрын
kzbin.info/www/bejne/i5C1iZiJabaXh5I
@keithhunt8
@keithhunt8 6 жыл бұрын
I am an absolute beginner to JavaScript. This video was very helpful. Feel like I am starting to get a feel for the language now. Thanks so much!
@mounikamounika8843
@mounikamounika8843 7 жыл бұрын
Hi, While performing sort method at 24:48 the output is 1,5,55,6,77, seven but it is not following the increasing order i.e 55 comes first later 6 ,which is not pretty clear. Could you please say what is the sorting technique by default it is following.
@wtk300
@wtk300 7 жыл бұрын
You can pass sorting function to method sort. If none is provided (like in this tutorial) the default behaviour is to convert all elements in array to strings and sort them using their Unicode codes. That's why '6' comes after '55'. If you want to sort array of numbers you can do it like this: var arrayOfNumbers = [1, 45, 23, 44, 12, 5, 100]; arrayOfNumbers.sort(function(a, b) { return a - b; }); console.log(arrayOfNumbers); // now it's: [ 1, 5, 12, 23, 44, 45, 100 ] It is passing a function as an argument for another function, so it's a bit complicated as for first lesson and i get why he skipped it here.
@ellapage8212
@ellapage8212 5 жыл бұрын
They way you describe everything and the pace of your voice in this video are both perfect! I didn't feel overloaded with JS jargon and I was able to keep up. Your teaching style is perfect.
@Pavel_Franta
@Pavel_Franta 7 жыл бұрын
thank you for your lessons. I like your videos, English and looking forward to next episodes :)
@jimjrivan
@jimjrivan 7 жыл бұрын
Hi, I am Brazilian and i am a developer of process automation, so I use my knowlegdement on JavaScript to see the page code and extract the necessary information of him. Videos like this, help us to fix our knowledgement same, if we have a lot experience is every good to review this content. And this video is very useful to make the knowledment recycle.
@fabdwa4987
@fabdwa4987 8 жыл бұрын
thanks brad, cuz all of the other ones were confusing i am a visual learner :)
@michaeljohn3688
@michaeljohn3688 6 жыл бұрын
hello brad, My name is michael and i just want to say thank you for all your awesome tutorial videos, They are very helpful and all your teaching method 100% awesome. You have no idea how much i have accomplish with your videos. Thank you vary much brad, God bless.
@SuperGranqvist
@SuperGranqvist 7 жыл бұрын
Time stamps for every subject would be awesome. ty
@human151
@human151 6 жыл бұрын
Random Person considering that your getting this for free, you can kindly shut the f up.
@harjitsingh7308
@harjitsingh7308 6 жыл бұрын
human151 he never said anything wrong so kindly stfu to u
@luvdady
@luvdady 6 жыл бұрын
human151 lol your just a bundle of sunshine aren't ya?
@georgmarts
@georgmarts 3 жыл бұрын
Thank you so much for the lesson. I started studying JS with the book and it took me much more time to go through all of these things you explained in just one hour. Great job!
@phlyghstaff9965
@phlyghstaff9965 8 жыл бұрын
Thanks Mark Wahlberg!
@chickensmash2
@chickensmash2 8 жыл бұрын
+Brad Traversy he was talkin about your boston accent. I picked up on it too haha! Thanks though, man. Been trying to find good tutorials to learn js, but everyone else sounds either very boring/not engaging. Gonna check for other videos you have. thumbs up
@phlyghstaff9965
@phlyghstaff9965 8 жыл бұрын
ha don't fret my brother, you have helped me more than any other content creator in getting a full-time position. I've gone from here to finishing a few angular 1 projects now working on react and angular 2 (now that it's out of beta) going to try some vue next.
@RockstahRolln
@RockstahRolln 7 жыл бұрын
hahaha!! Nice one! Brad has that classy Boston accent :)
@nobu8953
@nobu8953 6 жыл бұрын
I was gonna say Matt Damon
@JavaScriptJolt
@JavaScriptJolt 6 жыл бұрын
I think he sounds more like Matt Damon.
@bigpusha11
@bigpusha11 7 жыл бұрын
Just starting out with everything programming/developer... I feel like you're tutorials teach me way more than these meet up (pre-bootcamp) classes.. Thanks!!! Even though I'll have to go over this 50,000 times to understand fully.. lol
@NickHope
@NickHope 7 жыл бұрын
Great course, but definitely not for slow typists, so I uploaded all the code and some notes to my Google Drive: drive.google.com/file/d/13BGXGW_LEamhRoo1914imDV-CpRteHbF/view?usp=sharing ... Brad, feel free to link this in your description, or host it yourself. Sublime Text 3 users should know that you can easily comment/uncomment the lines in my files by putting your cursor anywhere in the line and hitting CTRL /. There's a small chance you might need the Sublime Text DocBlockr package to get some of that to work (not sure). I guess CTRL / may also work in other text editors like vscode or atom.io too.
@thomas316
@thomas316 7 жыл бұрын
Nick Hope Thanks!
@mouradmtouaa4619
@mouradmtouaa4619 7 жыл бұрын
Thanks, could you please do it for the others courses? (JS ones) it will be helpful
@NickHope
@NickHope 7 жыл бұрын
I'm not sure I'll ever take those courses but if I do then I could (p.s. I'm not the video uploader, in case you didn't realise).
@mouradmtouaa4619
@mouradmtouaa4619 7 жыл бұрын
Yes, I know that you're volunteer to write down the codes,
@mouradmtouaa4619
@mouradmtouaa4619 7 жыл бұрын
Thanks in advance
@mohammudaliyousuf926
@mohammudaliyousuf926 6 жыл бұрын
Hi TEACHER, I watched your courses many times and I understood them as well as I want, I'm proud of you teacher.
@abbashussain7298
@abbashussain7298 7 жыл бұрын
i did console.log and didnt put i < 10 and it kept adding 1 until it got to 200,000+ and then my browser crashed
@_________5015
@_________5015 7 жыл бұрын
haha ikr do this with c++ your pc will crash
@tonkamanage5799
@tonkamanage5799 7 жыл бұрын
How about an infinite loop? I tested my computer do so do an infinite loop for one second and then stopped it right at the end of the second to see how many loops it did. It was around 15,000 :0
@dskinnerify
@dskinnerify 6 жыл бұрын
Well, infinite loops are infinite.
@ashirafzal6771
@ashirafzal6771 6 жыл бұрын
😂😂😂
@moizkhalid2714
@moizkhalid2714 5 жыл бұрын
Tomorrow is my interview and I am looking your JavaScript videos for revision. Thank you for making all these wonderful videos. Love from Pakistan.
@TraversyMedia
@TraversyMedia 5 жыл бұрын
Well good luck to you friend :)
@ravipushkar5066
@ravipushkar5066 8 жыл бұрын
Hey Brad, Really its too good thanks a lot for this basics tutorial.Can you please share advanced tutorials regarding javascript and angular js too..Really your lectures helping me alot.
@vk-tj8pl
@vk-tj8pl 8 жыл бұрын
You are an excellent teacher. You have explained all fundamentals in an excellent manner in such a short time..I have understood everything you discussed in this tutorial clearly..Thanks a ton..
@GirGir183
@GirGir183 5 жыл бұрын
0:48 "forgive me if I go over stuff you already know"??? The title of the video is "Javascript fundamentals for (absolute) beginners.
@LucasMeadows
@LucasMeadows 5 жыл бұрын
This was really helpful, I am a complete beginner and I must have spent 3 hours pausing and rewinding to get the gist of the concepts lol. I am looking forward to watching the rest of the vids in this playlist. Thanks!
@JigaByte
@JigaByte 7 жыл бұрын
Good video, enjoyed it!
@widget_wizard
@widget_wizard 6 жыл бұрын
Brad, EDIT: I found the answer to what "this" argument at 54:04 was referencing later in the video when passing the same argument to another function. My understanding now is that it references the specific tag in which the function is called. So the question below can be ignored! Question: I am trying to understand @ 54:04 mark when you pass the argument "this" into the function changeText() when defining the attribute "onclick" within the button tag... What does this do for us? It seems like a neat trick but I'm confused... So we give the argument "this" as the id... Then inside the function we call the built in innerHTML (attribute?property?) on the id which we had passed "this"... So effectively we are saying this.innerHTML and assigning it some new string. The new string becomes the text of the button. I'm not even sure what question to ask but rather was hoping for a little bit more understanding of what is happening in this part of the video. Thanks for the videos, you are awesome! -Leo
@tlmoller
@tlmoller 7 жыл бұрын
Top notch video. Really nice, great quality and higly usefull. Love it!
@SimonFreston
@SimonFreston 2 жыл бұрын
Was doing this on codacademy and getting a bit confused. Great explanation on the fundamentals. Feeling more confident again :)
@The_Science_Hub
@The_Science_Hub 7 жыл бұрын
good work..!! well done
@Vwgti2011
@Vwgti2011 6 жыл бұрын
I found the "for loop of an array a little confusing" - so just to clear it up for others and myself [31:36] var numbers = [33,54,76,34,2,6] //Here we have 6 "items" so numbers.length = 6. What messed me up is their "position" value is [0,1,2,3,4,5] for(var i = 0; i < numbers.length; i++){ //Here we're saying start "i" at 0 and add +1 until it reaches less than numbers.length (=6) console.log(numbers[i]); //Lastly what's happening here, is we're saying display in the console, from the numbers in our numbers array, the value that corresponds to the position indicated by i. So at the start of our loop "i" = 0 (because that's our initial condition). What 0 refers to, is the 0th position within our numbers array. The number at that position is 33, thus we will display 33 in the console. Then the next loop "i" = 2, which means it will display 54, and so on. What messed with my head a little was I didn't understand how we could be displaying 6 items on the console, if we have i < numbers.length. Numbers.length is 6 so I didn't understand how we could display 6 items, when telling i to go as high as 5. But, that's where the 0th position comes into the play with arrays [which was mentioned earlier].
@Jy3pr6
@Jy3pr6 8 жыл бұрын
When you first start going over the for loop, how is it that "0" is printed to the console as the first number if the "i++" increment function runs before "console.log(i)"?
@Jy3pr6
@Jy3pr6 8 жыл бұрын
The while loop version makes sense, it's the for loop that seems strange considering the order of the parameters and elements
@Jy3pr6
@Jy3pr6 8 жыл бұрын
Also, when you do the for loop around 31:00, I would have thought that what would have printed to the console would have simply been a series of numbers starting with 0 and ending at 5. What makes me think this is that it seems like the value of "i" is set to 0 and that the "numbers.length" portion of the second/conditional parameter would just be a roundabout way of saying "6". So I guess I'm reading it like this: i is equal to 0; so long as i is less than 6, add 1 and then print to console the current value of i. I have a very vague sense of what it might mean given the actual output but my mind isn't being able to make any natural sense of the syntax+semantics.
@DanFletcher90
@DanFletcher90 8 жыл бұрын
Hey Jonathan, the i++ part of a for loop doesn't get executed until _after_ the body of the loop is executed.
@DanFletcher90
@DanFletcher90 8 жыл бұрын
Since i++ doesn't get executed until after the body, that also means that when i == 6, it hasn't been console logged yet.
@bxrrislayy
@bxrrislayy 2 жыл бұрын
Thank you for this. I am returning to Uni after 3yrs hiatus and even tho I am a Junior in Software Engineering degree... I REALLY needed a basics review to get my dormant programming brain cells activated again. I did note that this was done in 2016... and I am familiar with this syntax. I will now watch the update and hopefully that will show the changes in common JS, like let and ${} concatenating, etc. that I have begun to see. This was very succinct and helpful of an overview refresher.
@prod.radical720
@prod.radical720 7 жыл бұрын
help!!! im stuck with an error! var apple = new object(); apple.color = 'red'; apple.shape = 'round'; apple.description = function() { return 'an apple is '+this.color+' and '+this.shape; } console.log(apple.description()); why the fuck does the console says javascript0.js:1 Uncaught ReferenceError: object is not defined at javascript0.js:1 im using sublime text and chrome.
@wtk300
@wtk300 7 жыл бұрын
JavaScript is case sensitive, first line should be: var apple = new Object();
@prod.radical720
@prod.radical720 7 жыл бұрын
wtk300 thank you so much sir, helped me alot, and isorry im just newbie in coding. But im willing to learn.
@israelmanzo8725
@israelmanzo8725 7 жыл бұрын
Hello Brad, Thank you..! This is the first video that shows js so detailed and how to be used. I am learning a lot.
@Dexter101x
@Dexter101x 8 жыл бұрын
So 9 minutes of discussing text editors? Real tutorial starts at 9:00
@ferror18
@ferror18 7 жыл бұрын
Gob blessyou!
@delclaudioxxx
@delclaudioxxx 7 жыл бұрын
There is a FFW button for you "efficient person"!
@w0mblemania
@w0mblemania 7 жыл бұрын
How about just saying "thank you"? Nobody needs your crap.
@fakename9500
@fakename9500 6 жыл бұрын
I benefited from it. I downloaded Sublime text and will be using it now.
@zsh
@zsh 6 жыл бұрын
have a reply
@Acid15ful
@Acid15ful 7 жыл бұрын
You Sir, have taught me more in 1 hour that my boot camp has in a week lol. Thanks and keep up the great content!!!
@fractalelement857
@fractalelement857 5 жыл бұрын
If this is fundamentals,then what the hell ia advanced
@thethugguy2437
@thethugguy2437 Жыл бұрын
Same bro 😢😢
@dianaabisheva745
@dianaabisheva745 9 ай бұрын
@@thethugguy2437I don’t recommend this tutorial for beginners because he doesn’t really get into detail. If you want to learn from 0, checking out other, more precise and longer tutorials I think would be ideal.
@thethugguy2437
@thethugguy2437 9 ай бұрын
@@dianaabisheva745 thank you bro
@lillymarie3790
@lillymarie3790 6 жыл бұрын
Thanks for this tutorial. I have to learn JavaScript for university and I have so much problems with it. Your video is helping me a lot. Thank you again.
@dusansladojevic6218
@dusansladojevic6218 7 жыл бұрын
One of the best crash courses out there! Bravo for this tutorial!
@steveburrus5526
@steveburrus5526 8 жыл бұрын
Brad I won';t say that I found your presentation to be boring but I absolutely already knew everything which you mentioned about Javascript!
@colinely5792
@colinely5792 6 жыл бұрын
Pro-tip: Set the speed to 1.25x normal speed. Speeds up the delivery. Super helpful video!
@markskate95pl
@markskate95pl 6 жыл бұрын
I completed CSS, Materialize and this tutorial. You did it very well man ! I'm going to learn jQ React in nearest future . THANKS
@lemueljunior
@lemueljunior 6 жыл бұрын
I'm amazed how you did it: js in one hour and it covered all the basics! You're really talented. Thanks for sharing this with us =)
@eddiebrett
@eddiebrett 6 жыл бұрын
Fantastic video, im studying on an online course and this was great for a complete refresh and overlook as to what i have been learning. awesome thanks
@TheAlchemist304
@TheAlchemist304 6 жыл бұрын
I've really learnt something new today. Brad you are the man....JS simplified
@2TheAbbeyClinic
@2TheAbbeyClinic 6 жыл бұрын
Really great primer, especially for an experienced programmer who just started with JS this morning! Thanks.
@mdsajaldeowan1054
@mdsajaldeowan1054 7 жыл бұрын
thanks a lot Mr brad ......! you are really helping a lot of people like me.....!, who want to learn something, but they can't take any paid courses, and they don't know how and where get to right courses, thanks once again . may god bless and keep you always.......!
@anusckebotha4654
@anusckebotha4654 7 жыл бұрын
I'm busy with a JS course and this video really helped me alot.
@veselinradosavljevic8156
@veselinradosavljevic8156 6 жыл бұрын
i was watching your tutorials of css and html and m gonna definately get this cours of js from udemy because i think that you are one of rare ppl who can explain this very well soo ppl can really learn something !
@LanguageSkillz
@LanguageSkillz 7 жыл бұрын
This is a very smooth overview of the JS I've come across needing to apply with different technologies. The 3rd part of your DOM manipulations series also gives extra dexterities (I appreciated the first 2 as well, while the 3rd gets into more eventful applications.) The MongoDB session reinforced helpful perspectives, too. Looking forward to your React mini.
@shiraz6867
@shiraz6867 6 жыл бұрын
Thank you, I liked how fast you went through the basics without complicating the concepts.
@Elregar71
@Elregar71 7 жыл бұрын
dude, great demo on forms and how to connect the dots. It's nice to see how arrays/function etc are used in real applications. I have been struggling with that concept for awhile. You just cleared it up thx a lot.
@vidalexperience
@vidalexperience 7 жыл бұрын
59:20 on how to implement options using Javascript that gives the user the ability to change backgrounds through
@devolee8302
@devolee8302 7 жыл бұрын
I keep revisiting this lecture over and over and every time, I get more out of it. This is an amazing summary of JS. I will probably come back to listen to this clip soon. Happy Thanksgiving to you Brad!
@LeoLijo
@LeoLijo 5 жыл бұрын
You are the probably my best youtuber
@cehson
@cehson 7 жыл бұрын
Brad, thank you for all your tutorials !! Big props to your work and effort.
@ryanmingo4328
@ryanmingo4328 8 жыл бұрын
I'm a novice just starting out - thanks for your tutorial. It was very insightful!
@GAGANDEEPKAUR-gn4wc
@GAGANDEEPKAUR-gn4wc 6 жыл бұрын
Hey Brad, you have done awesome work for people like us who have just started diving in this subject. I love your tutorials. Thankyou.
@mariankohn8411
@mariankohn8411 4 жыл бұрын
I love this videocourse a lot! I wish I had started to learn JavaScript a lot sooner. Thank you, bro, for making this helpful resource for us newbies.
@sanfordhoffman2392
@sanfordhoffman2392 7 жыл бұрын
Very good vide. I picked up quite a bit. My big take away was returning false on the function when validating the form. I didn't know it would halt the form submission. That's going to be used tomorrow. Thanks again.
@scottleadbeater2436
@scottleadbeater2436 6 жыл бұрын
Best youtube channel in history!
@barissimsek
@barissimsek 8 жыл бұрын
You are not just a good engineer, but also a good teacher! Thanks.
@Imrglop
@Imrglop 7 жыл бұрын
It is kinda like Lua for example *Alert* For js: alert("Hello!") For lua: print("Hello!") *Variable* Js: var xd = 32 Lua: local xd = 32 *New* Js: new Object lua: Instance.new("ObjectName") But they in common are very different. Lua is used for games. Js is used for websites.
@afshinasli9635
@afshinasli9635 7 жыл бұрын
Hi Brad, This is very straight forward, right to the point JavaScript mini-course that I could manage to find on the internet/ KZbin channels among too many other available courses/ videos. Thanks very much and congratulation for the great job.
@harmantiwana6529
@harmantiwana6529 6 жыл бұрын
Brad, you're honestly so reliable! I always go to you for tutorials
@ga7853
@ga7853 7 жыл бұрын
I love your videos, its clear and always get more from you, I think because your are honest to do a video. Thank You.
@namanjames4
@namanjames4 2 жыл бұрын
Found myself trying to do too much with my limited knowledge in JS this helped me a bit
JavaScript Crash Course For Beginners
1:40:30
Traversy Media
Рет қаралды 4,1 МЛН
CSS Crash Course For Absolute Beginners
1:25:11
Traversy Media
Рет қаралды 4,5 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
Object-oriented Programming in JavaScript: Made Super Simple | Mosh
1:02:49
Programming with Mosh
Рет қаралды 2 МЛН
Learn JavaScript - Full Course for Beginners
3:26:43
freeCodeCamp.org
Рет қаралды 18 МЛН
JavaScript для начинающих 2024. Полный курс за 6 часов. Уроки. Теория + практика
6:46:14
HTML Crash Course For Absolute Beginners
1:00:42
Traversy Media
Рет қаралды 7 МЛН
Learn Web Development And ACTUALLY Get A Job | Ultimate Guide
1:33:52
James Cross
Рет қаралды 1,5 МЛН
JavaScript Functions Crash Course
1:36:54
freeCodeCamp.org
Рет қаралды 196 М.
C Programming Tutorial for Beginners
3:46:13
freeCodeCamp.org
Рет қаралды 16 МЛН
ASP.NET Core Full Course For Beginners
3:43:18
Julio Casal
Рет қаралды 492 М.