#36 What are Parameters and Arguments? | JavaScript Full Tutorial

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • 🙂 SUBSCRIBE - hit the bell 🔔 and choose all: goo.gl/nYLZvz
    In this lesson we're going to learn all about Function Parameters and Arguments, Function parameters and arguments make our functions dynamic, in this lesson we learn all about how to use them, we also take a look at the arguments keyword.
    0:00 - Intro
    0:29 - What are Parameters and Arguments?
    3:29 - Using multiple Parameters
    6:23 - Using multiple Arguments
    6:56 - The arguments keyword
    9:00 - Using Default Parameters
    11:42 - Lesson summary
    12:40 - Lesson Tasks
    15:19 - Outro and up next
    ------------------
    👍 HTML FULL TUTORIAL: shorturl.at/fiCMV
    👍 CSS FULL TUTORIAL: shorturl.at/clGSZ
    ------------------
    FACEBOOK: / devdreamercode
    TWITTER: / devdreamercode
    SUBSCRIBE and hit the BELL NOTIFICATION 🔔: goo.gl/nYLZvz
    ------------------
    Learn with Dev Dreamer! Step by step, easy to understand tutorials :-)

Komentáře • 86

  • @WillhelmLocke
    @WillhelmLocke Před rokem +2

    I'm about to cry. Thank you so much for the clarification between arguments and parameters for us newbies.

  • @amansoni2992
    @amansoni2992 Před 2 lety +3

    You deserve millions of views on your content, Amit Bhai!!

  • @peguisreal
    @peguisreal Před 2 lety +6

    Look who's back dev is back back again. Love you bro.

  • @Kizzel812
    @Kizzel812 Před rokem +15

    I have been studying using Code Academy (not by choice lol it's part of my course that I paid for) and I must say your lessons are so much better. The way you explain things is so clear and concise and your examples are so easy to follow. You are definitely underrated and should have way more subs! I have been following the series from the first video and was going to wait until the last video in this series to say something but after struggling on CodeAcademy on functions and coming on here and understanding it so quickly I have to give you props! Thank you for taking the time to create this it really is appreciated. You are helping people better their lives!

    • @DevDreamer
      @DevDreamer  Před rokem

      Hi Kesrael, thank you! Your comment really means a lot to me 🙂👍

    • @heysarahj
      @heysarahj Před rokem +1

      1,000% agree!

  • @michaeljoseph4772
    @michaeljoseph4772 Před rokem +3

    Subscribed within 2 minutes. After parameters instantly made sense, I had to lol. Thank you!

    • @DevDreamer
      @DevDreamer  Před rokem

      Hey Michael, sweet! Thank you, glad it was useful 👍

  • @user-em9kt2xc1b
    @user-em9kt2xc1b Před 2 lety +1

    The best one so far that talks about paraments and arguments!

  • @victorrivas2350
    @victorrivas2350 Před 2 lety +3

    This video was extremely helpful and very well taught. I appreciate the direct step-to-step approach.

  • @xitefy
    @xitefy Před 2 lety +9

    To be honest i was literally addicted to your AWESOME Tutorials. I mean they were like sort of , ADDICTION
    BUT, that was addiction of KNOWLEDGE 💚
    Dev dreamer, Because of you i have been to learn alot of huge stuff regarding CSS!!!
    Thank you so much for coming back to this platform and we being Dev Dreamer Community WE WILL SUPPORT YOU!
    Congrats 🎉❤️🤍🤍💚🖤
    The legend is back 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉

    • @ChrisBTommy
      @ChrisBTommy Před 2 lety

      what VS code extension on your java script

  • @solarsecurityservices4699
    @solarsecurityservices4699 Před 6 měsíci

    Amit is the absolute best in the business, I wish he had an online school. We need more content from you or at least a paid course 😊

  • @kitt3521
    @kitt3521 Před rokem +6

    This is great. Very well explained and I appreciate how you give the information needed, no more and no less. The rate at which you speak isn't too fast or too slow. I hate watching a long drawn out video that could have been wrapped in a quarter of the amount of time! You've done very well at this. Much appreciated. Look forward to watching more of your videos. Will subscribe!

    • @DevDreamer
      @DevDreamer  Před rokem

      Hey Kitt, thanks for this awesome comment. I really appreciate the support and sub! 🙂👍

  • @BrennanCarpenfield
    @BrennanCarpenfield Před rokem +2

    Thank you so much, you're a great teacher man!

  • @plutus4047
    @plutus4047 Před 2 lety

    Man you've grown so much...still remember watching your CSS tutorial 2 months back

  • @ezizgarliyev5534
    @ezizgarliyev5534 Před 9 měsíci

    Man, you teach so basic. Thanks, i am going to keep watching you. Please continue.

  • @tekenateifranklyn3922
    @tekenateifranklyn3922 Před rokem +2

    This is the first time I'm seeing your tutorials, trust me, so long as youtube and the internet is concerned, and javascrpt as well, this is the best place for javascript. i have been searching for stuff like this on javascript. I think today is a really good day for me. your explanations are way out of this world. i love the bit by bit progression. Thanks a lot sir, you've got a new subscriber.

    • @DevDreamer
      @DevDreamer  Před rokem

      Hi Tekenatei, thank you so much for the great feedback, really glad you’re finding them helpful. More lessons coming soon! 🙂👍

  • @pascal-l4w
    @pascal-l4w Před 8 dny

    graphics are good communication is clear message is to the point and detailed explained thanks alot man

  • @bigshuff
    @bigshuff Před rokem +1

    Your lessons are the business mate. Just started off with JS and I am taking an online course with one of the big online platforms, but they don't teach like you, and besides you spell 'colour' with a 'u'. :) Thanks so much for such great JS content.

  • @daniel-mac
    @daniel-mac Před rokem +1

    parameters and arguments were still a little unclear to me. this video explains them very clearly. thank you!

  • @marthamwau4719
    @marthamwau4719 Před rokem +1

    This is one of the best tutorials i have seen🙌🏾

  • @omageprosper9673
    @omageprosper9673 Před 2 lety

    your views arent doing any justice to the quality of your tutorials, excellent work dev dreamer

  • @olatinwobabatunde9994
    @olatinwobabatunde9994 Před 2 lety +1

    this man is the best i've seen

    • @DevDreamer
      @DevDreamer  Před 2 lety

      Thank you Olatinwo! That means a lot 🙂👍

  • @mattsmillennialmoney39
    @mattsmillennialmoney39 Před rokem +1

    Great video brother! Super easy to follow :)

  • @ohadavni
    @ohadavni Před rokem

    Great explanation!

  • @maryamzaki1097
    @maryamzaki1097 Před 2 lety

    Thank you , it is really helpful,i hope you can post more videos for JS

  • @CrazyCodingChannel
    @CrazyCodingChannel Před 2 lety +2

    I like your lessons, keep up the good work

    • @DevDreamer
      @DevDreamer  Před 2 lety

      Thank you, loads more to come 🙂👍

  • @jsjs2340
    @jsjs2340 Před 2 lety

    Guess whos back! Was waiting so much🖤💯

  • @uvrjj
    @uvrjj Před 2 lety

    Best js tutorial yet

  • @dilip8496
    @dilip8496 Před 2 lety +2

    Love you man for making this awesome 💖 tutorial for as😊

    • @DevDreamer
      @DevDreamer  Před 2 lety

      Hey Sino, thank you so much for watching 🙂👍

  • @amerali7471
    @amerali7471 Před 3 měsíci

    i like your enthusiasm

  • @iruga7379
    @iruga7379 Před rokem +1

    You just did what other teachers had failed for me...wich is to "TEACH".

  • @adebayooluwasegun7702
    @adebayooluwasegun7702 Před 2 lety

    Guy, you're good 🔥🔥🔥🔥

  • @mohamedaminehachemi49
    @mohamedaminehachemi49 Před rokem +1

    thanks

  • @prepladder6343
    @prepladder6343 Před 2 lety +1

    Thanks

  • @jerryezekwu122
    @jerryezekwu122 Před 2 lety +1

    Welcome back bro... You took your time 😅😅

  • @rl6382
    @rl6382 Před rokem

    What a delightful explanation. Bravo sir. You explained things better than 99.9999999% of youtubers

  • @vaibhavmevada9668
    @vaibhavmevada9668 Před 2 lety +1

    Love you bro because of you I learned JS but I have a complain where are you this 3 months??

    • @DevDreamer
      @DevDreamer  Před 2 lety

      Hi Vaibhav, please see my post about this, and thanks! 🙂👍

  • @raffimansoor3739
    @raffimansoor3739 Před 2 lety

    Hi any way to use searchable drop-down in html and javascript?

  • @appustudio8637
    @appustudio8637 Před 2 lety +1

    woow! welcome bro

  • @amoh96
    @amoh96 Před rokem

    Thank you so much what advice you give us to not forget and be good in Js ? and can we practice on project in this level or we must complet course than we start making small project

  • @prepladder6343
    @prepladder6343 Před 2 lety +1

    I watched your every video

  • @blujakmusik
    @blujakmusik Před 9 měsíci

    What IDE are you using?

  • @frost66bit
    @frost66bit Před rokem

    Anyone else not care that favorite was misspelled because the lesson is so good and valuable

    • @DevDreamer
      @DevDreamer  Před rokem +1

      Hey Frost, thanks for watching 🙂
      “Favorite and favourite are both correct spellings, depending on whether you use American or British spelling standards. Favorite is preferred in American English, while favourite is preferred in British English.”
      So this is why I write “favourite” as I’m British, lol. Really glad you found the lesson useful, thanks again for watching and supporting 🙂👍

    • @frost66bit
      @frost66bit Před rokem +1

      @@DevDreamer Wow, didn't know that. love the channel and info... I've already recommended it to a few coding buddies. The way you explain is priceless

    • @DevDreamer
      @DevDreamer  Před rokem

      Thank you, really appreciate it 🙂

  • @salonpa
    @salonpa Před rokem

    Hey , i realy liked you theme,would you mid share it ? 😊

  • @darbrown19
    @darbrown19 Před rokem

    Explanation is very well done. Music in the background is distracting and annoying

  • @akkaradechsrithongchai7766

    Function Ninja Turtles, good 😊

  • @mike_lightz
    @mike_lightz Před 2 lety

    wow

  • @piegenix3350
    @piegenix3350 Před 2 lety +2

    Knock knock
    Who's there?
    Dev Dreamer

  • @kolponaakter8468
    @kolponaakter8468 Před rokem

    Assalamu alaikum.why you do't make more videos about full stack web development.If you make more videos about full stack web development , we are benefits

  • @thizizack
    @thizizack Před 4 měsíci

    Can someone tell me what app he's coding in?

    • @DevDreamer
      @DevDreamer  Před 4 měsíci +1

      Hey! I sure can, it’s Visual Studio Code 👍

  • @BlackDev
    @BlackDev Před 2 lety

    must be a lonely soul like me playing those games haha definitely childhood

    • @DevDreamer
      @DevDreamer  Před 2 lety

      Hey Ricky thanks for watching! Lol, unfortunately I don’t really get the time to play games anymore, but when I do it’s not usually these retro games, although they do have a special place in my heart lol 👍

  • @NatureHarmonyMeditations

    so what is parameter?

    • @DevDreamer
      @DevDreamer  Před rokem

      Hi Minh, did you watch the lesson? 🙂

  • @ScreenPrintR
    @ScreenPrintR Před rokem

    Not sure why, but this doesn't work for me:
    Saved as scripts.js and used script tags in the index.html:
    function favGame(game) {
    console.log('My Favorite game is ${game}');
    }
    favGame("Sonic 2");
    favGame("Skyrim");
    favGame("Fallout 3");

    • @DevDreamer
      @DevDreamer  Před rokem

      Hey there thanks for watching 🙂
      It looks like you’re not using template literal back ticks, since you use a template literal ( i.e. ${game} ) your console log needs to be surrounded by back ticks `My Favourite game…` as opposed to the single quotes you are using.
      That should do it, if not how are you using the script tags in the index.html file? Can you show me please.
      Thanks again for watching! 🙂👍

    • @ScreenPrintR
      @ScreenPrintR Před rokem +1

      @@DevDreamer awe, true. Didn’t realize we have to use back ticks. Thank you.

    • @ScreenPrintR
      @ScreenPrintR Před rokem

      Thank you Dev Dreamer, changing the apostrophe's to back ticks worked. Kudo's to you.

  • @viewsbyblur
    @viewsbyblur Před rokem

    I'm literally typing the exact same thing but instead I'm getting parameters in the console log as the whole string, the arguments aren't being passed. the jquery is being passed as a string

    • @viewsbyblur
      @viewsbyblur Před rokem

      function ninjaTurtle(name, weapon) {
      console.log('${name} uses the ${weapon}');
      };
      ninjaTurtle("Leonardo", "Katanas");
      output: '${name} uses the ${weapon}'

    • @viewsbyblur
      @viewsbyblur Před rokem

      nvm...I was using quotation marks instead of apostrophes... God I hate syntax....

    • @DevDreamer
      @DevDreamer  Před rokem +1

      Hey man, thanks for watching 🙂
      Okay, you’ve ALMOST got it - in your console log instead of using single quotes '…' you need to use backticks `…` otherwise it won’t pick up your template literals 👍

    • @DevDreamer
      @DevDreamer  Před rokem +1

      Lol Yh, it’s always the littlest of things! Sorry, I didn’t see this comment hence my other reply, glad it’s sorted anyway. Thanks for watching 🙂👍

  • @kardelenkoc9746
    @kardelenkoc9746 Před 10 měsíci

    these function courses are worth 5 courses 😄

  • @adolfhitler6583
    @adolfhitler6583 Před 2 lety

    where the hell were you bro?