14: Introduction to objects and methods in JavaScript - Learn JavaScript front-end programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024
  • Introduction to objects and methods in JavaScript - Learn JavaScript front-end programming. In this video we will learn what objects are in JavaScript, and how create methods in them. In a later lesson we will get more into JavaScript objects and learn how to use them in real life examples.
    --
    mmtuts is a TH-cam channel that focuses on teaching beginner and advanced courses in various multimedia related skills.
    We plan to make tutorials available on programming, video production, animation, graphic design, and on software such as the Adobe Creative Cloud programs.
    JavaScript for beginners is a how to series that teaches the JavaScript coding language to people who are just starting out learning programming. The course teaches how JavaScript scripting can be made easy and teaches how to build many features on websites through behavior using JavaScript. Creating behavior on websites with JavaScript is easy and should not be seen as otherwise, which is why we want to explain the language in a easy to understand way for beginners.
    If you have suggestions on new courses, or specific lessons within existing courses you would like to see, then feel welcome to submit them in the comment section or in a private message. ALL suggestions will be seen, but not all will be replied to since we get quite a few every day.

ความคิดเห็น • 47

  • @lardosian
    @lardosian 7 ปีที่แล้ว +7

    Thanks for the simple explanation of the 'return' concept. Always found that a bit confusing and college lecturer didnt help.

  • @ramsenaziz403
    @ramsenaziz403 7 ปีที่แล้ว +1

    Thank you Daniel for doing all this tutorials! You skip all the bs but at the same time not leaving out anything important. You teach out need to know basics too start coding by yourself. You are a very good teacher! Thanks again! Greetings from Sweden!

    • @Dani_Krossing
      @Dani_Krossing  7 ปีที่แล้ว

      Ramsen Aziz Thank you very much :)

  • @tonykempson4331
    @tonykempson4331 7 ปีที่แล้ว +3

    Nice and clear explanation. Thank you!

  • @KaiyaKramer
    @KaiyaKramer 6 ปีที่แล้ว +24

    Methods are just functions inside objects?

    • @silentstorm8470
      @silentstorm8470 4 ปีที่แล้ว +1

      He didnt even talk about methods,i dont even know why he put it on title

    • @DUO_QUEST
      @DUO_QUEST 4 ปีที่แล้ว

      yes

    • @DUO_QUEST
      @DUO_QUEST 4 ปีที่แล้ว +1

      @@silentstorm8470 In a simple way, if you create a function inside an object then the function is called a method :)

    • @kiiturii
      @kiiturii 3 ปีที่แล้ว +1

      @@silentstorm8470 but.. he did lol, the "fullname" is the method

    • @timothyhan9735
      @timothyhan9735 3 ปีที่แล้ว

      Yup!

  • @omidiwx
    @omidiwx ปีที่แล้ว

    that was amazing i was struggling with undrestand methods inside of objects and this example helped alot thank you for your video!

  • @mariopizzaro
    @mariopizzaro 3 ปีที่แล้ว

    it became more clearly for me ! great explanation

  • @karnasinhgohil6605
    @karnasinhgohil6605 3 ปีที่แล้ว

    This video cleared my doubt. Thanks, man.

  • @irenazlo5173
    @irenazlo5173 2 ปีที่แล้ว

    Very useful function

  • @KB-ce5sh
    @KB-ce5sh 6 ปีที่แล้ว

    Finally an explanation I can understand! Thank you

    • @1polyron1
      @1polyron1 5 ปีที่แล้ว

      Your welcome :)

  • @mtilley255
    @mtilley255 6 ปีที่แล้ว

    Truly an excellent tutorial...thanks for sharing!!!

  • @muhammedwise5758
    @muhammedwise5758 4 ปีที่แล้ว

    thanks for the simple explanation ..

  • @ricnyc2759
    @ricnyc2759 11 หลายเดือนก่อน +1

    Thanks. I'll remember: functions inside objects are called "methods".

  • @kiiturii
    @kiiturii 3 ปีที่แล้ว

    usually it's hard to find good explanations of concepts but this is absolutely perfect

  • @Ali-lm7uw
    @Ali-lm7uw 6 ปีที่แล้ว

    Best Explanation.

  • @chenchozan8289
    @chenchozan8289 6 ปีที่แล้ว

    thanks nice explanation

  • @romanticscents
    @romanticscents 6 ปีที่แล้ว +1

    Interesting

  • @dylankwong1512
    @dylankwong1512 5 ปีที่แล้ว

    Would document.write just be a property inside the object document?

  • @thatemt1048
    @thatemt1048 8 ปีที่แล้ว

    Hi :) do you know what font type you were using in Atom during your PHP tutorials?

  • @mohammadyusuf8010
    @mohammadyusuf8010 4 ปีที่แล้ว

    Thanks,how you can a new full name using the fullName function

  • @zpardesi8524
    @zpardesi8524 7 ปีที่แล้ว

    Marvelous, I really appreciate your hard work, very easy to understand and learn, Daniel, could you please let me which editor you are using for code writing? and where can I download this?

    • @coolius773
      @coolius773 7 ปีที่แล้ว

      It's Sublime Text.

    • @jackfrost8969
      @jackfrost8969 6 ปีที่แล้ว

      its sublime text. u can download it for free. just search it on google

  • @intheband002
    @intheband002 4 ปีที่แล้ว

    How do you turn a function into a method that you can call on a string literal?

  • @arlind7902
    @arlind7902 8 ปีที่แล้ว

    very nice explanation ...but ur upcoming tuts won't be accessible?.. cause u publish in private

    • @Dani_Krossing
      @Dani_Krossing  8 ปีที่แล้ว

      Hi there! Yes the rest of the tutorials are scheduled to be released Tuesday and Thursday which is why they appear in the playlist :)

  • @loan181
    @loan181 7 ปีที่แล้ว

    Hi mmuts, is "Object and Methods" the equivalent of a Class (like in PHP, Python, etc.) ?
    Thanks a lot for what you are doing I found your videos awesome :D

    • @Dani_Krossing
      @Dani_Krossing  7 ปีที่แล้ว

      JavaScript objects and methods are a MUCH simpler version than the ones we have as an example in PHP.
      In PHP we use objects and methods in OOP inside classes, where as in JavaScript we "just" create them and use them. But yes they work in a similar fashion :)

    • @loan181
      @loan181 7 ปีที่แล้ว

      So if I understand well it is kind of like the `struct` that we can found on C language (just bunch of public variables and functions). So here tou can't use concepts such as inheritage and constructors ? If it is the case is there a class equivalent in JS ?

    • @dylankwong1512
      @dylankwong1512 5 ปีที่แล้ว

      loan181 you can use constructors basically combining function and objects

  • @mayankbisht6665
    @mayankbisht6665 ปีที่แล้ว

    which code editor you are using

    • @Dani_Krossing
      @Dani_Krossing  ปีที่แล้ว

      Nowadays most people use VSCode, including me

  • @theera-thek10unlimited77
    @theera-thek10unlimited77 7 ปีที่แล้ว +1

    How to do this in Java?

  • @Ewani95
    @Ewani95 3 ปีที่แล้ว

    Are you Irish?

  • @zwembadsniper6883
    @zwembadsniper6883 8 ปีที่แล้ว

    You first do a whole php login system which is actually useful and now you go back to the extreme basics :/

    • @Dani_Krossing
      @Dani_Krossing  8 ปีที่แล้ว +2

      Hi there,
      The PHP series are unrelated to the JavaScript series, which is why everything in the JavaScript series starts out with the basics. The JavaScript series is not meant to be a direct continuation of the PHP series, as so to ensure that people who are just starting out with JavaScript can keep up with the lessons.

    • @haipingwang7075
      @haipingwang7075 6 ปีที่แล้ว

      THanks, I am also come to JAVA after your best PHP series, keep it up! Good Job!

  • @ToxaRulit
    @ToxaRulit 8 ปีที่แล้ว

    You are very slow😂

    • @Dani_Krossing
      @Dani_Krossing  8 ปีที่แล้ว +5

      Yeah I'm speaking really fast in my HTML and CSS series and have received a lot of feedback from viewers asking me to slow down hehe.

    • @theera-thek10unlimited77
      @theera-thek10unlimited77 7 ปีที่แล้ว +1

      well this place is not for you if you are already a professional lol.

    • @pjguitar15
      @pjguitar15 7 ปีที่แล้ว

      You can speed up the video if you want to ;)