AJAX Crash Course (Vanilla JavaScript)

  Рет қаралды 712,181

Traversy Media

Traversy Media

6 жыл бұрын

In this video we will dive into AJAX with Vanilla JS and NO JQUERY. We will examine the XHR object and how it works. This is a beginner friendly tutorial for anyone that has very basic JavaScript knowledge. We will make xhr requests to a txt file, local json files, an external API and even PHP files.
CODE: Files for this course
www.traversymedia.com/download...
BECOME A PATRON: Show support & get perks!
/ traversymedia
ONE TIME DONATIONS:
www.paypal.me/traversymedia
FOLLOW TRAVERSY MEDIA:
/ traversymedia
/ traversymedia
/ traversymedia
NEW DISCORD CHAT SERVER:
/ discord

Пікірлер: 829
@TraversyMedia
@TraversyMedia 6 жыл бұрын
Around 8:00 I said "videos". I meant to say "files". Everything is in this one video. I did not get to the libraries but we will do that in a separate video. Hope you guys enjoy!
@saadmahbub8787
@saadmahbub8787 6 жыл бұрын
Can you do a video on isotope and masonry please ? will be really helpful ,thanks :)
@ezeamaka
@ezeamaka 6 жыл бұрын
Another great tutorial again as usual. Please you promised to make a tutorial for beginners on how to create and upload website to the sever!!! Am still waiting - Thanks
@priyaranjan1733
@priyaranjan1733 6 жыл бұрын
Thanks a lot , Could you make some video for Javascript Flavours, like vanilla :P
@ethashamuddinmohammed1255
@ethashamuddinmohammed1255 4 жыл бұрын
Try GoLang instead of NodeJS. You have a good thought process
@FordExplorer-rm6ew
@FordExplorer-rm6ew 4 жыл бұрын
How do we use ajax in production without CORS errors? Github pages? Heroku? Netlify? Which of these will work?
@sanulankaraya9997
@sanulankaraya9997 3 жыл бұрын
Every time I hear that intro music, I feel really confident.
@shivrajnag12
@shivrajnag12 2 жыл бұрын
It gives me similar vibes as Netflix
@jesusgonzalez7059
@jesusgonzalez7059 2 жыл бұрын
I know, right?! It makes me feel like everything is going to be okay.
@yeahorightbro
@yeahorightbro 6 жыл бұрын
I disable adblock when I watch this channel. Brad, you're a hero.
@TraversyMedia
@TraversyMedia 6 жыл бұрын
Thank you very much for that :)
@braed6202
@braed6202 6 жыл бұрын
I just whitelisted his channel too :)
@gabgab841
@gabgab841 6 жыл бұрын
i disable adblock donate to patreon and get his udemy courses
@freedomfighter3686
@freedomfighter3686 6 жыл бұрын
You mean you enabled adblock :) since disabling adblock means ads are free to come.
@gjuteodoro6910
@gjuteodoro6910 6 жыл бұрын
Lol?
@pedrosousa6576
@pedrosousa6576 6 жыл бұрын
Woah how did you know I was looking for an Ajax tutorial?! I even watched your Json video yesterday and now you posted this. You're the man! Thanks brad
@jamie10333
@jamie10333 3 жыл бұрын
This is one of the most straight forward tutorials I've watched for JavaScript. Most videos post either pure basics or pretty advanced tutorials. Been searching for a video like this. Thanks for this video.
@vegasvato55
@vegasvato55 5 жыл бұрын
I learned more with your videos in an hour than in all of the weekends of the past months.. I like the way you take the time to break things down and explain and diddle with the sections of code... The best i have ever seen... The way you play with things and break them is fantastic...
@mynameis3005
@mynameis3005 6 жыл бұрын
thank you for taking the time off to create such good content. you have inspired me to help share my knowledge in the future.
@luciusrex
@luciusrex 5 жыл бұрын
@14:45 for those wondering, the fx open is inherited from the XMLHttpRequest constructor and can be found under the prototype (__proto__) property.
@giddeo
@giddeo 3 жыл бұрын
Really good, solid tutorial. I'm doing a course currently and this was just baffling to me at first but you've just made it so much more accessible and easy to understand. Excellent, thank you.
@davza9629
@davza9629 Жыл бұрын
This is in my opinion the BEST video explaining AJAX on KZbin. I have scoured for hours and no other videos have explained the concept in such an understandable way. Thank you so so much. This is going to be so much help in Web dev classes at school. You, sir are a life saver.
@iancarr3923
@iancarr3923 6 жыл бұрын
These videos are invaluable. They serve as a great guide to html, css, ajax, etc particularly when reviewing videos from other providers
@dustinhammack7024
@dustinhammack7024 6 жыл бұрын
Thank you so much for this video Brad!! I have been struggling to understand AJAX, and this video just cleared up all the confusion I've had about it. I can't thank you enough!
@rkireev
@rkireev 6 жыл бұрын
Cant say thank you enough. Going through coding Bootcamp and I find your videos extremely helpful. Best on youtube for a fact. You are the man! Keep up the good work!
@csiwele617
@csiwele617 5 жыл бұрын
Thanks again Brad, Your videos are a staple to my personal and professional journey as a programmer. Every hour spent on your videos is invaluable.
@ajazmiah
@ajazmiah 6 жыл бұрын
Can't explain how happy I was to see this pop up in my notification. Couldn't wait to come home and watch it as if it was a game I recorded while I was away! Lol. Great video 👍
@TraversyMedia
@TraversyMedia 6 жыл бұрын
Thats awesome, I hope you liked it
@shatterking215
@shatterking215 5 жыл бұрын
This really helped me learn the ins and outs of AJAX! It was also a nice refresher for php & MySQL. Thanks Brad!
@saadwasil
@saadwasil 5 жыл бұрын
The most beneficial hour I've spent in the past few days. Thanks, Brad.
@attilakatona2137
@attilakatona2137 6 жыл бұрын
this is the best AJAX course on the net by far Brad!
@TraversyMedia
@TraversyMedia 6 жыл бұрын
Thanks
@TrendForJesus
@TrendForJesus 6 жыл бұрын
Yes thank you brad
@maskman4821
@maskman4821 6 жыл бұрын
Definitely the best ajax tutorial!
@dansintean6820
@dansintean6820 6 жыл бұрын
better than Bucky's
@ililiilili3366
@ililiilili3366 4 жыл бұрын
@@TraversyMedia hey, since i started front-end learning, i always wondered how do one ever connnect front end to back-end. I think i have a better idea now. i watched some parts but i understood. Will practice the content of this video later on. Thanks, dont erase it plz (LOL).
@Jakhongir84
@Jakhongir84 6 жыл бұрын
Bard, you are the best man. This is exactly what i needed. Thanks for an amazing tutorials! Cant wait to go home and enjoy your content.
@dhandayalprasad2267
@dhandayalprasad2267 4 жыл бұрын
wow. He explains very complicated stuffs so smoothly.
@dunzek943
@dunzek943 3 жыл бұрын
Of course man, this is Brad Traversy you're talking about
@LeeroyGgJenkins
@LeeroyGgJenkins 3 жыл бұрын
Thank you so much for not stopping at the simple stuff. I needed that last example for a project and I could not find an example anywhere!
@danielioanitescu2134
@danielioanitescu2134 4 жыл бұрын
Brad, I wish you all the best, bud! You really are a teacher and your methods are nice, clean and easy to understand for all of us. Wish all the best for you and your family and keep it up with the good work. We need you 😁
@mofe620
@mofe620 3 жыл бұрын
Just finished this, right after watching the JSON Crash Course. Two hours ago, JSON and Ajax didn't just make sense to me (I had used them a number of times, without understanding anything 🤧). Right now, I totally understand everything. Thanks a lot Brad. You're amazing.
@iWaxxy
@iWaxxy 3 жыл бұрын
Thank you for the awesome videos, Brad. I haven't found a video that explains Ajax this well yet.
@tigere01
@tigere01 4 жыл бұрын
In just an hour, I now quite get the XHR object and the kind of situations where it is useful i.e. display data from a url without having to do a full page reload. Thanks a tonne Brad.
@sahibrzayev8968
@sahibrzayev8968 8 ай бұрын
Best AJAX explanation . Thanks a lot!
@crackerdelicious
@crackerdelicious 3 жыл бұрын
Passed 4 Years, I still watching this. Love Brad.
@renzycode
@renzycode 2 жыл бұрын
For all ajax tutorials i've been watch, this is so precise and the best. Thank you Man
@durgaprasadnagarkatte6470
@durgaprasadnagarkatte6470 4 жыл бұрын
This tutorial is too good to learn the basics of making get and post requests with JavaScript. Thanks a lot.
@matthewrossilini5808
@matthewrossilini5808 4 жыл бұрын
You're videos are so great for someone (me) who is just beginning to learn web dev (green as hell). You are so thorough in explaining everything, and you do it so clearly. Thank you!
@danielk1560
@danielk1560 3 жыл бұрын
Thank you, This was my most well spent 1-2 hours in the last half a year!
@simple_lide
@simple_lide 4 жыл бұрын
Thank you, Brad. Your tutorials are awesome. You actually do things from scratch, and explain every step. Also, I like those types of videos as - "been showed - now practice", short and valuable. Great! Wish you all the best from Ukraine! :)
@shivamahlawat6702
@shivamahlawat6702 2 жыл бұрын
God level video....really was in need to get data out of a database without the page getting refreshed...A BIG THANKS!
@brandonikjoo
@brandonikjoo 6 жыл бұрын
Thank you so much about the video. It's the best AJAX tutorial video I've ever have!
@ladywebber1726
@ladywebber1726 3 жыл бұрын
You're such a great instructor. Thank you for teaching me a whole lot from your videos. :) very inspiring as well.
@alexanderfrost1476
@alexanderfrost1476 2 жыл бұрын
This is the best JSON tutorial ive seen so far. So easy and straight to the point. I only stopped following at point 45mins because of the last examples using php. Still understood what he was doing because of the awesomeness of the earlier examples.
@limitless1692
@limitless1692 3 жыл бұрын
This was the best ever Asynchronous javascript tutorial I ever watched . I finally understand how this Asynchronous instructions work . All that fog of confusion lifted up while watching and practicing your video . Really really really thank you very much Sir !
@PeterJohnsonWales
@PeterJohnsonWales 3 жыл бұрын
Love your stuff man! You've got a very lucid style. As a 60+ year old hobbyist Pascal & old type PHP coder, I'm finding making the leap to JavaScript tricky. You're really helping!! Thank you.
@DanielBurchfield
@DanielBurchfield 2 жыл бұрын
Great work through. I am an AJAX noob to be accurate, and this was a great way to get to know the tech. Much appreciated.
@The-Average-Gamer
@The-Average-Gamer 6 жыл бұрын
Absolutely loved it! Would love to see more back end stuff
@eemeelyo529
@eemeelyo529 3 жыл бұрын
This is QUALITY. I learn better in your video than in other online course. Thank you very much for doing this tutorial.
@quachaihiep3251
@quachaihiep3251 2 жыл бұрын
After few times coding and messing thing up , i finally got used to this request. Thank a ton, man
@user-tm2qn6vk3v
@user-tm2qn6vk3v 2 жыл бұрын
Extremely useful!! That's what i've been searching for. Thank you for the time spent on this lesson!
@hematogen50g
@hematogen50g 2 жыл бұрын
Thank you. It is very well structured tutorial. You are right about learning vanilla stuff first, it is so much easier to understand.
@speakenglishwithjoe2023
@speakenglishwithjoe2023 2 жыл бұрын
You have really made my day with this crash course. OMG very easy to understand. Thanks so much for this video.
@dunzek943
@dunzek943 3 жыл бұрын
Brad hacks away (no pun intended) at the abstract and mysterious words, terms, and practices that surrounds programming, returning to us with mentally-digestible tutorials. Thanks Brad!
@andresalvarez7303
@andresalvarez7303 2 жыл бұрын
THANK YOU! It's so hard to find a good web dev tutorial nowadays that doesn't rely heavily on libraries (jQuery) or skips over many core concepts of how and WHY things work the way they do on the web.
@Saleel4urHelp
@Saleel4urHelp 2 жыл бұрын
Thanks, Brad, For the well-explained video. Really loved how you explained each and everything so that even a beginner can catch up. Kudos
@AkkayHT228
@AkkayHT228 5 жыл бұрын
Thank you! This is one of the best videos in YT about AJAX
@drewconroy5938
@drewconroy5938 6 жыл бұрын
Great to see this video.I have been going to brush up on my JQuery for awhile now(from your tutorials) I think your jQuery tutorials with this tutorial back to back should do the trick. AJAX is one of those things I have always wanted to dig into deeper but never have. So, this will get me started...
@agrajyadav9
@agrajyadav9 3 жыл бұрын
Great tutorial, looking forward to checking out your other vanilla javascript tutorials.
@nicholasiloba5740
@nicholasiloba5740 6 жыл бұрын
Great Course. I used ES6 Syntax to follow along which helped with my overall understanding. Thanks Brad!
@Kalerblind
@Kalerblind 6 жыл бұрын
Among all the things I'm impressed by, the HD Audio and Video is the best i've seen in any tutorial videos :)
@SimPwear84
@SimPwear84 6 жыл бұрын
I have not watched it yet but I know Brad is dope and this is gonna help me a lot. I have been waiting for this from you. Thanks bud!!
@nathalieraffray306
@nathalieraffray306 5 жыл бұрын
you bring me peace when im frustrated with this stuff. thank you
@vimal8966
@vimal8966 6 жыл бұрын
Voila, been waiting for this. Thanks mate :)
@caroldanvers265
@caroldanvers265 6 жыл бұрын
I had fun doing this Vanilla JS Ajax tutorial. Excellent Brad!!!
@osoriodanny
@osoriodanny 3 жыл бұрын
Awesome! The best AJAX tutorial out there. Now, I'm going to watch the Axios crash course. Thank you
@amysheeter877
@amysheeter877 2 жыл бұрын
You are the best instructor, and you always make sure to explain exactly how things work and the "behind the scenes" of everything. Literally going right now to buy your Udemy courses! Thank you so much for sharing your knowledge with us.
@mohitbm7987
@mohitbm7987 2 жыл бұрын
Best thing whatever necessary is been covered thank you so much it was very helpful for me as I am java with springboot developer made me to understand how rest api call can be done using ajax call.
@lequangnghi194
@lequangnghi194 Жыл бұрын
After reading the doc from MDN and came here for your tutorial, everything is so clear now Thanks Brad! 🙏
@fadhilh3931
@fadhilh3931 3 жыл бұрын
Thank you brad, really appreciate what you're doing, now I understand how AJAX works with the server side language like PHP. Cheers from Depok, Indonesia.
@danielrgh
@danielrgh 2 жыл бұрын
Incredible Course After 4 years, good job
@freiyarobloxbedwars208
@freiyarobloxbedwars208 Жыл бұрын
Tysm for this tutorial definitely help me alot to create interactive stuff without reloading the actual page :D!
@HuguinhoPotter
@HuguinhoPotter 5 жыл бұрын
oh man! I really enjoy your explaining and clarity! never thought I could enjoy AJAX cause I find it very confusing for my habilities.. Now I'm encouraged to search, learn, and code. Thank you so much, Brad. Kudos
@donaldabel6228
@donaldabel6228 4 жыл бұрын
This was very helpfull for the understanding of AJAX. Thanks. I haven't started PHP yet but I understood the principle
@aglamadrid19
@aglamadrid19 5 жыл бұрын
Really good job introducing AJAX, and thanks + 1 for the PHP part. Will check your courses.
@briman113
@briman113 Ай бұрын
I just finished this tutorial and yes I struggled and yes it took me many hours 😁 Got everything working and happy I stuck with it. Thanks for all the great content.
@TheFrostShade
@TheFrostShade 4 жыл бұрын
You really went above and beyond! Thanks for the great videos.
@kawsarahmed5366
@kawsarahmed5366 5 жыл бұрын
Wow! It’s a great tutorial. I have learned a lot from you. Thanks for your great support and effort.
@ErnestGWilsonII
@ErnestGWilsonII 6 жыл бұрын
OMG Another awesome video from Traversy Media! Does he ever sleep or does he just make cool videos around-the-clock?
@rogeriorodrigues4210
@rogeriorodrigues4210 5 жыл бұрын
Traversy is a true hero
@bialcus69
@bialcus69 5 жыл бұрын
He's mr. robot
@amrik9614
@amrik9614 4 жыл бұрын
he sleeps
@luckylove72
@luckylove72 2 жыл бұрын
Looking at how much he work he will have tough time in 50s. I already lost my spinal cord. Now I am ghost.
@oghenefokethompson7407
@oghenefokethompson7407 4 жыл бұрын
Best video Channel for learning programming thanks for helping my life
@MuhammadAli-wi2sr
@MuhammadAli-wi2sr 3 жыл бұрын
Thanks for the PHP Part Really helped me for my Project that I have to submit tomorrow to get internship as a Web Developer. I Watched the entire course it was helpful. Thanks ,Brad
@FreeJ4ck
@FreeJ4ck 2 жыл бұрын
Thank you soooo much for this tutorial. You made me understanding the whole usage of ajax in one hour 😳 never got that much knowledge in such a short time. The part of combining it with php is so powerful 👍👍🥇 it is the basic you need to do everything you want.
@lyubon9492
@lyubon9492 4 ай бұрын
I can't believe that only in one hour I understood what AJAX is and how it works with JSON, API's and PHP as well. Amazing video thank you so much!!!
@ashishrao3069
@ashishrao3069 5 жыл бұрын
Kudos Brad :) Amazing crash course. Time well spent
@gilsonpontespereira
@gilsonpontespereira 6 жыл бұрын
Excelente! Gosto muito dos seus vídeos, aprendo muito e são de grande ajuda pra mim. Parabéns pela dedicação e pela excelência no seu trabalho!!!
@gauravarya2419
@gauravarya2419 6 жыл бұрын
Thank you very much for focussing on sound fundamentals using plain javascript rather than any framework.
@mugilankathavarayan8168
@mugilankathavarayan8168 7 ай бұрын
This video changed my life, I learned from this video 5 years age, perfect one for beginners.
@iwanwilaga
@iwanwilaga 4 жыл бұрын
Hey Brad, im into ajax crafts nowadays, but what is even more important is that i just read an interview with you on a blog and.. yeah!..it's truly real and inspiring, much respect (even more than had before (which was already not a little tho', haha ! ) ) . Best wishes from Hungary
@NedumEze
@NedumEze 3 жыл бұрын
Ah! You have no idea how helpful this tutorial is. Thank you so very much.
@ademineshat
@ademineshat 4 жыл бұрын
Hello Brad. This is my First Comment, I wanted to thank you very very much for you awesome work! I've watched to many KZbinrs, I didn't know Traversymedia until I bought some of your Courses on Udemy. I really don't have the words to describe how much I'am thankful. Best regards, Ademi
@zaitunimpinga
@zaitunimpinga Жыл бұрын
Brad, you've made me a front end developer. This video changed my way of Programming. Thank you for this amazing content.
@matheussunderhus
@matheussunderhus 5 жыл бұрын
Brad, you make me a better programmer, thank you so much, your job is amazing!!
@user-oq6hx9pw2y
@user-oq6hx9pw2y 6 ай бұрын
Hello Mr.Brad Traversy, i finished the video and just wanna say THANK YOU!!!
@snapcaselled1201
@snapcaselled1201 6 жыл бұрын
been waiting for this! thank you!
@mubbarikali
@mubbarikali 2 жыл бұрын
Such a beautiful and useful video... Thanks a lot for making such tutorials with honest intention of teaching others to the best of your knowledge...
@tht6951
@tht6951 4 жыл бұрын
Wow! Man you made my day! Exactly what i was searching for all my day.. JUST THANK THANKS ALOT!
@andrewcarney8631
@andrewcarney8631 Жыл бұрын
Thanks for this video. The best I found so far!
@katlegomatamela
@katlegomatamela 3 жыл бұрын
One of the best courses i have ever seen
@belinhobeli9569
@belinhobeli9569 4 жыл бұрын
Dude, you are simply great. Never has anyone made me understand this better.
@nikitakadu425
@nikitakadu425 3 жыл бұрын
Best Tutorial on this earth 🌍 🙏Thank you so much Traversy Media 🙏
@mohamadfarid4097
@mohamadfarid4097 Ай бұрын
after 6 years still you are the best
@FF-qt3er
@FF-qt3er 3 жыл бұрын
Another GREAT tutorial from you Brad! THANK YOU SIR!!
@eduardorpg64
@eduardorpg64 4 жыл бұрын
Amazing tutorial! Now I'm finally getting to understand AJAX!
@chiaramariadedominicis458
@chiaramariadedominicis458 6 жыл бұрын
Thank you SO much, you are my new guru! I am slowly watching all your awesome videos. Cheers from Italy!
@wiztemple
@wiztemple 6 жыл бұрын
The level of confidence I have now is because I know there is Brad Traversy, I know I can learn anything with you; Thank you Brad, i'm grateful!
@normajeanchariot
@normajeanchariot 3 жыл бұрын
This is the best video on the internet. Thank you so much.
@srikartiram
@srikartiram 2 жыл бұрын
One of the best video i've watched and helped me in real time :)
@pikachu5223
@pikachu5223 6 жыл бұрын
Thank you so much!! Greetings from Argentina!
Fetch API Introduction
30:54
Traversy Media
Рет қаралды 494 М.
The Importance of Specialization in Coding
7:13
Traversy Media
Рет қаралды 46 М.
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 4,5 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
Эта Мама Испортила Гендер-Пати 😂
00:40
Глеб Рандалайнен
Рет қаралды 10 МЛН
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
INNA SERG
Рет қаралды 6 МЛН
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 622 М.
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 61 М.
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,1 МЛН
15 Web Developer-Related Career Paths
25:19
Traversy Media
Рет қаралды 121 М.
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
HTMX Crash Course | Dynamic Pages Without Writing Any JavaScript
56:47
Traversy Media
Рет қаралды 126 М.
Stop Worrying About AI!
6:40
Traversy Media
Рет қаралды 46 М.
What Is Ajax?
10:03
WebConcepts
Рет қаралды 320 М.
How about that uh?😎 #sneakers #airpods
0:13
Side Sphere
Рет қаралды 9 МЛН
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
How Neuralink Works 🧠
0:28
Zack D. Films
Рет қаралды 28 МЛН
What % of charge do you have on phone?🔋
0:11
Diana Belitskay
Рет қаралды 323 М.
How Neuralink Works 🧠
0:28
Zack D. Films
Рет қаралды 28 МЛН