---
title: "#conditionals articles | Hashnode"
description: "Explore 40 articles tagged #conditionals on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/conditionals"
---

Tag

# #conditionals

40 posts · 0 followers

[HITESH KUMAR](https://hashnode.com/@hiteshpatel334) · [Mar 18](https://hashnode.com/posts/control-flow-in-javascript-if-else-and-switch-explained/69bac4b08c55d6eefb2ee5cf)

### [Control Flow in JavaScript: If, Else, and Switch Explained](https://hiteshs-dev-blog.hashnode.dev/control-flow-in-javascript-if-else-and-switch-explained?utm_source=hashnode&utm_medium=feed)

Learn how to control the flow of your JavaScript programs using if, else, and switch statements 🔥 In this tutorial, you will understand

4 min read · [hiteshs-dev-blog.hashnode.dev](https://hiteshs-dev-blog.hashnode.dev/control-flow-in-javascript-if-else-and-switch-explained?utm_source=hashnode&utm_medium=feed)

[Neha Chopra](https://hashnode.com/@nerdyNeha) · [Mar 10](https://hashnode.com/posts/traffic-signals-mastering-control-flows-in-javascript/69b07365abc0d950019b9ac0)

### [Traffic signals : Mastering control flows in javascript](https://nerdyneha.hashnode.dev/traffic-signals-mastering-control-flows-in-javascript?utm_source=hashnode&utm_medium=feed)

With the analogy of a traffic light, we explore conditional statements in javascipt including if/else statements and switch/case statements.

3 min read · [nerdyneha.hashnode.dev](https://nerdyneha.hashnode.dev/traffic-signals-mastering-control-flows-in-javascript?utm_source=hashnode&utm_medium=feed)

[Paramveer](https://hashnode.com/@paramveer504) · [Mar 10](https://hashnode.com/posts/control-flow-in-javascript-if-else-and-switch-explained/69aff8bcabc0d950015069af)

### [Control Flow in JavaScript: If, Else, and Switch Explained](https://understanding-web-dev.hashnode.dev/control-flow-in-javascript-if-else-and-switch-explained?utm_source=hashnode&utm_medium=feed)

Learn JavaScript control flow with simple examples of if, else, else-if ladders, and switch statements to understand how code execution works.

7 min read · [understanding-web-dev.hashnode.dev](https://understanding-web-dev.hashnode.dev/control-flow-in-javascript-if-else-and-switch-explained?utm_source=hashnode&utm_medium=feed)

[Ved Pandey](https://hashnode.com/@Ved-Pandey) · [Mar 2](https://hashnode.com/posts/control-flow-in-javascript-if-else-and-switch-explained/69a5de3ae8e1f9df72d67eb8)

### [Control Flow in JavaScript: If, Else, and Switch Explained](https://vedpandeydev.hashnode.dev/control-flow-in-javascript-if-else-and-switch-explained?utm_source=hashnode&utm_medium=feed)

A beginner's guide to Control Flow in JavaScript: If, Else, and Switch Explained

7 min read · [vedpandeydev.hashnode.dev](https://vedpandeydev.hashnode.dev/control-flow-in-javascript-if-else-and-switch-explained?utm_source=hashnode&utm_medium=feed)

[Slobodan Jevtić](https://hashnode.com/@bobaSloba) · [Feb 20](https://hashnode.com/posts/from-commands-to-control-mastering-logic-in-bash/6997e86c587b14d25b741933)

### [From Commands to Control: Mastering Logic in Bash](https://slobodan.hashnode.dev/from-commands-to-control-mastering-logic-in-bash?utm_source=hashnode&utm_medium=feed)

Learn how to use conditionals, logical operators, arithmetic calculations, arrays, and for loops in Bash scripting. This practical guide walks through

3 min read · [slobodan.hashnode.dev](https://slobodan.hashnode.dev/from-commands-to-control-mastering-logic-in-bash?utm_source=hashnode&utm_medium=feed)

[GeekCoder](https://hashnode.com/@GeekCoder927) · [Dec 30, 2025](https://hashnode.com/posts/conditionals-for-newbies-guide-exercises-challenge/6953b928f9602d341ddecb68)

### [Conditionals for Newbies: Guide + Exercises + Challenge](https://pythongrammer.hashnode.dev/conditionals-for-newbies-guide-exercises-challenge?utm_source=hashnode&utm_medium=feed)

A descriptive and easy-to-understand guide for beginners who need a robust understanding of conditional statements.

7 min read · [pythongrammer.hashnode.dev](https://pythongrammer.hashnode.dev/conditionals-for-newbies-guide-exercises-challenge?utm_source=hashnode&utm_medium=feed)

[Sergey Shishkin](https://hashnode.com/@Serj-Aleks) · [Jul 11, 2025](https://hashnode.com/posts/cond-mnogovariantnoe-uslovie/6870beb0c5b09b36f38faa53)

### [cond - многовариантное условие](https://serj-aleks.hashnode.dev/cond-mnogovariantnoe-uslovie?utm_source=hashnode&utm_medium=feed)

(cond ('any1 . prg1) ('any2 . prg2) ..) -> any Если любое из условий anyN не равно NIL, выполняется prgN и возвращается результат. В противном случае (все условия равны NIL) возвращается NIL. См. также nond when and if if2 Пример : (cond ((= 3 4) ...

2 min read · [serj-aleks.hashnode.dev](https://serj-aleks.hashnode.dev/cond-mnogovariantnoe-uslovie?utm_source=hashnode&utm_medium=feed)

[Arpit Shraddhansh](https://hashnode.com/@ashraddhansh) · [May 4, 2025](https://hashnode.com/posts/conditional-expressions-for-files-in-bash/681727f65f4b61fdd918fe00)

### [Conditional Expressions for Files in Bash](https://conditional-statements-for-files-in-bash.hashnode.dev/conditional-expressions-for-files-in-bash?utm_source=hashnode&utm_medium=feed)

What are conditional expressions? When we use conditional statements like if we need to pass some conditions to check whether it's true or not and based on that information we execute some commands. For example: i=4 if i>2: print("i is greater th...

3 min read · [conditional-statements-for-files-in-bash.hashnode.dev](https://conditional-statements-for-files-in-bash.hashnode.dev/conditional-expressions-for-files-in-bash?utm_source=hashnode&utm_medium=feed)

[Payal Porwal](https://hashnode.com/@PayalPorwal) · [Apr 17, 2025](https://hashnode.com/posts/topic-6-handling-events-in-react-topic-7-conditional-rendering-in-react/6800fa9d8713f07580cda27d)

### [⚛️ Topic 6: Handling Events in React ⚛️ Topic 7: Conditional Rendering in React](https://codeswithpayal.hashnode.dev/topic-6-handling-events-in-react-topic-7-conditional-rendering-in-react?utm_source=hashnode&utm_medium=feed)

Master React event handling and conditional rendering with examples for dynamic apps, ideal for students and professionals

14 min read · [codeswithpayal.hashnode.dev](https://codeswithpayal.hashnode.dev/topic-6-handling-events-in-react-topic-7-conditional-rendering-in-react?utm_source=hashnode&utm_medium=feed)

[USIWO SONIA](https://hashnode.com/@SoniaUsiwo) · [Mar 12, 2025](https://hashnode.com/posts/javascript-data-types-explained-a-beginners-guide-with-examples/67d1fa169518cb8316e2eb6c)

### [JavaScript Data Types Explained: A Beginner's Guide with Examples](https://javascript-journey.hashnode.dev/javascript-data-types-explained-a-beginners-guide-with-examples?utm_source=hashnode&utm_medium=feed)

Learn the basics of JavaScript data types in this beginner-friendly guide. Understand strings, numbers, booleans, and more with easy explanations and code e

3 min read · [javascript-journey.hashnode.dev](https://javascript-journey.hashnode.dev/javascript-data-types-explained-a-beginners-guide-with-examples?utm_source=hashnode&utm_medium=feed)
