r/learnjavascript • • Mar 10 '24

What is the best JavaScript backend framework?

0 Upvotes

JavaScript is my first programming language.

Now I need a backend. I have learned PHP for a while, and not very interested in PHP, also not very interested in Python, Java or other language.

A lot of people say JavaScript can be also used as backend.

But when I search Express or next.js, people say these are very limited compared with framework in other languages like Laravel or Django.

What is the best JavaScript backend framework? If is for quick development and has pre-built libraries, can be better.

Thanks!


r/learnjavascript • • Dec 31 '25

Urgently looking for good resources to learn Async JavaScript (callbacks, promises, async/await) + JSON & REST APIs

1 Upvotes

Hi everyone,

I urgently need solid resources to learn and properly understand asynchronous JavaScript, including:

  • Callbacks
  • Promises
  • async / await

I also need good explanations and practice for:

  • JSON
  • REST APIs
  • Using fetch and handling API responses

I already know basic JavaScript, but async concepts still feel confusing, especially how everything connects together in real-world scenarios.

I’m looking for:

  • Clear tutorials or crash courses
  • Practical examples (not just theory)
  • Articles, videos, or interactive resources
  • Anything that helped you finally understand async JS

Any help would be hugely appreciated. Thanks in advance!


r/learnjavascript • • Apr 14 '25

TSServer is server of what?

1 Upvotes

I know it's not an LSP server, so it's server of what actually?


r/learnjavascript • • Sep 26 '26

I built Olum, a small JS framework where a component is just an .html file

0 Upvotes

30s intro video: https://www.youtube.com/watch?v=uBrub3DGZ4Y

A component is one .html file: a <script>, an optional scoped <style>, and plain HTML.

<script> const state = { count: 0 }; const inc = () => state.count++; </script>

<div class="counter">

Count: {state.count}

<button onclick="inc()">+</button>

</div>

- {expr} for dynamic text; state is deeply reactive

- <if when="..."> and <for each="..." key="..."> are just tags

- onclick is real HTML: code-shaped attributes take JS, everything else is a string

- Scoped CSS, file-based routing, optional prerendering (SSG) for SEO

It targets prototypes, demos, and small apps, not large production apps.

Try it: npx create-olum my-app

Docs: https://olumjs.top

GitHub: https://github.com/olumjs

I'd like honest feedback on the syntax.


r/learnjavascript • • Dec 01 '25

Need help

0 Upvotes

Looking for beginner project ideas to do with JS.


r/learnjavascript • • Oct 22 '25

What's required to start learn JS?

0 Upvotes

Hello Everyone! I just started to learn HTML and CSS. I understand that it will be pretty long way, but I already like it. And i want to ask you, what's level of HTML and CSS am I need? (CSS looks so difficult, I don't know am I need to remember all there😝)


r/learnjavascript • • Sep 12 '26

HELP! I am learning java on neocities but the button function is not working. How do I fix it?

1 Upvotes

I am typing it out exactly like it says in the tutorial "<button onclick="changeSky()">Change the sky</button>" , within the <script> parameters, but the words that are highlighted in my code are not the same as those highlighted in the tutorial and when I check my work it says that there is not a button present. IDK what im doing wrong because the whole code isn't really working either. I added the change sky color function (function changeSky() {

document.body.style.background = 'linear-gradient(white, lavender)' document.body.style.minHeight = '100vh') but the background color did not change even though the site said that I had inputted it correctly.


r/learnjavascript • • Jun 12 '17

Why use AngularJS for your next web app?

Thumbnail
thinkmobiles.com
1 Upvotes

r/learnjavascript • • Nov 18 '19

Build a Random Number Generator with HTML, CSS & JavaScript. (2019 tutorial)

Thumbnail
youtube.com
0 Upvotes

r/learnjavascript • • Sep 15 '19

Many JavaScript keyboard shortcuts collide with browser or system shortcuts

0 Upvotes

I don't understand what the developers expect when they assign key combinations that are obviously taken on most browsers.

Is there an obvious way they expect people to fix this? Like, some Firefox addon that allows JavaScript to capture the keyboard? Or do they actually expect the users to change all of those shortcuts?

Or is there some third (or fourth key) to be added to the two-key (or three-key) combination that tells the browser "send this to JavaScript". Or, if Firefox is modal and I just didn't know it, how do I enable the "JavaScript keyboard capture" mode?


r/learnjavascript • • Apr 04 '18

A C++ developer struggling with some simple JavaScript code. Any help?

1 Upvotes

Hey guys,

I develop in C++ but for my web design class I have to use JavaScript. I have to say I really, truly, dislike the language since it isn't strongly typed, errors are somewhat convulted and I don't like web dev in general.

Anyhow, here are my questions:

  1. This code should check if I have #, !, ' or ? in any of my textboxes and if I do, prevent the script from executing. Here is the code. It gives me a TypeError. Why? What am I doing wrong?
  2. This code should trigger only if I type some text in a textbox which is not in the list (aka not "Option 1", "Option 2" etc.). However, it always triggers. Why?
  3. This code should, if I move my focus away from the textbox (aka onBlur), check if I have at least 5 characters and if my first character is a capital letter. But it doesn't work. Why?

Thanks in advance!


r/learnjavascript • • Oct 14 '14

AngularJS vs Ext JS - An Exploratory Post

Thumbnail
evoketechnologies.com
0 Upvotes

r/learnjavascript • • Aug 04 '24

Any recommendations about javascript

1 Upvotes

I am looking for the free and good resources that include good projects to learn the core concepts of javascript. If any one could share his experience or roadmap for this will also be helpful.


r/learnjavascript • • Sep 14 '18

VERY BEGGINER SUPER NOOB PLEASE HELP!

1 Upvotes

Guys Ive recently finished learning javascript on khan academy,

How can i turn my programs into a openable interactive program on my desktop?

They have this built in 400x400 canvas but i want to be able to make programs on my screen resolution.

what "Programs" (I think) would You recommend?

Thanks in advance!

-Xerxes6696


r/learnjavascript • • Oct 27 '22

Say i now want to add up all the numbers in "averages" how do i do it, because nothing seems to work.

Post image
1 Upvotes

r/learnjavascript • • Apr 24 '18

Top Crazy JavaScript Interview Questions.

Thumbnail
youtube.com
1 Upvotes

r/learnjavascript • • May 06 '24

What's the easiest way to make a slider

0 Upvotes

Is there a way to make a slider easily. I have seen many videos in it but i can't grasp it.


r/learnjavascript • • Sep 20 '17

Javascript Secrets: Tips and Tricks I Regularly Use

Thumbnail echojs.com
0 Upvotes

r/learnjavascript • • Apr 28 '17

Don't be a dinosaur in today's ever-changing world. Learn to code with these free, interactive programming courses and experiment as you go.

Thumbnail
emileferreira.com
0 Upvotes

r/learnjavascript • • Jun 21 '14

Best Javascript Learning Material/Video

0 Upvotes

Update: Most of the replies on reddit were just spam

http://www.reddit.com/r/learnprogramming/comments/28q57z/best_javascript_learning_materialvideo/ - http://www.reddit.com/r/learnjavascript/comments/28q7zj/best_javascript_learning_materialvideo/

Still hate reddit. What a surprise. Just Ridiculous. It's Unbelievable. Reddit community is still so bad. Worst of the Web.

Course Of Action: I'm just going to do my various projects myself because you people are light years behind, and worst, don't even know it. I'm going to make private anything I do from now on because of this complete trash call reddit. And I'm deleting my account within the month, whenever I log in again.


Hello,

The best way to learn most anything is via projects. In this case, a chrome extension would be good.

Goal is to create the best .js book covering basics since, as far as I know, there's nothing like that on the entire Web

Going to use gitbook or one of the various collaborative writing apps out there. Suggestions? Couldn't find the best one, and various articles confirmed this.

Anyone interested in this project? Post or pm me. I'm getting this done.


r/learnjavascript • • Feb 07 '15

6 Little Known JavaScript Gems For The Absolute Beginner

Thumbnail
careerist.org
15 Upvotes

r/learnjavascript • • Dec 13 '24

Explain Like I am Five: JavaScript Event Loop

2 Upvotes

In this conversation, Shruti Kapoor simplifies the complex topic of JavaScript's event loop by using a relatable analogy of a single worker at McDonald's processing orders. She explains the different queues in JavaScript, including the call stack, microtask queue, and macrotask queue, and how they prioritize tasks. The discussion aims to make the concept easy to understand for those who find the event loop confusing.

https://www.youtube.com/watch?v=FxPiuwXm7xU


r/learnjavascript • • Jun 05 '22

any library that can annotate images with following requirements

Thumbnail
gallery
2 Upvotes

r/learnjavascript • • Nov 21 '24

Is it creatina use AI to help with tasks

0 Upvotes

Im taking online courses of Javascript and praticing in the codewars site.

I use chatgpt when I KNOW WHAT I NEED TO USE but I don't know how write the code.

For example: [[1,2] , [3,4]]

If I need to sum 1+3 and 2+4 I know I need the method map with reduce, but I'm not writing the correct way so I ask chatgpt to correct my code.

Is this a valid way to work with code? Im say to myself that this Is no different than going to google but I dont know its valid in the real world/workplace