# JavaScript

**URL:** https://forum.codewithmosh.com/c/javascript/16.md

[Latest](https://forum.codewithmosh.com/latest.md) · [Categories](https://forum.codewithmosh.com/categories.md)

---

## [About the JavaScript category](https://forum.codewithmosh.com/t/about-the-javascript-category/27)

<div class="topic-metadata">

**Author:** [@Mosh](https://forum.codewithmosh.com/u/Mosh)\
**Replies:** 0\
**Last updated:** [October 22, 2020, 10:30pm UTC](https://forum.codewithmosh.com/t/about-the-javascript-category/27 "2020-10-22T22:30:24Z")

</div>

---

## [What do you study next](https://forum.codewithmosh.com/t/what-do-you-study-next/72031)

<div class="topic-metadata">

**Author:** [@Moe](https://forum.codewithmosh.com/u/Moe)\
**Replies:** 3\
**Last updated:** [January 18, 2026, 10:50am UTC](https://forum.codewithmosh.com/t/what-do-you-study-next/72031 "2026-01-18T10:50:26Z")

</div>

I have just completed Javascript from Mosh, with the latest Technology ahead of us can anyone suggest to me what do you study next as in Ai or React etc

---

## [Looking for Javascript Learning resources similar to Mosh, but in depth](https://forum.codewithmosh.com/t/looking-for-javascript-learning-resources-similar-to-mosh-but-in-depth/72083)

<div class="topic-metadata">

**Author:** [@Moe](https://forum.codewithmosh.com/u/Moe)\
**Replies:** 10\
**Last updated:** [January 11, 2026, 1:34pm UTC](https://forum.codewithmosh.com/t/looking-for-javascript-learning-resources-similar-to-mosh-but-in-depth/72083 "2026-01-11T13:34:45Z")

</div>

Recently I have completed Javascript Intermediate and Advanced with Mosh, what other resources can you suggest?

---

## [Why does my IJ not look like Mosh's?](https://forum.codewithmosh.com/t/why-does-my-ij-not-look-like-moshs/72100)

<div class="topic-metadata">

**Author:** [@kyrissian](https://forum.codewithmosh.com/u/kyrissian)\
**Replies:** 3\
**Last updated:** [January 7, 2026, 10:29pm UTC](https://forum.codewithmosh.com/t/why-does-my-ij-not-look-like-moshs/72100 "2026-01-07T22:29:22Z")

</div>

I’ve just started at the very beginning, learning java, and when he started a new project, he could see a package name. When I start one, I don’t see anything like that anywhere, and I can’t get started with the first co…

---

## [Can't do a single exercise on my own](https://forum.codewithmosh.com/t/cant-do-a-single-exercise-on-my-own/71915)

<div class="topic-metadata">

**Author:** [@Ray1002](https://forum.codewithmosh.com/u/Ray1002)\
**Replies:** 3\
**Last updated:** [December 20, 2025, 11:37pm UTC](https://forum.codewithmosh.com/t/cant-do-a-single-exercise-on-my-own/71915 "2025-12-20T23:37:28Z")

</div>

So I’ve currently seen every lesson and coded along/trying to take notes up to and including ‘control flow’ in Ultimate JavaScript Part 1: Fundamentals . Exercises 1 to 5 I could do on my own, but from there not a single…

---

## [Accessing courses after purchasing a bundle](https://forum.codewithmosh.com/t/accessing-courses-after-purchasing-a-bundle/71911)

<div class="topic-metadata">

**Author:** [@bluberry](https://forum.codewithmosh.com/u/bluberry)\
**Replies:** 0\
**Last updated:** [November 30, 2025, 4:07pm UTC](https://forum.codewithmosh.com/t/accessing-courses-after-purchasing-a-bundle/71911 "2025-11-30T16:07:47Z")

</div>

Hello! After finishing The Ultimate JavaScript Series I was able to buy The Ultimate Full-stack JavaScript Developer bundle. It include courses like Angular 4, Mastering React 16, The complete Node.js course, Complete S…

---

## [I want to purchase for the life time access unlock all course but am getting error and no identification where the error is coming from anyone to help ? please](https://forum.codewithmosh.com/t/i-want-to-purchase-for-the-life-time-access-unlock-all-course-but-am-getting-error-and-no-identification-where-the-error-is-coming-from-anyone-to-help-please/71895)

<div class="topic-metadata">

**Author:** [@Austine.OB](https://forum.codewithmosh.com/u/Austine.OB)\
**Replies:** 0\
**Last updated:** [November 27, 2025, 2:52pm UTC](https://forum.codewithmosh.com/t/i-want-to-purchase-for-the-life-time-access-unlock-all-course-but-am-getting-error-and-no-identification-where-the-error-is-coming-from-anyone-to-help-please/71895 "2025-11-27T14:52:48Z")

</div>

i need help please am getting error like this and no specification where its coming from “Sorry, there was an error completing your purchase – please try again.”

---

## [Does JavaScript Course have DOM Manipulation?](https://forum.codewithmosh.com/t/does-javascript-course-have-dom-manipulation/71179)

<div class="topic-metadata">

**Author:** [@raghavr](https://forum.codewithmosh.com/u/raghavr)\
**Replies:** 2\
**Last updated:** [November 21, 2025, 11:51am UTC](https://forum.codewithmosh.com/t/does-javascript-course-have-dom-manipulation/71179 "2025-11-21T11:51:10Z")

</div>

guys, i was going through the course for JavaScript Part 1 Fundamentals, I didn’t find any “DOM” related stuff which is actually relevant in web. is it covered in “Javascript Part 2 Advance”? because the topics don’t s…

---

## [TIP of VsCodium - Vs Code](https://forum.codewithmosh.com/t/tip-of-vscodium-vs-code/71103)

<div class="topic-metadata">

**Author:** [@wildlux](https://forum.codewithmosh.com/u/wildlux)\
**Replies:** 2\
**Last updated:** [July 15, 2025, 11:10pm UTC](https://forum.codewithmosh.com/t/tip-of-vscodium-vs-code/71103 "2025-07-15T23:10:49Z")

</div>

hello everyone in some tutorial i see some line green like this and i want to understand how to do in my editor. I know it’s only GUI not code but i like to use do you know how to use it? I seack about function Squar…

---

## [Regex to match backticks containing non whitespace character](https://forum.codewithmosh.com/t/regex-to-match-backticks-containing-non-whitespace-character/71176)

<div class="topic-metadata">

**Author:** [@yoir](https://forum.codewithmosh.com/u/yoir)\
**Replies:** 4\
**Last updated:** [April 16, 2025, 6:35pm UTC](https://forum.codewithmosh.com/t/regex-to-match-backticks-containing-non-whitespace-character/71176 "2025-04-16T18:35:17Z")

</div>

i need a regex that will match any content within two backticks as long as there is at least one non white space character and return immediately after the second backtick. been trying for ages w/ no success

---

## [Webpack-cli init not working](https://forum.codewithmosh.com/t/webpack-cli-init-not-working/409)

<div class="topic-metadata">

**Author:** [@pfabbi](https://forum.codewithmosh.com/u/pfabbi)\
**Replies:** 11\
**Last updated:** [March 28, 2025, 8:46am UTC](https://forum.codewithmosh.com/t/webpack-cli-init-not-working/409 "2025-03-28T08:46:18Z")

</div>

So I’m on the very last lecture of The Ultimate Javascript Series Part - 2, and the lecture is titled “Webpack”. I installed npm i -g webpack-cli@2.0.14 as intstructed, so far so good. Then I tried webpack-cli init and …

---

## [Why isnt this code working?](https://forum.codewithmosh.com/t/why-isnt-this-code-working/71100)

<div class="topic-metadata">

**Author:** [@Rinne6paths](https://forum.codewithmosh.com/u/Rinne6paths)\
**Replies:** 2\
**Last updated:** [January 31, 2025, 5:25pm UTC](https://forum.codewithmosh.com/t/why-isnt-this-code-working/71100 "2025-01-31T17:25:08Z")

</div>

I was just trying to exercise some new stuff im learning, but the code below won’t print anything to the console and i’m not sure why const newApartment = 1600 let wallet = 1000 function apartmentMove() { if (wallet \>…

---

## [JavaScript Pt2 - Prototypes Solution doesn't work](https://forum.codewithmosh.com/t/javascript-pt2-prototypes-solution-doesnt-work/2886)

<div class="topic-metadata">

**Author:** [@Cage](https://forum.codewithmosh.com/u/Cage)\
**Replies:** 7\
**Last updated:** [January 29, 2025, 3:22pm UTC](https://forum.codewithmosh.com/t/javascript-pt2-prototypes-solution-doesnt-work/2886 "2025-01-29T15:22:04Z")

</div>

I just started with the second JavaScript course after I finished part 1. I love the video’s and everything is explained very well. It’s a lot of fun. Could someone help me understand the solution of the section ‘Protot…

---

## [JavaScript to enhance web pages](https://forum.codewithmosh.com/t/javascript-to-enhance-web-pages/31215)

<div class="topic-metadata">

**Author:** [@eliotmayer](https://forum.codewithmosh.com/u/eliotmayer)\
**Replies:** 3\
**Last updated:** [January 18, 2025, 2:22am UTC](https://forum.codewithmosh.com/t/javascript-to-enhance-web-pages/31215 "2025-01-18T02:22:33Z")

</div>

I completed Mosh’s HTML/CSS course, which was great. Now I am part way through his first JavaScript class. But I see nothing in the contents that relates to enhancing web sites. Are such things in any of Mosh’s JavaSc…

---

## [GETTER SETTER question](https://forum.codewithmosh.com/t/getter-setter-question/31132)

<div class="topic-metadata">

**Author:** [@wildlux](https://forum.codewithmosh.com/u/wildlux)\
**Replies:** 0\
**Last updated:** [January 5, 2025, 12:17pm UTC](https://forum.codewithmosh.com/t/getter-setter-question/31132 "2025-01-05T12:17:39Z")

</div>

In the course video 12 there is this file explaning all. function Circle(radius) { this.radius= radius; let defaultLocation = {x : 0 ,y : 0 }; this.defaultLocation= function(){ return defaultLoc…

---

## [20- Exercize - moving an element \[ Array \]](https://forum.codewithmosh.com/t/20-exercize-moving-an-element-array/30657)

<div class="topic-metadata">

**Author:** [@wildlux](https://forum.codewithmosh.com/u/wildlux)\
**Replies:** 2\
**Last updated:** [December 23, 2024, 9:24pm UTC](https://forum.codewithmosh.com/t/20-exercize-moving-an-element-array/30657 "2024-12-23T21:24:10Z")

</div>

Good morning people i follow the course of mosh and i am stack in square backet. I still found the same topic but i don’t undestand we use that “\[0\]” at the end of command. I copy the code here for undestand all things…

---

## [Encapsulation - making class members private](https://forum.codewithmosh.com/t/encapsulation-making-class-members-private/30457)

<div class="topic-metadata">

**Author:** [@yoir](https://forum.codewithmosh.com/u/yoir)\
**Replies:** 0\
**Last updated:** [December 11, 2024, 8:12pm UTC](https://forum.codewithmosh.com/t/encapsulation-making-class-members-private/30457 "2024-12-11T20:12:36Z")

</div>

Mosh! Please update courses! Mosh takes 2 lessons to explain how to privatise members using weakMaps or symbols. Since ES13 you simply need to preface the member with # to make it truly private. Very much hope this wil…

---

## [Alt solution to the Except exercise in arrays section](https://forum.codewithmosh.com/t/alt-solution-to-the-except-exercise-in-arrays-section/30225)

<div class="topic-metadata">

**Author:** [@yoir](https://forum.codewithmosh.com/u/yoir)\
**Replies:** 0\
**Last updated:** [November 29, 2024, 1:48pm UTC](https://forum.codewithmosh.com/t/alt-solution-to-the-except-exercise-in-arrays-section/30225 "2024-11-29T13:48:37Z")

</div>

function except(inputArray, exceptionArray){ for(let element of exceptionArray){ if (!inputArray.includes(element)) { console.log(\`element ${element} not found\`); } while (inputArray.includes(element)…

---

## [How display a working Console in VSC --- solved](https://forum.codewithmosh.com/t/how-display-a-working-console-in-vsc-solved/30120)

<div class="topic-metadata">

**Author:** [@Gallienus](https://forum.codewithmosh.com/u/Gallienus)\
**Replies:** 4\
**Last updated:** [November 25, 2024, 4:16pm UTC](https://forum.codewithmosh.com/t/how-display-a-working-console-in-vsc-solved/30120 "2024-11-25T16:16:31Z")

</div>

For example “Opening a Console” tells us little. Open the Developer Console: Right-click anywhere on your webpage, is the more complete explanation. I’ve gotten to section4: ControlFlow on the beginning JavaScript cl…

---

## [Processing Data after Form POST](https://forum.codewithmosh.com/t/processing-data-after-form-post/30043)

<div class="topic-metadata">

**Author:** [@rel82me](https://forum.codewithmosh.com/u/rel82me)\
**Replies:** 8\
**Last updated:** [November 21, 2024, 4:30am UTC](https://forum.codewithmosh.com/t/processing-data-after-form-post/30043 "2024-11-21T04:30:11Z")

</div>

Hey Friends, like many of you, I’m fairly new to all of this. I need some help to get over a bump, so if anyone has a moment and a solution, I would like to hear from you! I have a very simple form sending a POST to remo…

---

## [Javascript fundamental course](https://forum.codewithmosh.com/t/javascript-fundamental-course/29735)

<div class="topic-metadata">

**Author:** [@rijalsam](https://forum.codewithmosh.com/u/rijalsam)\
**Replies:** 4\
**Last updated:** [November 7, 2024, 5:50pm UTC](https://forum.codewithmosh.com/t/javascript-fundamental-course/29735 "2024-11-07T17:50:35Z")

</div>

Hey i have finished javascript fundamentals course and currently doing typescript course. I was wondering why mosh did not included DOM and async function in his curriculum. Its neither in fundamentals nor in advance jav…

---

## [Does the JavaScript course ever explain how to connect JavaScript to DOM?](https://forum.codewithmosh.com/t/does-the-javascript-course-ever-explain-how-to-connect-javascript-to-dom/19324)

<div class="topic-metadata">

**Author:** [@sharktank](https://forum.codewithmosh.com/u/sharktank)\
**Replies:** 6\
**Last updated:** [May 14, 2024, 10:05am UTC](https://forum.codewithmosh.com/t/does-the-javascript-course-ever-explain-how-to-connect-javascript-to-dom/19324 "2024-05-14T10:05:25Z")

</div>

So I know that the course explains how to understand the coding language in general, but does it ever explain how to use JavaScript to connect to the DOM? To use JavaScript to affect the HTML and CSS files itself? (click…

---

## [JavaScript. Is this course still working?](https://forum.codewithmosh.com/t/javascript-is-this-course-still-working/28780)

<div class="topic-metadata">

**Author:** [@J-Duluc28](https://forum.codewithmosh.com/u/J-Duluc28)\
**Replies:** 0\
**Last updated:** [September 16, 2024, 1:33am UTC](https://forum.codewithmosh.com/t/javascript-is-this-course-still-working/28780 "2024-09-16T01:33:23Z")

</div>

I would like to know if this course is updated or outdated.

---

## [I enjoyed the javascript course on youtube](https://forum.codewithmosh.com/t/i-enjoyed-the-javascript-course-on-youtube/28725)

<div class="topic-metadata">

**Author:** [@ngohjurnior](https://forum.codewithmosh.com/u/ngohjurnior)\
**Replies:** 0\
**Last updated:** [September 12, 2024, 7:10pm UTC](https://forum.codewithmosh.com/t/i-enjoyed-the-javascript-course-on-youtube/28725 "2024-09-12T19:10:08Z")

</div>

I had to come over here for more but unable to get because lack of funs

---

## [I have an some Doubt Array Topic](https://forum.codewithmosh.com/t/i-have-an-some-doubt-array-topic/27986)

<div class="topic-metadata">

**Author:** [@sivakumar](https://forum.codewithmosh.com/u/sivakumar)\
**Replies:** 7\
**Last updated:** [August 10, 2024, 8:13pm UTC](https://forum.codewithmosh.com/t/i-have-an-some-doubt-array-topic/27986 "2024-08-10T20:13:08Z")

</div>

Hi, I am using array method but i have some doubt… when did i use call back function and return keyword… can you please tell me… another doubt i am using array and i have to push some value in array… then why can’t sto…

---

## [Creating a password generator using JavaScript](https://forum.codewithmosh.com/t/creating-a-password-generator-using-javascript/18971)

<div class="topic-metadata">

**Author:** [@jmory](https://forum.codewithmosh.com/u/jmory)\
**Replies:** 2\
**Last updated:** [March 22, 2023, 10:51pm UTC](https://forum.codewithmosh.com/t/creating-a-password-generator-using-javascript/18971 "2023-03-22T22:51:08Z")

</div>

Hello, I am very new to learning JavaScript and I am completely stuck at trying to figure out one of my first exercises. It is password generator. I have the HTML, CSS set up. but my javascript code just isnt working fo…

---

## [Services: return a class or create function?](https://forum.codewithmosh.com/t/services-return-a-class-or-create-function/28025)

<div class="topic-metadata">

**Author:** [@bread](https://forum.codewithmosh.com/u/bread)\
**Replies:** 0\
**Last updated:** [August 2, 2024, 3:59pm UTC](https://forum.codewithmosh.com/t/services-return-a-class-or-create-function/28025 "2024-08-02T15:59:58Z")

</div>

In part 16 of “Connecting the Backend” in the React 18 for Beginners (see repo), for his HttpService, Mosh exports create as his default, instead of just exporting the HttpService class. In the video, it’s only explained…

---

## [Is closure function topic covered in the Javascript course (Part 1 & 2)?](https://forum.codewithmosh.com/t/is-closure-function-topic-covered-in-the-javascript-course-part-1-2/27741)

<div class="topic-metadata">

**Author:** [@Siddhartha](https://forum.codewithmosh.com/u/Siddhartha)\
**Replies:** 1\
**Last updated:** [July 20, 2024, 2:34am UTC](https://forum.codewithmosh.com/t/is-closure-function-topic-covered-in-the-javascript-course-part-1-2/27741 "2024-07-20T02:34:30Z")

</div>

Does the Javascript course explain about closure function.

---

## [Asynchronous programming in JS](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678)

<div class="topic-metadata">

**Author:** [@Sivagurunathan](https://forum.codewithmosh.com/u/Sivagurunathan)\
**Replies:** 6\
**Last updated:** [July 14, 2024, 4:28pm UTC](https://forum.codewithmosh.com/t/asynchronous-programming-in-js/9678 "2024-07-14T16:28:00Z")

</div>

Can we have a chapter in javascript which talks about async programming ? concepts like event loop, promises, async/await, etc … ?

---

## [Advice and roadmap for web programming for beginner level](https://forum.codewithmosh.com/t/advice-and-roadmap-for-web-programming-for-beginner-level/27649)

<div class="topic-metadata">

**Author:** [@Nam.dv133](https://forum.codewithmosh.com/u/Nam.dv133)\
**Replies:** 0\
**Last updated:** [July 14, 2024, 2:34am UTC](https://forum.codewithmosh.com/t/advice-and-roadmap-for-web-programming-for-beginner-level/27649 "2024-07-14T02:34:56Z")

</div>

Hello Mosh, I have two questions to ask you 1, I’m finished in third-year students college but I still alone and disorentiation in web development The fact about Edtech’s major, I also learn some subject, such as: Pr…

[Next page](https://forum.codewithmosh.com/c/javascript/16.md?page=1)
