---
title: "Discussion on \"Fundamentals of Javascript\" | Hashnode"
description: "Discussion on \"Fundamentals of Javascript\". If else Conditionals\nThe \"if\" statement in JavaScript executes a block of code if a specific condition is met. The \"else\" clause is used to execute a block of code if the condition is not met.\nHere is the basic syntax for an \"if\" statement:\nif (condi..."
url: "https://hashnode.com/posts/fundamentals-of-javascript/63fa0419438f5d90d2214f4b"
---

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

Discussion

# [Fundamentals of Javascript](https://samcodes19.hashnode.dev/fundamentals-of-javascript?utm_source=hashnode&utm_medium=feed)

If else Conditionals The "if" statement in JavaScript executes a block of code if a specific condition is met. The "else" clause is used to execute a block of code if the condition is not met. Here is the basic syntax for an "if" statement: if (condi...

Feb 25, 2023 · 10 min read · samcodes19.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Samridhi](https://hashnode.com/@Samcodes19)

@Samcodes19 · India

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

Web development

I'm Samridhi Vashisht, a front-end developer skilled in React and Node.js. Aspiring full-stack developer with a passion for building user-friendly websites. Recently developed an interest in writing blogs to share my knowledge and experience.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
