---
title: "Shivam Singhal (@championshuttler) | Hashnode"
description: "Pushing Bugs to Production. Read the latest articles by Shivam Singhal on Hashnode."
url: "https://hashnode.com/@championshuttler"
---

@championshuttler

# Shivam Singhal

@championshuttler · India · Joined November 2020

Pushing Bugs to Production

[Website](https://itsopensource.com/)

### [Creating accordions with native HTML](https://championshuttler.in/creating-accordions-with-native-html?utm_source=hashnode&utm_medium=feed)

Accordions are one of the most commonly used UI components for any website. For example FAQs section of the website, where only the question is shown, and when clicked the answer just opens up. Generally, we handle this by creating 2 divs and adding ...

2 min read · [championshuttler.in](https://championshuttler.in/creating-accordions-with-native-html?utm_source=hashnode&utm_medium=feed)

[Dec 12, 2020](https://hashnode.com/posts/creating-accordions-with-native-html/5fd4d3dc95130967e0992d42)

### [Content Security Policy - protect your website from XSS attacks](https://championshuttler.in/content-security-policy-protect-your-website-from-xss-attacks?utm_source=hashnode&utm_medium=feed)

Problem It's very common while building any project we use certain third party libraries, in the case of Javascript; npm packages, which recursively use more packages, and eventually your code includes a huge chunk of third party code.There is nothin...

6 min read · [championshuttler.in](https://championshuttler.in/content-security-policy-protect-your-website-from-xss-attacks?utm_source=hashnode&utm_medium=feed)

[Dec 8, 2020](https://hashnode.com/posts/content-security-policy-protect-your-website-from-xss-attacks/5fcf760aa38e1f208d80d50a)

### [How to call a function on URL change in javascript](https://championshuttler.in/how-to-call-a-function-on-url-change-in-javascript?utm_source=hashnode&utm_medium=feed)

Modern JS frameworks tend not to reload the page but manipulate DOM and change URL path for internal navigation, for performance and smooth UX. But since there is no page reload, window.onload event does not get triggered for subsequent navigation. W...

3 min read · [championshuttler.in](https://championshuttler.in/how-to-call-a-function-on-url-change-in-javascript?utm_source=hashnode&utm_medium=feed)

[Dec 5, 2020](https://hashnode.com/posts/how-to-call-a-function-on-url-change-in-javascript/5fcbd907685f4f01c470f43d)

### [How to Reduce Node Docker Image Size by 10X](https://championshuttler.in/how-to-reduce-node-docker-image-size-by-10x?utm_source=hashnode&utm_medium=feed)

Dockerizing an application is simple, effective, but optimizing the size of Docker Image is the tricky part. Docker is easy to use but once the application starts scaling, the image size inflates exponentially. In general, the node docker image size ...

5 min read · [championshuttler.in](https://championshuttler.in/how-to-reduce-node-docker-image-size-by-10x?utm_source=hashnode&utm_medium=feed)

[Dec 4, 2020](https://hashnode.com/posts/how-to-reduce-node-docker-image-size-by-10x/5fca5c167865da78339e4f05)
