---
title: "Pratik Devle (@pratikdevle) | Hashnode"
description: "Learning web development. Read the latest articles by Pratik Devle on Hashnode."
url: "https://hashnode.com/@pratikdevle"
---

@pratikdevle

# Pratik Devle

@pratikdevle · India · Joined June 2021

Learning web development

### [Currying in JS](https://pratikdevle.hashnode.dev/currying-in-js?utm_source=hashnode&utm_medium=feed)

Currying is a process in which it takes a function which have more than one parameter and converts it in function which takes only one parameter. Currying Let's understand using simple example //normal function const add = (a,b) => a + b; console.log...

2 min read · [pratikdevle.hashnode.dev](https://pratikdevle.hashnode.dev/currying-in-js?utm_source=hashnode&utm_medium=feed)

[May 22, 2022](https://hashnode.com/posts/currying-in-js/628a54e0929bcf4c721d4a61)

### [Shallow copy and Deep copy](https://pratikdevle.hashnode.dev/shallow-copy-and-deep-copy?utm_source=hashnode&utm_medium=feed)

Deep and Shallow copy is a technique in which we copy arrays or objects so that they don't have the same reference in the memory. Why do we need deep or shallow copy? So we need it in pure functions where arguments should not get mutate. Let's get st...

3 min read · [pratikdevle.hashnode.dev](https://pratikdevle.hashnode.dev/shallow-copy-and-deep-copy?utm_source=hashnode&utm_medium=feed)

[May 22, 2022](https://hashnode.com/posts/shallow-copy-and-deep-copy/628a15ddaad1d357809ff766)

### [Var, Let & Const](https://pratikdevle.hashnode.dev/var-let-and-const?utm_source=hashnode&utm_medium=feed)

Before ES6(2015), variables used to declare with var. But now with ES6 we have let and const for variable declaration. var had some drawbacks which caused developers to find new way for variable declarations. var var is globally scoped or functional ...

4 min read · [pratikdevle.hashnode.dev](https://pratikdevle.hashnode.dev/var-let-and-const?utm_source=hashnode&utm_medium=feed)

[Jan 12, 2022](https://hashnode.com/posts/var-let-and-const/61de94c34e70945324c593d4)

### [Array Method: How to add and remove elements from Array](https://pratikdevle.hashnode.dev/array-method-how-to-add-and-remove-elements-from-array?utm_source=hashnode&utm_medium=feed)

how we can use push() and unshift() to add elements to an array and pop() and shift() to remove an element from array.

2 min read · [pratikdevle.hashnode.dev](https://pratikdevle.hashnode.dev/array-method-how-to-add-and-remove-elements-from-array?utm_source=hashnode&utm_medium=feed)

[Aug 2, 2021](https://hashnode.com/posts/array-method-how-to-add-and-remove-elements-from-array/6107b46033a2a43971a2fd13)

### [Zomato home page clone using HTML & CSS](https://pratikdevle.hashnode.dev/zomato-home-page-clone-using-html-and-css?utm_source=hashnode&utm_medium=feed)

As a beginner, website clone is a good way to learn and practice the basics. So I tried to clone Zomato website home page using HTML & CSS. Key learnings include: Flexbox Grid Absolute positioning Hover animations Flexbox Flexbox is used to struct...

2 min read · [pratikdevle.hashnode.dev](https://pratikdevle.hashnode.dev/zomato-home-page-clone-using-html-and-css?utm_source=hashnode&utm_medium=feed)

[Jun 22, 2021](https://hashnode.com/posts/zomato-home-page-clone-using-html-and-css/60d1cd724943c46b8abad0cd)
