---
title: "Discussion on \"Basics of If, Else and Else If statements\" | Hashnode"
description: "Discussion on \"Basics of If, Else and Else If statements\". In Javascript, there are multiple ways to write conditionals. The first way most new developers get introduced to and get comfortable with is the “if statement”, “else statement” and the “else if” statement. \nHi 👋 and welcome to the first part of th..."
url: "https://hashnode.com/posts/basics-of-if-else-and-else-if-statements/62cd3ca28e6c0fc1acab3a04"
---

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

Discussion

# [Basics of If, Else and Else If statements](https://dannebrob.hashnode.dev/basics-of-if-else-and-else-if-statements?utm_source=hashnode&utm_medium=feed)

In Javascript, there are multiple ways to write conditionals. The first way most new developers get introduced to and get comfortable with is the “if statement”, “else statement” and the “else if” statement. Hi 👋 and welcome to the first part of th...

Jul 12, 2022 · 2 min read · dannebrob.hashnode.dev  
Updated Jul 25, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#conditionals](https://hashnode.com/tag/conditionals)
-   [#newbie](https://hashnode.com/tag/newbie)
-   [#if](https://hashnode.com/tag/if)
-   [#else](https://hashnode.com/tag/else)

## Written by

[Daniel Brobäck](https://hashnode.com/@DanneBrob)

@DanneBrob · Sweden

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

Javascript and React

I'm a Front-end Developer specialized in JavaScript and React. Sharing my notes and knowledge hoping I help this fantastic community! 🥳

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
