My JavaScript application allows users to download a file. The page shows a clickable link to the file. The file is stored in MongoDB. When I click on the link
const express = require("express"); const app = express(); const PORT = 3000; require("dotenv").config(); const accountSid = process.env.TWILIO_ACCOUNT_SID; con
I want to create an html element, using javascript, with content drawn from two initialized arrays on page load. This is how far i have gotten but, aside from t
Can you please share your thoughts or experience why this can happen: I have a folder on firebase cloud with a bunch of images (jpeg, png). It can contain from
How should I start using ThreeJS objects in Vue components? I was wondering whether someone could help me write a minimal working example of using the ArrowHelp
I have a problem where I want to reload the page on submit. I did this with the simple script function shown below. However, the echo'd "hello" does not disappe
Is there a way to update the likes and replies with firebase firestore? I have reached that moment when I press on like on a single comment but I have only the
I have this code in my vue component <template> <div class="container-fluid p-0"> <div class="row m-0"> <div class="col-12 vh-1
I am trying to edit a template-yaml file using a js function. The js function will get a name of organization: org and this will replace corresponding values in
I have config-base.js which is loading the 'env_data.json' file. The java script in config-base.js is not setting the values in config as expected. I am trying
***ERROR IMAGE: *** https://ibb.co/JKd0hV3 Who can help me solve this problem, I get a 490error whenever I run this code. Am I missing something or need to refa
I found a very useful function reduce, and I'm using it, but I'm not sure if I understand it properly. Can anyone help me to understand this function? Example:
im wondering if its possible for ace editor to generate an overview of the current file, like i see in some other text editors, like in the image from vscode be
I'm working on a fullcalendar project and I was wondering: is there a way in Javascript, with a new Date object, to check if an event include a certain period o
my teammates and I are currently developing a web game with babylonjs and we need to deploy it on heroku. So I created a file app.js to be the "server" side, he
I can't find my error in the code. Could someone explain to me. Test: Nav:' should be rendered on the path "/". The "Home" component should be rendered only on
I am making a game and I would like to have my code split into two files. One, an ordinary javascript file for the gameplay, the other a paperscript file for al
Currently working on a 1:1 live chat messenger. when i send a message its shows up at the bottom of chat where i want it to, but upon page refresh it returns to
I am new in Javascript and trying to change the HTML content of a line. I've been helped a little by a friend who made this code for me, but I'm running into ma
I am trying to use top-level await with WebdriverIO but keep getting below error [0-0] import axios from 'axios'; [0-0] ^^^^^^ [0-0] [0-0] SyntaxError: Cannot