No long intro, short presentation, straight examples, clear explaination. Thank you Kyle.
@jackofnotrades15
3 жыл бұрын
Simple, elegant, crisp. Thats how you teach. Thats how it needs to be done ideally.
@MartiQwx
2 жыл бұрын
The breaks he makes between each sentences make it so much easier for non-native speaker to understand.
@busyrand
2 жыл бұрын
This is becoming one of my favorite KZitem channels period... This is perfect for beginner to intermediate developers.
@nekoill
4 жыл бұрын
I don't know how, but you manage to explain things like I'm five without being patronising. That's remarkable.
@NYC_CuriousG
5 жыл бұрын
Wow you're a good teacher. I get it now. Subscribed!
@WebDevSimplified
5 жыл бұрын
Thanks!
@davidpuckree5254
3 жыл бұрын
@@WebDevSimplified lol
@Vikas_Singh_Kushwaha
3 жыл бұрын
These small videos are really good. Because you can find full blown project tutorials on KZitem but these conceptual things are not available that often
@MrBoiks
2 жыл бұрын
This video helped me make sure my loading animations rendered crisply on page load. Before, even with gsap, everything appeared choppy and glitchy. One simple keyword and it animated as planned. Your my hero! I was going to scrap the entire loading animation
@darrenhale4028
5 жыл бұрын
Exam is in 6 hours and you are an absolute life saver! Subbed!
@WebDevSimplified
5 жыл бұрын
I'm glad I could help. Good luck on the test.
@achtube85
3 жыл бұрын
3:41 This image is gold. So clear!
@gokujr4133
3 жыл бұрын
Bro what happened if we you javascript at the end of the code ? Instead of using defer and async.
@ill-fatedstranger447
5 жыл бұрын
That's what i'm searching for and learn a lot of things.
@WebDevSimplified
5 жыл бұрын
Im glad the video could help.
@12thevil
2 жыл бұрын
Yo, you are really helping me get through school. I can't thank you enough.
@terry9873
3 жыл бұрын
You don't know this yet but your my new mentor. Arigato senpai!
@Zabsounds
4 жыл бұрын
Everything is crystal clear and well explained!! Thank you ! Please don`t stop making this videos!
@codedynamics1
Жыл бұрын
i swear you meant "significant" this is one of the best explainations i have found, very nice!
@brucoffee1437
Жыл бұрын
If mdn docs ever wants to make video content I am suggesting this guy
@av03
4 жыл бұрын
I never know about this until i watch this, as always your content is very helpful. Thanks Kyle
@vibonacci
4 жыл бұрын
Good video. But one topic was not discussed: you can use both async and defer on the same tag, like Google Maps is loaded.
@Novia5555
Жыл бұрын
Can I get some videos or references according to that? I'm a bit curious and after trying to look for it, I didn't find something like you said.
@brandonchen3180
2 жыл бұрын
This guy is a god of web dev
@AlexTechie
5 жыл бұрын
Thanks, I've been meaning to look into this.
@WebDevSimplified
5 жыл бұрын
You are welcome!
@thomasm1964
2 жыл бұрын
Kyle - you have an absolute gift for making clear, concise, straightforward explanations. Shall be binge-watching. Oh yes: and you have a clear, neutral voice as well. Cannot tell you how many times I have bailed due to affected, whiny voices!
@benjaminmoseslieb9856
Жыл бұрын
Great teaching chops! It really comes through that you want to and have invested in becoming a great teacher. A much rarer skill than programming ;)
@crespinnougbodohoue7324
2 жыл бұрын
I have just discovered your channel and I am really impressed abt your simple, elegant and succint way to teach. Thanks a lot and Do not stop!!!!!
@avimehenwal
4 жыл бұрын
Amazing video ... So clear and crisp and with a DEMO ! Could not have asked for better XD Great job, keep it up. Big FAT link from my side
@longmarcin
4 жыл бұрын
Just one little detail. Async and defer are not tags! They're attributes of a script tag. Great video anyway. Keep up the good work :-)
@johnconnor9787
2 жыл бұрын
The video about Tree Shaking would be awesome
@shinichi9do
4 жыл бұрын
perfect video, 0 dislike. good content.
@VanReactions
2 жыл бұрын
The best video explanation for async and defer, this is very useful for seo, it will be great if you have a video speed optimization for SEO
@pastorfred2543
5 жыл бұрын
Thanks sir, I've learnt something new today..
@WebDevSimplified
5 жыл бұрын
I'm glad I could help!
@Tomakemehealthy2
4 жыл бұрын
Why defer is not the standard for html loading?
@soniablanche5672
4 жыл бұрын
you don't need to use defer anymore anyway. Use module js, they defer by default.
@yadneshkhode3091
4 жыл бұрын
@@soniablanche5672 can you please elaborate I didn't understand what you meant by module js
@soniablanche5672
4 жыл бұрын
@@yadneshkhode3091 modules let you use "import {something} from "./some/javascript/file.js" in javascript, it's very useful because now dependencies can be declared inside javascript files instead of html files, they are also self contained code and don't pollute the global environment so you don't need to use an IIFE to isolate your code. In the html code you import a module like this : . They defer by default so you don't need to add "defer" to the script tag
@chemedev
4 жыл бұрын
@@soniablanche5672 Wou never heard of it in this time! But I'm web developing for 7 months now so it's no surprise haha. I'll be learning about that, thanks for that piece of knowledge!
@bboydarknesz
4 жыл бұрын
@@chemedev here from Web Dev explain JS Modules kzitem.info/news/bejne/xIh-t4KEnIuXaag
@kuoyulu6714
Жыл бұрын
Thanks for this short clear tips, really help beginner like me to learn more!
@martinhotmann7868
3 жыл бұрын
I am missing some notices about inlineJS. As inlineJS often makes sense if you have less then 1kb. But defer does not work on script-tags in general but just on them if they have a "src" attribute. So if you want to defer inlineJS you can execute it on the event of "DOMcontentLoaded" or put it before the end of the closing body-tag. Its a pitty "defer" does not work on inlineJS. Thank you for your tutorial!
@corethenics
5 жыл бұрын
Good explanation but need to provide the sample code to the viewers so that they can play with it for better understanding. You can upload the same on gitHub and add the link in description.
@WebDevSimplified
5 жыл бұрын
Sorry. This is one of my older videos. In my newer videos I have links to both a github and codepen for all applicable videos. I don't generally add code for a video like this though since it is mostly about explanation and the actual code does not have an endpoint or use.
@rizean2
2 жыл бұрын
Backend dev who has to do some front-end from time to time. I wrote a function called setPolling to make sure some elements existed before running. Embarrassing to say I didn't know about putting the scripts at the bottom of the page. I need to go add the defer tag and remove the setPolling code on production pages serving 10s of thousand users per day. I use to make fun of front-end devs but after doing it a while I can say in many ways it harder that what most backend devs have to deal with.
@gopinathkrm58
5 жыл бұрын
Very nice video please upload 3 or 4 videos per week if possible...my next suggested topic is JavaScript Constructor in depth.
@WebDevSimplified
5 жыл бұрын
I'm glad you enjoyed the video. I would produce more videos each week, but it is tough enough for me to manage a full time job and two videos a week. I am always trying to improve my workflow, though, to create videos faster and hopefully more often. As for your suggestion on the JavaScript constructor, what exactly would you like me to cover about it?
@gopinathkrm58
5 жыл бұрын
@@WebDevSimplified like difference between other methods and constructor function to create an object and some advanced concepts
@WebDevSimplified
5 жыл бұрын
@@gopinathkrm58 That sounds like a good idea. I added it to my list of video ideas. Thanks!
@jaydenmoon1165
2 жыл бұрын
Always love your content - clean and concise as always
@bsewall
9 ай бұрын
Amazingly clear and concise. Thanks for the great video!
@minou00701
4 жыл бұрын
your content is so clearly ordered and straight to the point .. so the viewer knows the roadmap and then everything is concretized with different examples that are small easy to follow and to the point as well .. one of the best teachers bro .. hats off and big thanx .
@Sd-ge2rk
3 жыл бұрын
That's really useful! Many thanks for the video. Could you share more about the javascript that you have on the right showing when the html starts and ends etc.?
@devanshnigam5172
Жыл бұрын
Brilliant video and amazing content. Just one doubt, how to clock and record the time of execution of a statement in the document (HTML) or script (JS).
@mosomara
3 жыл бұрын
HI ... thanks for this great video ... i am wondering what is in the "i.js" script ... how do you time the Start and End of HTML parse?
@AnilKumar-ro6dz
4 жыл бұрын
I like your simple way of explanation, keep doing more videos.... 👍
@ramiahviknesh3014
3 жыл бұрын
Simple and was visually easy to grasp the concept !
@meaningmean
4 жыл бұрын
Thanks, Sir, I've learned something new today.
@gamersgame43
10 күн бұрын
9:15 good tip for loading JS files!
@arcanelore168
5 ай бұрын
Thank you very much for your video. I didn't know this!
@Antipyj
4 жыл бұрын
All your videos are so clear ty
@RobertWildling
5 жыл бұрын
Which script did you use to show the various loading times and steps in the console? Can it be downloaded anywhere? Thank you so much for your great informative no-BS videos!
@WebDevSimplified
5 жыл бұрын
I do not have the script available for download. If I remember correctly I just used a very large script tag to simulate the loading and added a little bit of JS to print to the console when loaded.
@BrianKiddDevDesign
2 жыл бұрын
@RobertWildling You can use console.time() and console.timeEnd() to figure out when certain parts of the program load. For instance, in my JavaScript file, I placed console.time("JavaScript Loaded") at the beginning of the JS file and console.timeEnd("JavaScript Loaded"); at the end of my JS file. The result will show in the console as something like: JavaScript Loaded: 0.130859375 ms You can do the same for your HTML file by placing both console.time("html start); console.timeEnd("html start"); at the START of your HTML file and console.time("html end"); console.timeEnd("html end"); at the END of your HTML file. The total end result if you used defer could be: html start: 0.003173828125 ms html end: 0.001953125 ms JavaScript Loaded: 0.130859375 ms When I did not use async or defer AND the link to my js file was before the HTML (not at the end of the body section), the result was: html start: 0.0029296875 ms JavaScript Loaded: 0.05078125 ms html end: 0.001953125 ms I am unsure if this is how the presenter did it but it seems to work. I think the presenter had a separate JS file in which he targeted different parts of the DOM like the html and script tags and then just ran a console.time() and console.timeEnd() to determine the different load times of those targets. I hope this helps.
@onee
3 жыл бұрын
It's funny how on StackOverflow they were hating on defer and praising async.
@beverlyHillsAgent
3 жыл бұрын
So with "async" can be executed at anytime after the script is downloaded. There is no guarantee when it will be executed. It can be before the HTML is done parsing or after the HTML is done parsing. However, with "defer" is always executed after the HTML is done parsing. Correct me if I am wrong.
@foxjonesofficial
3 жыл бұрын
Now I know why you always say “”
@RodrigoMendoza7
5 жыл бұрын
Is it correct to assume that by putting our js file in the head and using defer, we can then omit the event "DOMContentLoaded" or document.ready from jQuery (as we've been doing so far)?
@WebDevSimplified
5 жыл бұрын
That is correct. Defer waits until the entire page is loaded to run so the document should already be ready.
@RodrigoMendoza7
5 жыл бұрын
@@WebDevSimplified Thanks for clarifying that out 😃👌
@fallonmerri9586
3 жыл бұрын
Thank you for the graph!!
@JOc17KER
2 жыл бұрын
3 hero in programing: 1. The Newboston 2. Traversy Media 3. Web Dev Simplified
@muvvaanudeepreddy1562
2 жыл бұрын
thank u for ur crystal clear Explanation.
@bhargavaram4377
3 жыл бұрын
your explanation is really excellent
@madhubalajayakumaran9340
5 жыл бұрын
Best examples... best comparison 👍👍
@WebDevSimplified
5 жыл бұрын
Thank you
@maldonadodani
Жыл бұрын
thanks man, great explanation
@PraveenClasses
3 жыл бұрын
amazing explanation...and greate visualisation... very greate work. thank you... 100 likes from my side
@Ad1tyapardeshi
3 жыл бұрын
Want more videos like this & Thanks 🙏
@naveenkr5992
4 жыл бұрын
So defer works like if I put js at the bottom of body am I right?
@andrew.schaeffer4032
Жыл бұрын
wonderful video thanks - concise and great visuals
@miw879
3 жыл бұрын
I wish I got to know your channel 3 years ago
@bboydarknesz
4 жыл бұрын
thanks, amazing, simple and very understanding
@vincentiusherie
2 жыл бұрын
This is brilliant! I've been wanting to know how HTML and JS are parsed.
@heitormbonfim
Жыл бұрын
Bruh, I love your channel, thanks
@tubi8992
2 жыл бұрын
Thanks!
@WebDevSimplified
2 жыл бұрын
Thank you for the support!
@tubi8992
2 жыл бұрын
@@WebDevSimplified you deserve it Kyle, your videos are well researched, straight to the point and very useful. Wanted to say that in the comment but was watching it in bed before I fell asleep 🙃 keep up the great work!
@elpislivenetwork
4 ай бұрын
Very helpful, thank you so much. God bless!
@usmanabid7950
Жыл бұрын
Well Explained, Thanks Bud 👍👍
@aqil199
Жыл бұрын
nice and sweet presentation
@anneu8314
4 жыл бұрын
Thanks again.. I'm learning a lot from your videos.
@mackynyxz
3 жыл бұрын
Nice explanation!
@user-dc7oj3el7o
2 жыл бұрын
This was a very helpful video! Thanks
@ernestomotta5178
4 жыл бұрын
Thank you, you made it very clear
@davidfelipecastanocadavid5430
3 жыл бұрын
Great Explanation, thanks for the help !!
@md.imanali9998
Жыл бұрын
Absolutely amazing. Thank you
@user-ny8zg3sr2j
4 жыл бұрын
thanks for the explanation on this subject
@koushi_ku
4 жыл бұрын
thank's man... nice visualization got from the video
@spaced270
4 жыл бұрын
While Babel can convert ES6 module syntax to CommonJS module syntax, it won't bundle modules for use in environments which don't support them at all. For that, you should use Browserify, Webpack or another module bundler.
@aryantirkey1744
4 жыл бұрын
Always something new to learn thank u
@P4P1_
4 жыл бұрын
Thank you very much. Today I learned something
@nathanheath1328
4 жыл бұрын
This is amazing, thank you for this tutorial !
@jivanmainali1742
5 жыл бұрын
Man I could not understand serializable and deserializable in authentication using nodejs .plz answer me
@kamaleshpparmar
10 ай бұрын
Thank you brother
@rifatmunna
Жыл бұрын
type = "module" make more sens .. cz if you have to import somthing then you have to put module in head
@emonymph6911
2 жыл бұрын
Very cool video! What's faster speed? Option1 at bottom of [body] tag or defer? Every time you refreshed the large.js you got insanely different results. Like one time it took DEFER large.js 20ms on each line another time 126ms and it took [body[ bottom with standard method 60ms on all lines. but [header] large.js took 14ms only, which was literally the fastest...
@SR-er8vt
3 жыл бұрын
Thanks Kyle
@shinej11
4 жыл бұрын
Beautiful explanation. Thank you :)
@0the0ambient0
4 жыл бұрын
Nice explanation. Thank you.
@Champagnerushi
4 жыл бұрын
Really good explanation man!
@huzaifayunus9243
4 жыл бұрын
You are always special sir. You are unique
@heywhyayo
Жыл бұрын
Incredible thank you
@denonbasf3117
2 жыл бұрын
Amigo you're best.
@Arthur-cx1cg
4 жыл бұрын
very good explanation! thanx!
@00el04
4 жыл бұрын
so it's better to put my script tag at the top of the page with defer?
@yatinarora1252
3 жыл бұрын
yes y
@cyrusgracias4556
4 жыл бұрын
So defer guarantees that it will run only after whole page is loaded While async runs as soon as it gets loaded Which (async) we could use when we have more requests to make through JS, for more content This will save more load time for the user Am I right?
Пікірлер: 266