---
title: "Style Guide for new JavaScript Developers"
url: https://daily.dev/posts/style-guide-for-new-javascript-developers-h3s8u05tf
source_url: https://hosainabid.medium.com/style-guide-for-new-javascript-developers-e3d6cd6a727f
type: article
source: "Medium"
published: 2021-05-26T09:13:28.413Z
updated: 2021-10-07T14:17:10.317Z
tags: ["general-programming", "javascript"]
reading_time: 3
upvotes: 36
comments: 3
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Style Guide for new JavaScript Developers

**[Medium](https://daily.dev/sources/medium_js)** · 3 min read · 36 upvotes · 3 comments

## Summary

If you are a junior developer, your code may not be very efficient and clean. In this post, I will explain the 10 best practices you can do to make your code cleaner. If you use IF as a condition, make sure there is enough spacing between them. Write lots of comments in your code.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hosainabid.medium.com/style-guide-for-new-javascript-developers-e3d6cd6a727f>

## Community discussion

Top comments from developers on daily.dev.

**@abalejr** · 2 upvotes

> The points in this article are good, but the code samples don't use any indentation. Please use consistent indentation in blocks!

**@rap0so** · 2 upvotes

> This article seems like a mix of opinions, but don't worry fellow developer, nowadays we just follow one of these (battle tested) guidelines:
>
>
> https://google.github.io/styleguide/jsguide.html
> https://github.com/airbnb/javascript
> https://standardjs.com/
>
>
> You can choose if the project wasn't configured yet, and let your idle organize the code for you <3

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/style-guide-for-new-javascript-developers-h3s8u05tf)
