---
title: "Discussion on \"Getting Started With Conditional Statements \n( If, If Else, Elseif, Switch)\" | Hashnode"
description: "Discussion on \"Getting Started With Conditional Statements \n( If, If Else, Elseif, Switch)\". Just like the name implies, conditional statements are used to perform various actions depending on different conditions.\nThe IF Statement\nThe if statement is used to perform an action if a condition is true while if not true, it ignores.\nBelow is th..."
url: "https://hashnode.com/posts/getting-started-with-conditional-statements-if-if-else-elseif-switch/60fe5ec1982d8f5c560a14ea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Getting Started With Conditional Statements ( If, If Else, Elseif, Switch)](https://husmarn.hashnode.dev/getting-started-with-conditional-statements-if-if-else-elseif-switch?utm_source=hashnode&utm_medium=feed)

Just like the name implies, conditional statements are used to perform various actions depending on different conditions. The IF Statement The if statement is used to perform an action if a condition is true while if not true, it ignores. Below is th...

Jul 25, 2021 · 3 min read · husmarn.hashnode.dev  
Read the article

-   [#software-development](https://hashnode.com/tag/software-development)
-   [#php](https://hashnode.com/tag/php)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Lekan Kareem](https://hashnode.com/@Husmarn)

@Husmarn

  
[View profile](https://hashnode.com/@Husmarn)

Npm init

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
