---
title: "Discussion on \"Conditional Statements\" | Hashnode"
description: "Discussion on \"Conditional Statements\". There are various types of conditional statements in JavaScript, like-\n\nIf Statement\n\nIf-else Statement\n\nIf-elseif-else Statement\n\n\nIf Statement\nThe if statement is used when we have to check any condition if it is true or false. If the given conditi..."
url: "https://hashnode.com/posts/conditional-statements/63694d3c8debf848cc8ddaee"
---

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

Discussion

# [Conditional Statements](https://prashanthandel.hashnode.dev/conditional-statements?utm_source=hashnode&utm_medium=feed)

There are various types of conditional statements in JavaScript, like- If Statement If-else Statement If-elseif-else Statement If Statement The if statement is used when we have to check any condition if it is true or false. If the given conditi...

Nov 7, 2022 · 2 min read · prashanthandel.hashnode.dev  
Updated Mar 30, 2023  
Read the article

-   [#html5](https://hashnode.com/tag/html5)
-   [#html](https://hashnode.com/tag/html)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#javascript-framework](https://hashnode.com/tag/javascript-framework)
-   [#conditional](https://hashnode.com/tag/conditional)

## Written by

[Prashant Handel](https://hashnode.com/@prashanthandel)

@prashanthandel · Indore, India

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

Frontend Developer

I'm a self taught web developer and a learner as well. I am sharing my experiences and knowledge here with a hope to help those who are beginners as sharing helps to grow together.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
