---
title: "Jay (@JayGadhiya) | Hashnode"
description: "Frontend developer. Read the latest articles by Jay on Hashnode."
url: "https://hashnode.com/@JayGadhiya"
---

@JayGadhiya

# Jay

@JayGadhiya · Bangaluru · Joined July 2021

Frontend developer

### [Understanding Cross-Site Scripting (XSS) in Web Security](https://jaygadhiya.hashnode.dev/understanding-cross-site-scripting-xss-in-web-security?utm_source=hashnode&utm_medium=feed)

How innerHtml Can Compromise Your Security

5 min read · [jaygadhiya.hashnode.dev](https://jaygadhiya.hashnode.dev/understanding-cross-site-scripting-xss-in-web-security?utm_source=hashnode&utm_medium=feed)

[Mar 25, 2025](https://hashnode.com/posts/understanding-cross-site-scripting-xss-in-web-security/67e2f8ac0bb22d4598339188)

### [Persistent Search Filters in React Using URL Parameters](https://jaygadhiya.hashnode.dev/persistent-search-filters-in-react-using-url-parameters?utm_source=hashnode&utm_medium=feed)

To achieve this, you can use the useSearchParams hook from React Router. This hook provides two important functions:

3 min read · [jaygadhiya.hashnode.dev](https://jaygadhiya.hashnode.dev/persistent-search-filters-in-react-using-url-parameters?utm_source=hashnode&utm_medium=feed)

[Sep 14, 2024](https://hashnode.com/posts/persistent-search-filters-in-react-using-url-parameters/66e5c3bb2551c6dd73414e09)

### [CSS Specificity](https://jaygadhiya.hashnode.dev/css-specificity?utm_source=hashnode&utm_medium=feed)

Specificity is a crucial topic for web developers and we have to constantly think in terms of specificity while writing CSS. Sometimes we mess up some color or margin/padding in our UI just because some CSS takes more specificity than recent CSS, the...

4 min read · [jaygadhiya.hashnode.dev](https://jaygadhiya.hashnode.dev/css-specificity?utm_source=hashnode&utm_medium=feed)

[May 17, 2022](https://hashnode.com/posts/css-specificity/6283dd057b02ca162edaa5aa)

### [Event Bubbling and capturing](https://jaygadhiya.hashnode.dev/event-bubbling-and-capturing?utm_source=hashnode&utm_medium=feed)

When we code nested HTML then handling Dom elements can get tedious to us In this blog I'll try my best to give an understanding of event bubbling and capturing and how to handle this, so let's get started... What is Event In javascript, Dom nodes ge...

4 min read · [jaygadhiya.hashnode.dev](https://jaygadhiya.hashnode.dev/event-bubbling-and-capturing?utm_source=hashnode&utm_medium=feed)

[May 10, 2022](https://hashnode.com/posts/event-bubbling-and-capturing/627aa08ef543e7a92b803c59)

### [3 Flavors of the for loop in javascript](https://jaygadhiya.hashnode.dev/3-flavors-of-the-for-loop-in-javascript?utm_source=hashnode&utm_medium=feed)

Everyone knows at least one version of the For loop, it’s a classic, and probably almost every language out there has a version of it. JavaScript however has three and they’re not exactly the same. 1. For loop So let's starts with a simple for loop....

3 min read · [jaygadhiya.hashnode.dev](https://jaygadhiya.hashnode.dev/3-flavors-of-the-for-loop-in-javascript?utm_source=hashnode&utm_medium=feed)

[Aug 28, 2021](https://hashnode.com/posts/3-flavors-of-the-for-loop-in-javascript/612a3b332858872661b9970b)
