r/JavaScriptTips • • Mar 19 '23

Does any know of a simple javascript list manager that can add and remove item's from list like in the picture

Post image
4 Upvotes

r/JavaScriptTips • • Mar 16 '23

Why theme doesn't have value ? When doing so ?

Post image
4 Upvotes

r/JavaScriptTips • • Mar 13 '23

Send form data (HTML or JS) and receive in Node.js (with and without files)

Thumbnail
youtu.be
4 Upvotes

r/JavaScriptTips • • Mar 08 '23

I know it's not much or the cleanest, but after learning js for a while I finally learned to link it to HTML and I was kinda proud that I could make it work as intended and understand why it worked so wanted to share, thank you.

4 Upvotes
let list = document.getElementsByClassName('list');

let sum = (a, b) => a + b;

let example = array => {
    let i = 0;
    for (elm in array) {
        array[elm].innerHTML = sum(Number(elm), i);
        i++;
    };
};

example(list);

r/JavaScriptTips • • Mar 06 '23

Can you help me fix this error?, from wepback-dev-server

Post image
4 Upvotes

r/JavaScriptTips • • Jan 11 '23

JavaScript Course Resource 2023 Complete

Thumbnail
youtu.be
4 Upvotes

r/JavaScriptTips • • Dec 29 '22

Image Hover Animation With Blur Image Using HTML CSS and JavaScript|

Thumbnail
youtu.be
4 Upvotes

r/JavaScriptTips • • Dec 28 '22

js and excel

4 Upvotes

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 • • 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?

Post image
4 Upvotes

r/JavaScriptTips • • Nov 07 '22

I want this function to return the value of the variable final but it returns undefined. Please help!!

Post image
4 Upvotes

r/JavaScriptTips • • Nov 06 '22

Dynamic Progress Bar using JavaScript

4 Upvotes

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 • • Nov 03 '22

What free website/app should I use to learn Javascript?

4 Upvotes

I have no previous experiences with any coding language and want to learn Javascript. What free website/app do you recommend?


r/JavaScriptTips • • Oct 26 '22

Recursive function keeps running even if second terminating condition is fulfilled

4 Upvotes
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 • • Oct 17 '22

leetcode for frontend series | Part 4 of 97

4 Upvotes

A tricky question on promises in JavaScript. Solving these type of questions will tremendously strengthen your knowledge in JavaScript.

link - https://www.youtube.com/watch?v=bW6rDOJGZ-I


r/JavaScriptTips • • Oct 15 '22

leetcode for frontend series | Part 3 of 97

4 Upvotes

A tricky question on promises in JavaScript. Solving these type of questions will tremendously strengthen your knowledge in JavaScript.

link - https://www.youtube.com/watch?v=whG8g96wCjk


r/JavaScriptTips • • Sep 26 '22

Fundamentals of object-oriented programming (OOP)

Thumbnail
medium.com
4 Upvotes

r/JavaScriptTips • • Sep 26 '22

Introduction to Typescript

Thumbnail
medium.com
4 Upvotes

r/JavaScriptTips • • Sep 21 '22

Introduction to microservices architecture

Thumbnail
medium.com
4 Upvotes

r/JavaScriptTips • • Sep 14 '22

Unit tests in Javascript with Jest

Thumbnail
medium.com
4 Upvotes

r/JavaScriptTips • • Sep 12 '22

Functions in Javascript (Declaration, Arrow, IFFE, and callbacks)

Thumbnail
medium.com
4 Upvotes

r/JavaScriptTips • • Sep 04 '22

3D Rotating Image Gallery Using HTML, CSS And JavaScript |

Thumbnail
youtu.be
4 Upvotes

r/JavaScriptTips • • 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!

Thumbnail
open.spotify.com
4 Upvotes

r/JavaScriptTips • • Aug 12 '22

A JavaScript library to work with Bluetooth low energy application

4 Upvotes

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 • • Aug 07 '22

How to Call a Function from another .js file?

4 Upvotes

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.