// 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"));
@sertying Жыл бұрын
Hello Bro Code! May I have a favor? can you make a tutorial on how to make pages in react js (jsx). Please? :(
@percussion19996 ай бұрын
❤
@iowatheother498610 күн бұрын
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?
@nathanielfox114310 ай бұрын
After watching multiple JS videos on functions, this is the video that finally gave me that "Aha!" moment. Now I understand. Thank you!
@GrayShark098 ай бұрын
He is such an amazing teacher!
@Brakolli2 ай бұрын
fr huh
@mohammedshafiulla91159 ай бұрын
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.👌
@AvidAfrican9 ай бұрын
Listened to bunch of videos in yt i didn't get it until i saw Bro code i got a better understanding...
@nailevsky11 ай бұрын
That's one of the, actually it's the best video about how functions work!
@gichuhisamuel4387 Жыл бұрын
Thanks bro much appreciated you are life saviour
@juanarango44367 ай бұрын
THANK YOU THANK YOU. SO MANY VIDEOS ON THIS TOPIC. AND I FINALLY GOT IT WATCHING THIS ONE.!!!!!
@isaacfavour36968 ай бұрын
this was so helpful Brocode ! the best I've seen on this particular topic so far
@FloridaLuxGroup-2Ай бұрын
Thank you for making "this stuff" easiert to understamd and apply!
@MusfikaAkter-k4tАй бұрын
thanks bro. you are the man. watched so many js videos but you saved me
@piotrmazgaj4 ай бұрын
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.
@ronykax Жыл бұрын
dude ur a legend
@Aprabuddha11 ай бұрын
He is bro.... 🤣🤣
@STR-DP10 ай бұрын
SpongeBob turned 37 in 2023 and Patrick turned 38.
@l-fitness359010 ай бұрын
I laughed more than I should have at that part 😂
@finanin32635 ай бұрын
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 :)
@ToumiDouaa-d4j10 ай бұрын
perfectly explained !!!!! thank youuuuuuu
@greengraphics506011 ай бұрын
You made me understand Javascript. Pls can you do node Js videos
@selviraja775 Жыл бұрын
Love from, india you are a very good explanator sir.
@ronykax Жыл бұрын
why do Indians call people sir
@yaman55132 ай бұрын
Coz we always give respect to one who teaches us@@ronykax
@Azmeroth137011 ай бұрын
this man sound like another great man, Josh from Let’sgameitout
@Toxic-xk2zz10 ай бұрын
Love the way you explained ❤
@NickTorius5 ай бұрын
The craziest thing is that im watching this tutorial today an it actually is spongebobs birthday today, july 14
@Xics-c5c3 ай бұрын
Bro I love ❤️ you You saved me
@SibaSankar-i7s4 ай бұрын
You are fantastic,I love you Man❤
@nandinisingh89527 ай бұрын
outstanding and easy to understand...thankyou :)
@iowatheother498610 күн бұрын
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?
@alexglez34342 ай бұрын
gracias,excelente explicacion 👍
@mostlenyora31611 ай бұрын
Thanks King 🤟
@bicyclekikz147 ай бұрын
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
@FlockofSmeagles2 ай бұрын
You need to hire someone to go through your catalogue, and create playlists around certain topics. Wonderful job.
@Fan_Of_Adam4 ай бұрын
4:30 🤣🤣
@lenix_x2 ай бұрын
same XD
@hackingmaster392 Жыл бұрын
love you from bangladesh ❤❤❤❤
@markojelicic522811 ай бұрын
best explanation, tnx :)
@dileepkumardm1609 Жыл бұрын
Sir along with programming language what Knowledge is required to get placed.
@joachimuche42411 ай бұрын
Thx
@Mostafa-jh2ij8 ай бұрын
Thanks Bro!
@sertying Жыл бұрын
Hello Bro Code! May I have a favor? can you make a tutorial on how to make pages in react js (jsx). Please? :(
@buddhavlr1500 Жыл бұрын
he already did some tutorials on react like 2 weeks ago
@samueldayo926111 ай бұрын
Thanks for this video, bro code
@nikhiltiwari7371 Жыл бұрын
Bro I got sem end exams and have web dev subject can you please make a tutorial about MEAN stack pleease