---
title: "Discussion on \"Adding delays with setTimeout - JavaScript\" | Hashnode"
description: "Discussion on \"Adding delays with setTimeout - JavaScript\". In this blog, we will be learning about setTimeout method and how it can be used to add delays in the execution of a certain code.\nThe setTimeout method allows you to execute a piece of code after a certain amount of delay. \nLet's say, you want to sh..."
url: "https://hashnode.com/posts/adding-delays-with-settimeout-javascript/612a0564fd0bf8636d76b5d8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Adding delays with setTimeout - JavaScript](https://ravikumar0403.hashnode.dev/adding-delays-with-settimeout-javascript?utm_source=hashnode&utm_medium=feed)

In this blog, we will be learning about setTimeout method and how it can be used to add delays in the execution of a certain code. The setTimeout method allows you to execute a piece of code after a certain amount of delay. Let's say, you want to sh...

Aug 28, 2021 · 2 min read · ravikumar0403.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Ravi Kumar](https://hashnode.com/@ravikumar0403)

@ravikumar0403

  
[View profile](https://hashnode.com/@ravikumar0403)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
