r/learnjavascript

Need guidance/advice for direction.

Hello everyone (this is me first time posting so sorry if I suck), I am 21M in final year of my btech degree. I just completed a js course (from sheryians coding school on yt) which spanned for over 4 videos going from basics to advance and the next 3 videos of it are major projects. Initially they built small projects and I was able to grasp them and posted a bit of them on my X and git too but with the increasing difficulty of the topics, their project complexity increased aswell. So right now I'm in a situation where I understand the concepts and in theory can explain them but when it comes to making something even a tad bit advance (like using class or even this keyword) I suck, I straight up get frozen as to what to do first.

So I just wanted from all of you kind devs to share some sorta advice as to what should I do next. I've had a bit of self talk and this what I thought of as of now.

\-Watch js video of another ytuber

\-Buy and watch angela yu's bootcamp on udemy

\-start js basics

As mentioned above I'm in last year so I'll need to land a decent job at the very least by the end of the year or by jan 2027.

Feel free to criticize me for my carelessness but please provide me with advices that worked for you since my js logic and building are very bad (4-5/10)

Thanks in advance.

reddit.com
u/IngenuityUsual7655 — 7 hours ago

[AskJS] Looking for a challenge? I built a 3,000-line Vanilla JS project and need a coding partner to finish.

Hi!
I've been working on my project for now just over a year, it was suposed to be a fun experience to make a website, but it's not anymore. When the script started to get big, I asked IA, started vibecoding, this worked for a while, but now the code is so complexe they can't even remember everything.

The website is centered on a complexe js script that calculate every result and manage my racing league. I just need a little last push to finish the main page, then I should be able to finish everything myshelf, I don't whant someone to work for me, I just whant someone that whant a little challange to work on during free time.

Here is the main js code: https://pastebin.com/dUTkq39Z , if I need to share all of my codes pages tell me! The passord is Thankyou!

If somebody whant to help me I will be very grateful!

reddit.com
u/Real-Passion9543 — 20 hours ago

What do I do now

I did my major in accounting, worked in that field for a while and now switched to IT

I learned C#(only basic, my friend taught me) and based on that I was hired by my current company and they told me to learn JS but I don't know where to start I know the basics like DOM functions but they want me to learn Node.js as well and I don't know where to start

reddit.com
u/Secret_Court_4747 — 1 day ago

How can I learn javascript in 2026?

I've been struggling watching tutorials, and then I stopped because I noticed I was just watching without building.

Now I'm trying to build, and it seems like it isn't clicking, like my brain isn't understanding the concept.

I don't know if it's just July train or others actually went through this.

I seriously need help, I know most of the syntax, I just struggle and black out when I want to build projects.

Someone should give me some advice

reddit.com
u/Available_Might1314 — 3 days ago

Backend Nodejs

Hello, I have been working Node.js built my first full stack desktop application MERN/Ts, and currently working on my second project PERN/Ts , However as I work on second project I wanted to start preparing for NodeJS backend roles, I am requesting for a list of Nodejs concepts and JavaScript concepts I should focus on in preparation for interviews. Thanks

reddit.com
u/Low-Schedule996 — 2 days ago

Beginner's Luck

Should beginners learn JavaScript just for web development, or learn the language more broadly?

Hi everyone,

I'm a beginner trying to figure out the best way to learn JavaScript.

Most tutorials teach JavaScript in the context of building websites (HTML, CSS, DOM, etc.), but JavaScript has grown into a much broader language with things like Node.js, backend development, desktop apps, mobile apps, automation, and more.

If you were starting from scratch today, would you:

Learn JavaScript mainly through web development first, then branch out later?

Learn JavaScript as a general-purpose programming language first (fundamentals, algorithms, data structures, OOP, async programming, etc.), and then apply it to web development?

Which approach builds a stronger foundation for a complete beginner, and why?

I'd love to hear what worked for you and what you would recommend to someone just starting out

reddit.com
u/Likkle_yute9 — 4 days ago

Question about backtick variables

Can anyone please help me with this?

I am learning JavaScript and in chapter 2 of the book I am using it talks about backtick variable with format ${variablename}. It has an example to be posted into the Console using console.log().

let language = "JavaScript";

let message = "Let's learn ${language}";

console.log(message);

The output in the console is supposed to be: Let's learn JavaScript. But what I keep getting is: let's learn ${language}

The same thing happens with other examples in the chapter, in Chrome and Edge.

Can anyone tell me why?

matthewswisher@comcast.net

reddit.com
u/PlusAd945 — 4 days ago

Can someone validate my plan for improving my JS/coding skills?

Aiming to start applying in a couple months to junior front end/full stack roles.

Where I'm at:

  • Covered fundamentals of HTML, CSS, JS
  • Went beyond the 'basics' and learnt about the event loop, prototypal inheritance, closures, the 'this' keyword (though need to practice coding with these concepts a lot more!)
  • Learnt about testing and TDD
  • Finishing up React
  • Did a quick course on DSA

What I'm doing now and why (would like feedback on this):

  • 1 Leetcode a day up until 75 or so completed (max 20m spinning my wheels). I'm doing problems by topics and doing a mix of easies and mediums.
    • I get to expand the way that I think about programming, it's been really fun (did a STEM degree not related to software/computers).
    • I also feel like it's making me a better programmer because I really slow down and think about the steps of my code. Thinking through loops and the data structures I've covered so far is much more natural (though I've only done like 15 problems so far lol)
    • Thirdly, they are quick exercises in JS that teach me little tricks here and there.
    • If I ever run into an interview that has me do Leetcode (not aiming for FAANG level interviews), I will at least be able to explain my thinking, if not solve it.
  • Anki cards (making sure not to spend too much time here) - capturing little techniques and conceptual tidbits
    • I have ADHD, I think this just gives me the confidence that my brain doesn't blank on something relatively easy
  • Working my way through the odin project, halfway through React
    • this one is obvious, I get to learn about the tech that I need to use and build projects
  • slowly make my way through JS part of https://bigfrontend.dev/ - this one I'm not sure about because the JS questions are challenging
    • this pushes me to deepen my JS understanding. Especially the quiz section, there are unusual questions that really test me
      • not sure if this is a waste of time though, I don't think juniors would be expected to know most of the stuff in these questions

Part of me wonders if I should scrap most of these things and just focus on building projects to focus on being able to put an app together rather than honing in on being able to code well. Thanks in advance.

If you've read this far and would like to mentor someone in my position, also let me know! Worth a shot :)

u/Beautiful_Hour_668 — 4 days ago

I need help, feels stock with JavaScript

I’ve been learning programming by myself besides university, it’s being a month since a started JavaScript after css, here’s the thing, idk why when I try to resolve smth I feel stock, like idk what projects should I build or try, what should I do ?

reddit.com
u/awilmera — 4 days ago

Project proposal

I'm learning nıde.js and javascript, I'm doing small projects these days, but I couldn't find a project idea that will challenge me and contribute to my learning, does anyone have any suggestions?

reddit.com
u/MrBucurN — 4 days ago

Has the whole programming course industry died or have you stumbled upon a course that teachers better than Ai?

Has the rise of AI largely replaced the need for programming courses on platforms like Udemy and YouTube?

To be clear, I'm not talking about using AI to write code for you.

Before AI became mainstream, I learned JavaScript through courses by instructors like Jonas Schmedtmann and a few other excellent creators. I found that structured, step-by-step approach incredibly helpful.

These days, though, if I don't understand a concept or run into a bug, I usually ask an AI to explain it instead of searching for a YouTube tutorial or going back to a course. I still write the code myself. I'm just using AI as a tutor to improve my understanding.

So I'm curious: has AI significantly reduced the demand for programming courses, or do you still find structured courses valuable?

Also, are there any up-to-date JavaScript courses in 2026 that you'd genuinely recommend?

reddit.com
u/KAZKALZ — 4 days ago

Is breaking and learning a real thing ?

so i have tried out differnt ways to learn js . and while chatting with gpt / claude it tld me that breaking and learning is actually a great way to learn . for people who dont know : its basically trying to create the stuffs in the first place and break those things and rebuild and make it your own . more precisely speaking building while learning . i dont know whether this is the best way to do this . but i also dont want to waste my time just doing something thats not worth it .. what do you guys think ? ?

reddit.com
u/Dry-Bee-7232 — 5 days ago

New to coding!

Let me start off by stating prior to finding this subreddit I was a total noob. Well kinda I found FreeCodeCamp and that’s been my introduction to programming. It’s a great free program for anyone researching programming. However I was reading some posts while scrolling this specific subreddit looking for recommendations,resources I was reading a conversation thread and realized ai is a thing yes i know late to the game yes I’m aware. I discovered that the ai can even teach anyone with adhd how to code. I’ve got ChatGPT helping me build a portfolio of small projects using visual studio code and im already working on my first project and understanding what I’m doing wtf😭 certainly not ready to swim with the sharks ima just hangout in the kiddy pool for awhile👍🏻

reddit.com
u/SubaruNatuski — 6 days ago

Proyectos js junior

Hola, no soy nuevo en la programación pero siento que en la escuela no me enseñan bien, pueden decirme proyectos en los cuales mi lógica de programador aumente?

reddit.com
u/Legitimate_Equal_752 — 4 days ago

How to use regex to select all non-digits and non-minus sign?

I'm having trouble converting a working piece of code from Java to JS, involving regex. The Java regex is "[^\d|^-]". I haven't been able to make "/\D|^-/g" ignore minus signs.

The code itself is just a leetcode exercise.

reddit.com
u/Zeznon — 6 days ago
▲ 11 r/learnjavascript+4 crossposts

We Built a Modern JavaScript Framework from Scratch

Hi everyone!

Over the past months, my friend and I have been working on Avenx.js, an open-source JavaScript framework that started as a school project and is growing into something much bigger.

Today I'd love to share what we've built, why we built it, and where we want to take it.

Why another JavaScript framework?

It's a fair question.

We didn't start Avenx.js because we thought the ecosystem needed yet another framework. We started it because we wanted to understand how modern frameworks work under the hood and explore what a simpler developer experience could look like.

As the project evolved, we focused on a few core principles:

  • Zero runtime dependencies
  • Less boilerplate
  • A clean and intuitive API
  • Performance-first design
  • Fully open source

Building a framework has been an incredible learning experience. We've learned about rendering, reactivity, tooling, package management, compiler design, documentation, testing, and many things we never expected to touch when we started.

Open source has been the most rewarding part

One of the biggest milestones wasn't a feature or a release, it was receiving contributions from developers we had never met.

Seeing someone invest their own time into improving something you've built is incredibly motivating.

Today, Avenx.js has:

  • ⭐ 4 GitHub stars
  • 🍴 5 forks
  • 🤝 3 external contributors

They're small numbers compared to established frameworks, but for us they represent real people who believed the project was worth contributing to.

Still a long road ahead

We're nowhere near finished.

There are plenty of features to build, documentation to improve, bugs to fix, and ideas to explore. Every week we continue refining the framework and improving the developer experience.

We're building this because we genuinely enjoy it, and because we want to see how far an open-source project can grow through consistent work.

We'd love your feedback

If you have experience building frameworks, libraries, or developer tooling, we'd genuinely appreciate your thoughts.

Constructive criticism is always welcome. Whether it's about the API, architecture, documentation, repository structure, or developer experience, we're happy to hear it.

Looking for contributors

We're also actively looking for contributors.

Whether you're making your first open-source contribution or you've contributed to many projects before, we'd love to have you involved.

There are issues ranging from documentation improvements to new features, and we've marked several beginner-friendly tasks to help people get started.

If Avenx.js looks interesting to you, feel free to check out the repository, leave feedback, open an issue, or submit a pull request.

Thanks for reading, and happy Showoff Saturday! 🚀

https://github.com/Avenx-JS/avenx-js

u/Excellent_Detail9412 — 5 days ago

Chrome MV3 extension causes browser lag when loaded — how can I profile content scripts and service worker timers?

I’m trying to debug a Chrome Manifest V3 extension I built. I have already narrowed the issue down to the extension itself:

What I tested:
- Chrome runs normally with the extension disabled.
- Windows/Chrome start feeling laggy shortly after loading the unpacked extension.
- The repo has been redacted and pushed publicly here:
https://github.com/jacobsscoots/CTL-Redacted
- I removed real company names, internal domains, private URLs, and personal paths.

I’m not asking anyone to rewrite the extension. I’m trying to learn the correct way to profile it and identify the slow part.

The extension has:
- Multiple content scripts.
- Some scripts running with all_frames: true.
- MutationObserver usage.
- Polling/timers.
- A MV3 service worker.
- chrome.alarms usage.
- DOM scans using querySelector/querySelectorAll.
- Scripts injected into large single-page web apps.

The main thing I’m unsure about is whether the lag is more likely caused by:

  1. Content scripts being injected into too many frames.
  2. MutationObservers firing too often.
  3. Polling/timers repeatedly scanning the DOM.
  4. Service worker alarms/message passing.
  5. Something else in the MV3 lifecycle.

Example of the type of pattern I’m worried about:

const observer = new MutationObserver(() => {
clearTimeout(debounceTimer);
debounceTimer = setTimeout(scanPage, 250);
});

observer.observe(document.body, {
childList: true,
subtree: true
});

setInterval(scanPage, 5000);

function scanPage() {
const nodes = document.querySelectorAll("div, span, button, input");

for (const node of nodes) {
// Reads text/attributes and updates extension state
}
}

What I’ve tried so far:
- Disabled the extension and confirmed Chrome runs fine.
- Created a redacted public version of the repo.
- Looked for obvious risky patterns such as all_frames, MutationObserver, setInterval, querySelectorAll, and chrome.alarms.
- I’m planning to use Chrome Task Manager and DevTools Performance, but I’m not sure what the best order is.

My questions:

  1. What is the best way to profile an unpacked Chrome MV3 extension?
  2. Should I start with Chrome Task Manager, DevTools Performance, or the service worker inspector?
  3. How can I tell which content script is causing the lag?
  4. Are MutationObserver + all_frames + repeated DOM scans common causes of browser-wide lag?
  5. What small changes should I test first before rewriting anything?

Any guidance on how to approach the debugging would be appreciated.

Github link for the repo: https://github.com/jacobsscoots/CTL-Redacted

u/Zealousideal_Weird82 — 5 days ago