I am developing a project which consists of publishing a post and being able to upload a user image. I used JS for Front and NodeJs for Back (Multer for uploadi
I have been working on a project on django and it is very similar to instagram and twitter, one of the functions it needs to have is to mention users using "@"
I use pg-promise and i tried to make a request to database in user model to get an array of all users like this: exports.getAllUsers = function () { let
I am working on a function which enables users to write onto screen where mouse has been clicked however there are a few problems. Firstly: keyIsPressed is exec
the for loop in the following code exit after removing one class and doesn't remove the other one unless I click the button again I want to remove the class hid
Today I updated to React Native Version 0.65.1. After that I was unable to Start the Metro Server I am now receiving following error message while building a Re
Whenever I go to any API route in my Next.js app in production it returns a 500 "Internal Server Error" but in development, all of them work completely fine and
I am trying to get a count of products using api calls but in postman its keep loading router.get(`/get/count`, async (req, res) => { const productCount =
As a newbie to React I have been stuck for awhile on how to get my access token to be put to use in a second fetch API. In the first fetch (Get token), I am abl
I'm using the https://editor.p5js.org/Josef37/sketches/RGDv9lHkK for convert to p5.js and I'm still don't know how to convert 100% correct, the picture won't sh
Im new to Electron.js and im trying to disable the Maximize button, i know its possible but i don't know how to do it. I tried frame: false but its not working
When I create components in React, they're all in a folder called component and each component has a dedicated folder with the same name as the component itself
I have tried every possible step I've come across but the problem doesn't resolve. The error shows: C:\Users\...............\server.js:35 store: MongoStore.crea
how to pass variable between to vue file ? Hello, this is my file SendCode.vue has variable NewEmail which I want to use it in another file changePass.vue . Is
I am integrating TinyMCE in my ember.js app. Unfortunately I cannot get back the edited content, or at least, all of it. tinymce.init({ selector: '#'+
An algorithm I'm using needs to squeeze as many levels of precision as possible from a float number in Javascript. I don't mind whether the precision comes from
I am trying to make a React app for recording voice samples and save them as wav files, I used recorder-js to make the record but I am still struggling to make
I need advice, what is the best way to store a JWT token? Should we store in cookies or storages? But with the CSRF flaw and xss attacks I have a doubt. I'm sti
i am using this: index.js functions └abc.js └reset.js functions.js functions.js const fs = require("fs") const functions_ = {} const files = fs.re
I am building a blog post layout which requires some metadata to sit on one side and stay in place as the content scrolls, using position: sticky. This works fi