r/JavaScriptTips • u/ProgrammingTT • Dec 29 '22
r/JavaScriptTips • u/No-Jackfruit1319 • Dec 28 '22
js and excel
Ive wriiten a basic JavaScript game to help me learn both German and JavaScript. I was wondering if i can read / import words from an excel spreadsheet. If so how do i do it and what needs to be done?
r/JavaScriptTips • u/CompetitiveMister • Dec 08 '22
How come the loop takes one color at a time, makes the drawbox then takes another color... what makes it pick one of them instead of all?
r/JavaScriptTips • u/[deleted] • Nov 07 '22
I want this function to return the value of the variable final but it returns undefined. Please help!!
r/JavaScriptTips • u/xplodivity • Nov 06 '22
Dynamic Progress Bar using JavaScript
I built a dynamic progress bar using JavaScript which changes based on the value and max value the user inputs. If any of you are curious about how to build this, here's a short 14 min tutorial
Link: https://www.youtube.com/watch?v=Ll5f0jGIqa4
r/JavaScriptTips • u/[deleted] • Nov 03 '22
What free website/app should I use to learn Javascript?
I have no previous experiences with any coding language and want to learn Javascript. What free website/app do you recommend?
r/JavaScriptTips • u/[deleted] • Oct 26 '22
Recursive function keeps running even if second terminating condition is fulfilled
function attemptInitialization(func, params, dice, count = 0) {
if (count > 10) {
console.warn('exceeded 10 attempts π§, try something else')
return false;
} else if (dice()) {
console.log('we have dice! π')
func(params);
return false;
// for some reason next block executes even after the "return false" statement
} else {
console.log('no dice π, trying again')
setTimeout(() => attemptInitialization(func, params, dice, count + 1), 300);
}
}r/JavaScriptTips • u/xplodivity • Oct 17 '22
leetcode for frontend series | Part 4 of 97
A tricky question on promises in JavaScript. Solving these type of questions will tremendously strengthen your knowledge in JavaScript.
r/JavaScriptTips • u/xplodivity • Oct 15 '22
leetcode for frontend series | Part 3 of 97
A tricky question on promises in JavaScript. Solving these type of questions will tremendously strengthen your knowledge in JavaScript.
r/JavaScriptTips • u/dcortesnet123 • Sep 26 '22
Fundamentals of object-oriented programming (OOP)
r/JavaScriptTips • u/dcortesnet123 • Sep 21 '22
Introduction to microservices architecture
r/JavaScriptTips • u/dcortesnet123 • Sep 14 '22
Unit tests in Javascript with Jest
r/JavaScriptTips • u/dcortesnet123 • Sep 12 '22
Functions in Javascript (Declaration, Arrow, IFFE, and callbacks)
r/JavaScriptTips • u/ProgrammingTT • Sep 04 '22
3D Rotating Image Gallery Using HTML, CSS And JavaScript |
r/JavaScriptTips • u/soundtrackrr • Aug 18 '22
Hereβs a playlist of 7 hours of music I use to focus when Iβm coding/developing. Post yours as well if you also have one!
r/JavaScriptTips • u/bleuiotech • Aug 12 '22
A JavaScript library to work with Bluetooth low energy application
This JavaScript library is easy to use and supports latest firmware. https://www.bleuio.com/blog/bleuio-javascript-library-now-supports-firmware-v2-1-0/
Details about the library and its AT commands can be found at npm https://www.npmjs.com/package/bleuio
r/JavaScriptTips • u/Chyeadeed • Aug 07 '22
How to Call a Function from another .js file?
Im fairly new to this obviously. Ive tried searching for the answer but none of the ones i find seem to work.
Can I not just simply do this?
const Functions = require('/home/runner/Towns/Functions.js');
Assuming my other.js File is Called functions and has my function that i want to call inside it?
And then I can just use that function whenever in index.js correct? Im coding on Replit btw if that makes a difference. Thank you.
r/JavaScriptTips • u/4bhii • Aug 05 '22
How to Loop through nested JSON object in JavaScript recursively
r/JavaScriptTips • u/bear007 • Jul 29 '22
git add -A vs git add .
In Git 2.x, git add -A stages everything in the working directory, git add . - only in the working directory (without subdirectories), git add -u - everything except new files
r/JavaScriptTips • u/[deleted] • Jul 24 '22
New to JS seeking help pls.
Trying to write js code that could do the following
Collect input from user Compare input with set of arraw Replace each letter found in the input with the letter in the arraw
Exemple user type "hello" Js has array such as h-> 7 L-> v Output would be "7evvo"
Any help how I can implement this ?
Thanks
r/JavaScriptTips • u/ProgrammingTT • Jun 21 '22
3D Rotating Image Gallery Using HTML, CSS And JavaScript |
r/JavaScriptTips • u/cp-ankush • Jun 11 '22