Menu

#RedditLearnjavascript

247 posts

Feed·
20 of 247 posts
0Read More

is there a good way to check the contents of a folder?

Reddit r/learnjavascript·u/Comfortable_Tea_2825·6 days ago
#tKCMx00F
#word#want#create#function#article

I'm trying to make a semi-scalable talking robot program. In my mind I am imagining I will have to make an array. I have a bunch of word mp3 files, and I want users to be able to add more word recordings to the robot by just copy/pasting into the word…

15s
0Read More

nodejs/pg-promise (row, error) Callback not working but .then().catch() working

Reddit r/learnjavascript·u/thisismugisha·6 days ago
#HyP9Hvgr
#error#resolve#rows#returned#return

I really don't know what's going on, but if I write return db.many(query, userid, (rows, error) => { return new Promise((resolve, reject) => { if (rows) { resolve(rows) } else { error.received == 0 ?…

15s
0Read More

How can i make javascript accept video files to archive videos on fake website?

Context - A final project that I have for my Programming with Scripting Languages class, I have to make a fake website that has pagination buttons and a minimum of three pages. I also found out that I have to include javascript in the website somehow.…

15s
0Read More

You are welcome to contribute

Reddit r/learnjavascript·u/Dan__Lo·6 days ago
#LyFbbPjs
#performance#code#project#building#felt

Three years ago (well before AI took over the world), I started building my own JavaScript library. I had what I felt was a solid core idea: creating high-performance wrappers for all native modules. ​At the time, I focused on HTTP and Collections.…

15s
0Read More

Title: CodeWithHarry Sigma JavaScript or SuperSimpleDev JavaScript – Which should I choose?

I’ve completed HTML and CSS using CodeWithHarry’s Sigma Web Development Course and then SuperSimpleDev’s 6.5-hour HTML and CSS course. Now I’m planning to start JavaScript, and I’m confused between: CodeWithHarry’s Sigma JavaScript section.…

15s
0Read More

What's a sensible DOM-first ordering of JavaScript topics for project-based learning?

I've been teaching myself JavaScript in the mornings before work, alongside Python, and I keep running into the same problem: courses either start with weeks of syntax drills and console.log, or they dump a project on you and quietly assume you already…

15s
0Read More

Why is this widely used in LinkedLists

Reddit r/learnjavascript·u/ChainsawLight·6 days ago
#mIj099gN
#please#explain#keyword#widely#used

Please explain why programmers use the this keyword? I get OOP like this.prop = prop; but what does that mean? The this keyword is a reference to the window object right? Its just calling a null value?…

15s
0Read More

I'm trying to make an in-browser tile editor from an array for an in-browser raycast engine.

Code thus far: https://jsfiddle.net/drkc8te5/ (its broken because it needs images which I seemingly can't provide since they're local) I'm making an in-browser raycast engine. The current mapsize I have right now is small, only 256 pixels.…

15s
0Read More

Title: Frontend Development Roadmap for Beginners – Advanced Web Animations

Reddit r/learnjavascript·u/its_poonu·6 days ago
#LdVOFLNz

Hi everyone! 👋 I'm a beginner in frontend development and want to build a career as a creative Frontend Developer specialising in advanced web animations and interactive websites.…

15s
0Read More

I built Spotlight.JS — A lightweight, zero-dependency JavaScript library for interactive page highlights and spotlights

Hey everyone! 👋 I wanted to share an open-source library I've been building and refining called Spotlight.JS. Why did I build it? I needed a dead-simple, highly customizable way to highlight DOM elements, build guided product tours, or draw user…

15s
0Read More

What can i do with javaScript as a beginner?

Reddit r/learnjavascript·u/wings_hot1·6 days ago
#UnRZKIKM
#javascript#school#beginner#previous#coding

i have some previous coding experience from middle school using HTML on Code .org, and I'm currently taking AP computer science in high school, where we're learning JavaScript.…

15s
0Read More

Open issue to practice on: adding a non-interactive mode to a small Node.js CLI

Reddit r/learnjavascript·u/Omar_Gamo·6 days ago
#aRMs793u
#issue#open#practice#interactive#raqule

Hey everyone, I'm a self-taught dev, and I maintain a small open-source Node.js CLI called Raqule. It gathers a project's folder tree and code into a single file you can hand to an LLM.…

15s