24: Conditional statements in JavaScript - Learn JavaScript front-end programming

preview_player
Показать описание
Conditional statements in JavaScript - Learn JavaScript front-end programming. In this video we will learn about if, else if, and else statements in JavaScript. We can use these to run a specific block of code, if a specific statement is true.

--

mmtuts is a YouTube 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.
Рекомендации по теме
Комментарии
Автор

please please continue what you're doing, your tutorials are the only one that makes sense. THANK YOU!

chasenguyen
Автор

I think i got it. But need more examples of else and else if statements. Thank you.

romanticscents
Автор

thanks i think i figured it out. this other guy from another video was using a function and button to change text color and text etc etc . (get elementby id...so when i was looking at your video i was confused why you used innerHTML but now i see he was using a (button) and i don't think you want to be tied to a button everytime you getElementById.

geraldfoushee
Автор

This was very well done. I did enjoy it. I practiced these and I did not use the getElementById.
I also must have missed the explanation for why we use. InnerHTML.

geraldfoushee
Автор

Hey Daniel, are you planning on covering any JS libraries in the future? I would suggest a library called p5, it allows you to do awsome graphical stuff and I think it could be alot of fun. I wrote a small paint program in it, I can send you a link to PM if you would like! Thanks for the tutorial as always!

matttepp
Автор

which color scheme do you use?can't find the one you use in this video

serbanbondor
Автор

Before I approach here, I did check line per line of the code copied everything verbatim but it did not run on all my browser so simple but why it did not work? I review this because i am making one conditional statement that is not also working but into my disappointment, even this example did not work on my browser. Again literally copied each and every letter from <!DOCTYPE html> down to </html> just to ensure i did miss a thing ... but disappointment... please help

marineoutsource