mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-30 04:30:01 +02:00
Add branching resources (#1825)
* Update readme.md Added description and links. * Update content/roadmaps/106-javascript/content/107-javascript-control-flow/101-conditional-statements/readme.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a33851c364
commit
a03314c9bf
@@ -1 +1,7 @@
|
||||
# Conditional statements
|
||||
# Conditional statements
|
||||
|
||||
When you write code, you often want to perform different actions for different decisions. You can use conditional statements in your code to do this. In JavaScript, we have three conditional statements: `if`, `if...else`, and `switch`.
|
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/conditionals'>Making decisions in your code — conditionals</BadgeLink>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://javascript.info/ifelse'>Conditional branching: if, '?'</BadgeLink>
|
||||
|
Reference in New Issue
Block a user