I have a web app where users can build their own profiles with their usernames like below. ourplatform.com/john ourplatform.com/john/about ourplatform.com/john/
function addElements(mailbox) { if (mailbox != 'sent') { let actionDivArchiveBtn = document.querySelector('#actions') let archiveButton = document
I have a lot of values inside a .env.local file. NEXT_PUBLIC_GA_ID = myvariablevalue I wrote a function that checks if these are present: exp
I have a single object of with key value pair, and i need to replace the first key value pair with a new key value in react.js. I have tried to make immutable p
I was wondering how could I import a javascript file into a website with Electron? By that I mean: mainWindow.loadURL("https://a.website"); mainWindow.loadScrip
If the value is exist in localstorage I want to replace it. When I try to do that existing value is still inserting. addEntry = (e,id) => { e.preventD
I'm struggling to create a php gallery slideshow and was hoping someone could recommend how to do this part.. The below code is taken from w3schools and works w
when onclick functionality happens on the CLOSE button it generates some cards ,each card contains some icons at the bottom that needs to be fixed position(perf
I have a problem, how can I hide a status bar in landscape mode? In portrait mode its works. I'm hiding the status bar by either: <StatusBar hidden={true} /&
var state = 0; function selectLI(element) { if (state == 0) { element.innerHTML = element.innerHTML + "<span class='liTick'>✔</sp
I create for my project a log module and i am actually creating a new instance in all module to allow them to log in cli with the right syntax,color conf etc. F
I've run into an issue where Apollo client and the GQL playground return different data with the exact same query. The schema looks something like this: interfa
I am looking at worker_threads in node and have a simple endpoint that will create a new worker thread and run a CPU intensive script that takes a long time to
I wanted to play the audio from a specific time whenever the user plays the audio, So, I wanted to save the current time of play while the audio is being played
I want to make a message input like this. But I have a question how to get file data, which I drag & drop or Ctrl+V on the textarea to upload. I am using R
I am new to Javascript and want to be able to display a JS variable onto my page without the user going into the console as it is neater, and I find a lot of pe
I'm learning Express. While doing a tutorial, I stopped to try to figure out why the tutor used express.urlencoded({extended: false}). I learned what url-encodi
So, I want to do a webpage, where you have to log in with metamask, only. I've seen that cryptokitties.co did a really good job, not even prompting for a passwo
My project is a MVC c# Asp.NET project. I want to check if an attachment has been loaded, if there is an attachment it shows the div that contains the attachmen
I am working on an e-commerce platform based on Laravel and Livewire using the bumbummen99 shopping cart. My problem is that I can only add items to the cart, b