Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts
Original source
49 responses to “Beginner JavaScript Tutorial – 8 – Functions with Multiple Parameters”
sir i have to ask one question what is the difference between alert and document.write???
Bucky, there is so much to learn from you.
I swear you are a fucking genius, you know about math, physics, code, everything!
OK, I got it.
document.write("Its not you, its the coconuts");
are you computer genius i htink ur better than mark zukerber g
sir,how can I make my web page responsive????
<script type="text/javascript">
function apples (one, two) {
document.write(one + "is better than " + two + "<br />");
apples ("muknerd", "Luna");
}
</script>
// my code didn't work. I don't know why?
Idk if you still read comments after these years but maybe someone else can answer my question: When writing JavaScript code in a seperate file than the html code, for example, in a "javascript.js" file. Why should I put the <script src=""> right before the end of the </body> and why does it not work if I put it right after <body>? I just can't get a view of why that is and I don't seem to find the answer i'm looking for, any informative answer is appreciated 🙂
when i define function in the sheet, it doesn't gets highlighted. I tried every possible information that i collected it, but i failed. Since the keyword function is not getting its color blue ie: getting highlighted , the page execution is not complete. I am using Google Chrome for execution and i am on Vista (chrome is not updating itself since i am on Vista) any way out will be appreciated.
poor Hobart haha, thanks for the great tutorials!
how to handle button on functions with parameters?
for eg: <input type="button" value="click" onclick="here("dude")">
Here dude s d value to parameter of function here().
bt it doesnt work
Thank you Bucky ?????✌️?
instead of writing "<br />" can i just write "break"
Its not you, its the coconuts…
These are wonderful tutorials and extremely helpful. I've been struggling with some JS concepts in an online course and I have to say these videos are much more effective for learning this language. Thanks for making them (:
dude thank you for this clear instructions
God is good
We have something in common, bucky roberts. I think coconut is more disgusting than just about anything. Even if I smell it. The very first thing when I am looking at nice pastries in a display is look for the coconut flavored stuff. It's bound to be there for some reason.
I love coconuts lol.
I'd kill for a coconut right now 😀
I hate coconut too!
whos watching this in 2016
Bucky … You are bae <3
<script type="text/javascript">
function apples(heavy, load){
document.write(heavy + " It's a trap. " + load + "<br />");
}
apples("No Bino!", "They said!");
</script>
poor Hobart 🙂
First, Bucky, I really really really appreciate you and your videos! You are the bomb. Second, I HATE coconut. LOL
Counting crows > Beiber
You are really awesome <3 perfect
But I like coconut…. Ha ha ha
These are great!
Hey buckey, let's shake hand about that coconut!
Programming is like playing god
using the previous button example and an alert box, this just not work at all, if u put the parameters in and deine their values or pass their values in i get a huge loop of unstopping alerts, and if i put the parametrs in the form, and input tags it destroys my code, anyone have solution?
Nice, short tutorials!
I know html and css but have been apprehensive about javascript. i've tried learning different ways….but these are the best lessons I've had on javascript so far….thank you for making these! The way you explain it I don't feel scared lol
im learning javascript to learn to code bots that scan hundreds of items at a time and buy the lowest price
"Counting crows" is correct I suppose because "is" is for counting rather than for crows. Correct me if I am wrong. Thanks for the upload Bucky..
Coconut is better than Beiber lol
this is irrelevant but you were right to say "Counting Crows is" bc it's a group, a single entity 😀
Would you continue to hate coconuts if Kate Upton wore just barely part of a coconut as a bra? 😉
How about throw the coconut to your nuts and let me us know about your feel LOL
Bucky. Thank you from TIbet. Thuk Jee Chee
guess whats on the 4th of april
Bucky, the healthiest natural oil on this planet is coconut oil… Lol! But it's true.
"Beiber" :)))))))))
Anyway, you are the best. I learned a lot from you.
The way you feel about coconuts, I feel about bananas. I can't stand even being around anyone eating a banana.
Dude… I thought what was in the parenthesis were PARAMETERS not VARIABLES (which are defined with var not()). So why r u calling it variables now? And somewhere between video 7 and 8 we learned that functions can be named? FoH going back to codeacademy
I did all as you did but its not working . i tried removing <br /> nothing happened. screen appears blank.everything was working fine till this video. please help me
Nice one – Germany