---
title: "Vishal Singh Rawat (@thevishalsinghrawat) | Hashnode"
description: "Web Developer. Read the latest articles by Vishal Singh Rawat on Hashnode."
url: "https://hashnode.com/@thevishalsinghrawat"
---

@thevishalsinghrawat

# Vishal Singh Rawat

@thevishalsinghrawat · Joined March 2022

Web Developer

### [Type Error vs Reference Error](https://thevishalsinghrawat.hashnode.dev/type-error-vs-reference-error?utm_source=hashnode&utm_medium=feed)

In this article, we'll talk about the two most common JavaScript errors: TypeError and ReferenceError. The key to resolving either of these errors quickly is to understand the differences between them. What is a Type Error? Type errors occur when you...

3 min read · [thevishalsinghrawat.hashnode.dev](https://thevishalsinghrawat.hashnode.dev/type-error-vs-reference-error?utm_source=hashnode&utm_medium=feed)

[Feb 16, 2023](https://hashnode.com/posts/type-error-vs-reference-error/63ee4eff3d8e133663a21dca)

### [why does the console return undefined on executing the log method?](https://thevishalsinghrawat.hashnode.dev/why-does-the-console-return-undefined-on-executing-the-log-method?utm_source=hashnode&utm_medium=feed)

I write console.log(7) and press enter. The log output appears as expected, however, the next line shows undefined. Why is this? That is because the developer tools console executes the code first and shows the returned value then. It works the same...

1 min read · [thevishalsinghrawat.hashnode.dev](https://thevishalsinghrawat.hashnode.dev/why-does-the-console-return-undefined-on-executing-the-log-method?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/why-does-the-console-return-undefined-on-executing-the-log-method/63ee2edffef68f13152767c1) [Feb 16, 2023](https://hashnode.com/posts/why-does-the-console-return-undefined-on-executing-the-log-method/63ee2edffef68f13152767c1)

### [What is the difference between "==" and "===" in JS?](https://thevishalsinghrawat.hashnode.dev/what-is-the-difference-between-and-in-js?utm_source=hashnode&utm_medium=feed)

The equality operator in javascript is used to compare if two values are equal. In Javascript, the comparison is performed with the == and === operators. What is Double Equal (==) Operator? Double equals (==) is often referred to as 'loose equality' ...

3 min read · [thevishalsinghrawat.hashnode.dev](https://thevishalsinghrawat.hashnode.dev/what-is-the-difference-between-and-in-js?utm_source=hashnode&utm_medium=feed)

[Feb 16, 2023](https://hashnode.com/posts/what-is-the-difference-between-and-in-js/63ee2e70d0751683e9355785)

### [Layout Basics With Flexbox](https://thevishalsinghrawat.hashnode.dev/layout-basics-with-flexbox?utm_source=hashnode&utm_medium=feed)

In CSS, Flexbox provides the most efficient way of aligning spaces and layouts within a container. It is mainly used for small layouts. In Flex, some of the properties are set on the container (parent element, called "flex container") while others a...

3 min read · [thevishalsinghrawat.hashnode.dev](https://thevishalsinghrawat.hashnode.dev/layout-basics-with-flexbox?utm_source=hashnode&utm_medium=feed)

[Sep 3, 2022](https://hashnode.com/posts/layout-basics-with-flexbox/63130066d49bb9d8c2f72ab5)

### [Git and Github: a beginner's guide](https://thevishalsinghrawat.hashnode.dev/git-and-github-a-beginners-guide?utm_source=hashnode&utm_medium=feed)

What is version control? During the development of a project, version control records the changes made by individuals or teams. What is Git? Using Git, you can keep track of who did what to your code, when it was done, and who did it. In this way,...

3 min read · [thevishalsinghrawat.hashnode.dev](https://thevishalsinghrawat.hashnode.dev/git-and-github-a-beginners-guide?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/git-and-github-a-beginners-guide/6312f4fed49bb9d8c2f728ea) [Sep 3, 2022](https://hashnode.com/posts/git-and-github-a-beginners-guide/6312f4fed49bb9d8c2f728ea)
