---
title: "Sanjana Balaji (@sanjana98) | Hashnode"
description: "Software developer looking to create an impact. Read the latest articles by Sanjana Balaji on Hashnode."
url: "https://hashnode.com/@sanjana98"
---

@sanjana98

# Sanjana Balaji

@sanjana98 · Joined May 2024

Software developer looking to create an impact

### [🌟 Understanding the Difference Between if-else and the Ternary Operator in JavaScript](https://codefocus.hashnode.dev/understanding-the-difference-between-if-else-and-the-ternary-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

JavaScript is a versatile and widely-used programming language. Among its many features are control flow statements like if-else and the ternary operator. Both are used to execute code based on conditions, but they have different use cases and syntax...

2 min read · [codefocus.hashnode.dev](https://codefocus.hashnode.dev/understanding-the-difference-between-if-else-and-the-ternary-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jul 15, 2024](https://hashnode.com/posts/understanding-the-difference-between-if-else-and-the-ternary-operator-in-javascript/6694d828ce16cf939ee1d8a7)

### [Understanding DOCTYPE in HTML: What It Is and Why We Use It 🌐](https://codefocus.hashnode.dev/understanding-doctype-in-html-what-it-is-and-why-we-use-it?utm_source=hashnode&utm_medium=feed)

Hi Everyone! Welcome to my blog! Today, we'll dive into an essential yet often overlooked aspect of HTML: the DOCTYPE declaration. Understanding DOCTYPE is crucial for anyone venturing into web development. Let's explore what it is and why it matters...

2 min read · [codefocus.hashnode.dev](https://codefocus.hashnode.dev/understanding-doctype-in-html-what-it-is-and-why-we-use-it?utm_source=hashnode&utm_medium=feed)

[Jun 12, 2024](https://hashnode.com/posts/understanding-doctype-in-html-what-it-is-and-why-we-use-it/6669789bc966c711ef7a90ea)
