JavaScript Classes Tutorial
HTML-код
- Опубликовано: 26 июл 2024
- In JavaScript you can use the OOP (Object-Oriented-Programming) feature of "classes" to construct objects which are then useful resources for your script/application.
Learn all about classes in JavaScript in this video.
⭐️ Course Contents ⭐️
⌨️ (00:00) The Basics
⌨️ (14:40) Getters and Setters
⌨️ (22:43) Static Methods
⌨️ (30:11) Inheritance and Extends
⌨️ (40:22) Polymorphism
⌨️ (46:00) Classes in Practice
Learn more about JavaScript in this full course: • JavaScript Basics Course
🎥Tutorial by dcode. Check out the dcode channel for more great tutorials: / @dcode-software
🐦dcode on Twitter: @dcodeyt
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: medium.freecodecamp.org
Sorry about the light theme! I'll promise to use a dark theme for all my future videos 😁
Which theme is that ?
@@magakz from memory that one is the Brackets Light theme
light theme is better for people with sight problems
Yeah but light theme causes sight problems for those of us who DONT have sight problems lol
I know it sounds odd, but I work with light themes. 😅 And this theme is really good!
beautifully explained. I especially appreciate the fact that you show how classes can be used in real situations. Often that is missing and then the explanation will not stick. I loved it!
I've been studying for 6 months. I aspire to be a web developer.
In my 6 months, of all the topics i had to learn, this was the best teaching video I've watched. Also, I never comment, but this time I had to.
Thank you,
Best video I've seen on classes. First time they really made sense.
Here are some more JavaScript resources:
JavaScript basics course: ruclips.net/p/PLWKjhJtqVAbk2qRZtWSzCIN38JC_NdhW5
Another JavaScript course: ruclips.net/video/_y9oxzTGERs/видео.html
Learn JavaScript in a text-based curriculum: www.freecodecamp.org
This was a great tutorial. Concise, clear, straight to the point. Thank you
A wonderful & comprehensive revision of basics on Classes. I loved it. Thank you.
"the programmer issa special type of person" 36:00 killed me 😂 🤣
This is super helpful! I watched many videos on OOP but this one by far more explanatory than all of them. THANK YOU!!!!
A very helpful refresher course! Thanks Dom!
I searched a lot to find this amazing class toturial. I can't say how thankful I am. It was the best explanation for class on the internet. God bless you❤🙏🏽
This is great! Do not be put of by the 1 hour length. Its worth a watch!
Why? he discovers too many things.
Great tutorial, excellent explanations, thanks a lot!
Enjoyed every second of the tutorial! Especially the practice part. Thank you a lot ;)
Thanks a lot for the beginner-friendly classes' lesson!!! It was easy to understand and entertaining to watch
Amazing content! Well explained, just to the point! Thanks A LOT!
Thank you. I liked the video, it is good and I've learned quite a bit. Just one thing about the last example of DOM manipulation - it was a bit harder to understand, because I felt that not all was laid out in a clear and correct order, so it was a bit confusing. But still - great job, thanks again.
Ohhh, fantastic tutorial, thanks for the lesson!
Thank you so much. I've found this playlist to be the best JS Classes tutorial out there.
Great video .
Neat introduction into the Class syntax and all its keywords .
Thanks !
This video inspired me to add get and set properties to my own scripting language. Great video as always!
Thanks, i liked it a lot. Its really concise and easy to understand. This help a lot for the basics.
who else loves the sound of keyboard?
seriously, get a mic!
Me
sound of keyboard is pretty cool but on white theme background it sucks :'(
It gives me chills lol
thank you for the tutorial, it really helps me out.
Amazing tutorial, makes OOP really easy to dive into !
on-screen tutorials like this are such a valuable resource. I followed along until the Classes in Practice section. I lost sight of what we were doing and why we would want to be doing it on our website. While I lost sight of the "big picture," the author's attention to detail was impeccable. Good video.
OOP can be especially beneficial when building complex websites or applications where you need to model different entities, such as users, products, or orders, and their interactions. It provides a clear and structured way to represent and manipulate these entities in your code.
Great lesson, thanks!
Thank you very much! Very clear!
a perfect explanation with examples , i would appreciate
Thank you for your effort!
excelently explained. Thank you.
Super easy to understand. Thank you
Amazing amazing amazing.
Absolutely loved it.
Thank you very much.
Great tutorial! Thanks.
Really helpful, thank you!
This was great, thanks!
This is how front end frameworks are made, from minute #46. Great tutorial
I finally conquered javascript classes basics, thanks to you!
Great explaining skills. Thx!!
Thank god it took me 10 hours to watch and practice it throughly. Now, Im through! Thanks a lot coach!
The best OOP lesson i've ever taken!
really understandable. thank you for your work
This has really helped! thanks :)
Thank you. I very mush appreciated the example with an actual real world implementation of a class.
short, compact and to the point
One of the best tutorials!
Great video, you have made my career !!
thank you for this video. :)
Great content !
Useful lesson!
Amazing tutorial, really helpfull. Subscription earned!!
Great Tutorial. Thanks you very much.
Thank u for this awesome video
Thank you bro. Very well understood.
Brilliant class, thx a lot
He's name is DOM can there a better teacher for this class? Oh man!!! great class and very constructive lessons(excuse me there). I needed this because I was about to assume that classes were a react.js syntax
Good stuff 👍
Great tutorial.
This might be the first tutorial I have seen that's in bright mode 🤪
excellent tutorial thanks alot
Dom is the best. The fact that he used underscore on the argements to not get more confusing is key. Most of the tutorials just put this.abc = abc and it's very confusing.
wuu 🤩 , great tutorial
This is free information!!!
Simple & to the point :)
Thank you for this.
Thank you so much.
Thanks, I hate reading MDN docs, this is so much better.
Thank for the explanation. Espcially the real situation.
what a very cool tutorial ❤❤.
Thanks for your tutorial, really good.
Ops, I have watched it 2 years ago, finally I re-watch again.haha
Thanks, I always was scared of classes, but now i see it's not thet hard
Although I'm close to completing a Udemy course, this vid has helped me to understand this part better. Know that this is an old video, but maybe would be better using dark mode in VS (little difficult for me to see the code on my screen). Thanks, love the tutorials! :)
bro can suggest me good javascript course in udemy for begginer to advance
Awesome tutorial
thank you so much.....
Beautiful explanation
Awesome tutorials
Thanks for the video! You did a really good job explaining classes, and I really appreciate using an example at the end of what a class would be used to manipulate the DOM. It actually helps understand the usefulness of classes.
very nice video for the first time it did not feel like its an hour video
this is wonderful
Thank You for your useful video!
I think this is the only tutorial on youtube where classes are shown in practice. Other tutorials only show theory so to speak and watching them you don't know how to use this theory in real life application.
great explanation
Super bro...!
Thanks a lot
That was great
beautifully explained
Fixed my problem with super()! Thank you!
I'm still having a problem where the class isn't being updated.
fantastic.....
Thanks I now understand react lol
yeah in fact I came here because of class-based react components.
Michael Curtis
Wow this is insane , I mean shouldn't you understand vanilla javascript before working with any framework ?
Just saying ...
thank youu😊
Thank you
very nice
Super explanation :)
Nice tutorial. Is there anymore to OOP than this or is knowing this enough?
thanks sir😊
What is the keyboard of your choice?
Thank for the video.
It will be nice if there are some more practice examples, but either way - it is quite resourceful.
very good video
Thank you! The tutorial was really helpful!
thank you