JavaScript Tutorial For Beginners #12 - If Statements

Опубликовано: 27 June 2026
на канале: Net Ninja
122,054
2k

Hi all. In this JavaScript tutorial for beginners, we're going to take our first look at control flow - if statements. If statements are alive everywhere you look in the world. If you perform an action, there will be a corresponding reaction or result. This concept is used in programming too.

If statements can be used to check a variety of things in JavaScript, such as whether a certain element has a particular class associated with it, or to check if an element is showing on a web page. They're an extremely important aspect of JS, and will be VERY helpful in your future coding!

As usual, any questions just ask away :).

SUBSCRIBE TO CHANNEL -    / @netninja  

========== JavaScript for Beginners Playlist ==========

   • JavaScript Tutorials for Beginners  

========== CSS for Beginners Playlist ==========

   • CSS Tutorials For Beginners  

========== HTML for Beginners Playlist ==========

   • HTML Tutorials For Beginners  

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to -    / @netninja   or http://thenetninja.co.uk

========== Social Links ==========

Twitter - @TheNetNinja -   / thenetninjauk