// function = A section of reusable code. // Declare code once, use it whenever you want. // Call the function to execute that code. function happyBirthday(username, age){ console.log(`Happy birthday to you!`); console.log(`Happy birthday to you!`); console.log(`Happy birthday dear, ${username}`); console.log(`Happy birthday to you!`); console.log(`You are ${age} years old!`); } function add(x, y){ return x + y; } function subtract(x, y){ return x - y; } function multiply(x, y){ return x * y; } function divide(x, y){ return x / y; } function isEven(number){ return number % 2 === 0 ? true : false; } function isValidEmail(email){ return email.includes("@") ? true : false; } console.log(happyBirthday("BroCode", 25)); console.log(isValidEmail("Bro@fake.com"));
idk if u mentioned it or not but on the email one can you type the function however you want as long as "is" is in front? can i type isEmailValid? instead of isValidEmail?
Really bro, the way of your explanation is not in this particular video but in all this playlist is amazing, I like the way you explain everything with the examples.👌
Thank you for making these topics more understandable. I have been using codecademy and some of it dosn't even sound like it's written in English. Clear ideas, good examples, easy learning. thanks again :)
idk if u mentioned it or not but on the email one can you type the function however you want as long as "is" is in front? can i type isEmailValid? instead of isValidEmail?
when you switch to (age, username) as parameters but the argument stays the same, how does javascript know age suppose to belong to a number?? and when you call it, the order didn't change
// function = A section of reusable code.
// Declare code once, use it whenever you want.
// Call the function to execute that code.
function happyBirthday(username, age){
console.log(`Happy birthday to you!`);
console.log(`Happy birthday to you!`);
console.log(`Happy birthday dear, ${username}`);
console.log(`Happy birthday to you!`);
console.log(`You are ${age} years old!`);
}
function add(x, y){
return x + y;
}
function subtract(x, y){
return x - y;
}
function multiply(x, y){
return x * y;
}
function divide(x, y){
return x / y;
}
function isEven(number){
return number % 2 === 0 ? true : false;
}
function isValidEmail(email){
return email.includes("@") ? true : false;
}
console.log(happyBirthday("BroCode", 25));
console.log(isValidEmail("Bro@fake.com"));
Hello Bro Code! May I have a favor? can you make a tutorial on how to make pages in react js (jsx). Please? :(
❤
idk if u mentioned it or not but on the email one can you type the function however you want as long as "is" is in front? can i type isEmailValid? instead of isValidEmail?
After watching multiple JS videos on functions, this is the video that finally gave me that "Aha!" moment. Now I understand. Thank you!
He is such an amazing teacher!
fr huh
That's one of the, actually it's the best video about how functions work!
Really bro, the way of your explanation is not in this particular video but in all this playlist is amazing, I like the way you explain everything with the examples.👌
Listened to bunch of videos in yt i didn't get it until i saw Bro code i got a better understanding...
this was so helpful Brocode ! the best I've seen on this particular topic so far
THANK YOU THANK YOU. SO MANY VIDEOS ON THIS TOPIC. AND I FINALLY GOT IT WATCHING THIS ONE.!!!!!
Thanks bro much appreciated you are life saviour
Thank you for making "this stuff" easiert to understamd and apply!
This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal.
thanks bro. you are the man. watched so many js videos but you saved me
dude ur a legend
He is bro.... 🤣🤣
perfectly explained !!!!! thank youuuuuuu
Thank you for making these topics more understandable. I have been using codecademy and some of it dosn't even sound like it's written in English. Clear ideas, good examples, easy learning. thanks again :)
Love the way you explained ❤
Love from, india you are a very good explanator sir.
why do Indians call people sir
Coz we always give respect to one who teaches us@@ronykax
You made me understand Javascript. Pls can you do node Js videos
You are fantastic,I love you Man❤
Thanks King 🤟
The craziest thing is that im watching this tutorial today an it actually is spongebobs birthday today, july 14
gracias,excelente explicacion 👍
Very useful
this man sound like another great man, Josh from Let’sgameitout
outstanding and easy to understand...thankyou :)
You need to hire someone to go through your catalogue, and create playlists around certain topics. Wonderful job.
Bro I love ❤️ you
You saved me
SpongeBob turned 37 in 2023 and Patrick turned 38.
I laughed more than I should have at that part 😂
best explanation, tnx :)
love you from bangladesh ❤❤❤❤
Thanks Bro!
Thx
Thanks for this video, bro code
Hello Bro Code! May I have a favor? can you make a tutorial on how to make pages in react js (jsx). Please? :(
he already did some tutorials on react like 2 weeks ago
Bro code😎🔥💯
4:30 🤣🤣
same XD
idk if u mentioned it or not but on the email one can you type the function however you want as long as "is" is in front? can i type isEmailValid? instead of isValidEmail?
Sir along with programming language what Knowledge is required to get placed.
Bro I got sem end exams and have web dev subject can you please make a tutorial about MEAN stack pleease
when you switch to (age, username) as parameters but the argument stays the same, how does javascript know age suppose to belong to a number?? and when you call it, the order didn't change
Is there an algorithm that predicts aviator play?
😂😂
Hi BRO CODE : ) .
i'm patrick years old.
Mine is saying (Uncaught ReferenceError:)
love ya.