JavaScript if Statements (Clip 8): Gentle Introduction to JavaScript

preview_player
Показать описание
Decisions, decisions, decisions. In programming, we use an if statement when we want the code to make a decision. We begin with a look at JavaScript basic building blocks. Then cover the anatomy of an if statement including else and else if. We compare equals, double equals, and triple equals (=, ==, ===). And we examine whether a variable is truthy or falsy.

*Lesson Links*

*Content*
00:00 JavaScript if statement
00:12 Basic building blocks
00:53 Defining comments
01:04 The anatomy of a JavaScript if statement
01:51 Equal, double equal, triple equal (=, ==, ===)
02:34 Body of the if block
03:05 else and else if
03:29 Flow chart
04:30 Truthy and falsy
05:39 Coding Along: if statements
06:13 if statement
07:29 Double equal vs triple equal
08:00 Truthy and falsy
09:33 Key points

*Audience*
• Anyone new to JavaScript.
• Existing developers that use JavaScript, and want to understand more about its syntax and how to use it on the web.
• Students considering a programming or web development career.
• Creatives that want a give their web pages some interactivity.
• Those that manage or interact with web developers to better understand what JavaScript is and how it is used.

This is the sixth and final course of the "How to Become a Web Developer" series.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
😊About Me
Hey! I'm Deborah Kurata
I'm a software developer and YouTube content creator. I speak at conferences such as VS Live and ng-conf. I write articles for freeCodeCamp. And I'm a Pluralsight author with courses in the top 10 most popular (out of 10,000+) over the past 5 years. For my work in support of software developers, I've been recognized with the Microsoft Most Valuable Professional (MVP) award, and I'm a Google Developer Expert (GDE).

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#javascriptifelse #ifelsejavascript #javascripttruthy #javascriptfalsy #javascript #javascripttutorial #javascriptcourse #javascriptprojects #javascriptproject #introductiontojavascript #learnjavascript #javascriptinthebrowser #kurata #beginners #code #learntocode #gettingstarted #programming #programmingbasics #programmer #learnprogramming #learnprogrammingonyoutube #development #developer
Рекомендации по теме