---
title: "Discussion on \"How to... Write a For Loop in JavaScript 🎭 - 1/2\" | Hashnode"
description: "Discussion on \"How to... Write a For Loop in JavaScript 🎭 - 1/2\". This two-part series will discuss how to use loops and conditional statements, particularly for loops & if statements, in JavaScript.\nPicture this. \nYou're bored at home and want to leave the house. \nYou then decide \"hey, why don't I ride around on m..."
url: "https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7"
---

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

Discussion

# [How to... Write a For Loop in JavaScript 🎭 - 1/2](https://eduvieowen.hashnode.dev/how-to-write-a-for-loop-in-javascript-12?utm_source=hashnode&utm_medium=feed)

This two-part series will discuss how to use loops and conditional statements, particularly for loops & if statements, in JavaScript. Picture this. You're bored at home and want to leave the house. You then decide "hey, why don't I ride around on m...

Aug 1, 2022 · 5 min read · eduvieowen.hashnode.dev  
Read the article

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

## Written by

[Eduvie Owen](https://hashnode.com/@eduvieowen)

@eduvieowen · Abuja, Nigeria

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

Back-End Developer 🚀 | Uni Student 👨🏽‍🎓 | Gamer 🕹

A tech enthusiast who Loves music, good movies and knowledge exchange. Let's learn and share ideas together 👨🏽‍🚀🚀

## Responses 6

Markdown supported · ⌘↵ to post

[Reina Mimi](https://hashnode.com/@sheCodes01)

[Aug 2, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e9594916f9480a9dac31fb)

Great article. The analogy drove home the point. Well done 👏

[Eduvie Owen](https://hashnode.com/@eduvieowen)

[Aug 2, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e9594916f9480a9dac31fb#reply-62e969c016f9480a9dac349e)

Thanks Reina! 😄 I'm glad you enjoyed it

[Charles Toriola](https://hashnode.com/@charliethemoon)

[Aug 2, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e8f4373f084d032011cd49)

I really loved reading this. Amazing work!

[Eduvie Owen](https://hashnode.com/@eduvieowen)

[Aug 2, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e8f4373f084d032011cd49#reply-62e9697716f9480a9dac3492)

Thanks man! Can't wait to collab with you 😎

[Daniel Chijindu](https://hashnode.com/@JDdotexe)

[Aug 1, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e7c38c053e6bd57842a0cd)

Great article Ed. Looking forward to part 2

[Eduvie Owen](https://hashnode.com/@eduvieowen)

[Aug 1, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e7c38c053e6bd57842a0cd#reply-62e82a25430bd1d04a848010)

Thank you! I'll send the link to your dm 😁

[Rotimi Jemilat](https://hashnode.com/@Meelah)

[Aug 1, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e79482053e6bd5784295b9)

Nice article Ed...I like the bicycle analogy

[Eduvie Owen](https://hashnode.com/@eduvieowen)

[Aug 1, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e79482053e6bd5784295b9#reply-62e7afbb430bd1d04a8469d8)

Thank you Jem Jem :D

[Solabi Abraham](https://hashnode.com/@Blessme)

[Aug 1, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e7897a053e6bd578429390)

This article resonates well even with non technical people with the bicycle scenario…Good job Owen

[Eduvie Owen](https://hashnode.com/@eduvieowen)

[Aug 1, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e7897a053e6bd578429390#reply-62e796ca053e6bd57842962f)

I'm glad it did! That's the aim🎯

[Richardson Okiti](https://hashnode.com/@richy002)

[Aug 1, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e77d95053e6bd578429145)

Nice article Ed

[Eduvie Owen](https://hashnode.com/@eduvieowen)

[Aug 1, 2022](https://hashnode.com/posts/how-to-write-a-for-loop-in-javascript-12/62e71a93430bd1d04a8452f7/comment/62e77d95053e6bd578429145#reply-62e79644053e6bd578429616)

Thanks a lot Richardson!
