Category "javascript"

TypeError: cleanUrl is not a function while creating a React Project

Hey everybody I am getting this error after hosting a website on firebase or I am not sure about it. It's the replace-info.js screenshot. I am not able to fi

Graph not being displayed on django framework

I want to display a graph using C3 Javascript library which displays future prices of textile raw materials on django framework. When I run the code it does not

How are Highcharts event listeners handled

I have a react app which shows some chart visualizations using highcharts library. There are some custom extensions used on top of Highcharts implementation. Hi

Can't combine a hook and a function in onClick event

I'm new to React. This is a 3 step registration form. In the last step - StepThree, I've been trying to have a hook - handleDateChange and a function - HandleUs

How to use resemble ai api

I have tried to create a project in which I can use my voice in text to speech in Javascript but I recieved an error saying this. https://i.stack.imgur.com/fnIp

Chaining an axios.get call to use the response for an axios.all multiple request

I'm having difficulties to understand how Shall I handle this type of calls. I need an initial axios.get call and loop through to make an axios.all call. This i

Trigger A Python Script By Using JavaScript

I am doing a little project where i have prepared the back end in python and the graphic user interface woth HTML, CSS & JS. The python script doesn't requi

how to apply transition to arc increase in svg

I am trying to apply a transition effect to an svg I have, but I am not sure how to do this. Basically I would like to apply transition: width 2s ease; when I i

Trigger A Python Script By Using JavaScript

I am doing a little project where i have prepared the back end in python and the graphic user interface woth HTML, CSS & JS. The python script doesn't requi

JSX code formart break on save using NextJS

I'm Facing a problem someone already posted here but there was no absolute answer. here is the question I'm facing exact problem. here is the broken code on git

How do have modal pop up when hovering over bootstrap 5 card?

I was following a template I found online to have a modal pop up when hovering over my cards with bootstrap 5. This is my code so far: class SavedEpisodes exten

Popover in chrome extension using js

My goal is I want to create a chrome extension like Toucan Extension. I want to highlight some paragraphs in random site then translate it to specific language.

how to change prettier format for react native

my code formatting prettier didn't works well for react native, i don't understand where to config it but it works well with flutter from this code import

How to use Vite HMR API with Pixi.js

I'm trying to use the Vite HMR API to create a Pixi.js app that hot reloads without resetting its state. The high-level idea: main.js initializes Pixi.js so an

How to change current time in audio playback?

I am trying to play an audio file with an offset of 10 seconds into the recording: const audio = new Audio('audio.mp3'); audio.currentTime = 10 console.log('cur

MarkLogic server-side JavaScript and XQuery

I am just starting using NoSQL MarkLogic DB and trying to choose for me the best query language to learn and use in future. On server side MarkLogic provides th

how to move Javascript created DIV to bottom of page

I have swagger ui HTML page. there is generating HTML tags and divs with javascript so I want to move this whole description div to the bottom of the page. but

Deploying Solana Metaplex contracts for further extending

Helloy guys, does smb know, how to deploy metaplex smart-contracts separately from this repo??? Did smb tried it? https://github.com/metaplex-foundation/metaple

Node JS file write time [duplicate]

I have code that writes data to a file, how can it be done to show how much time it took to write a file? const fs = require("fs"); fs.writeFi

Vue 2 Reactivity: computed property doesn't trigger DOM update [closed]

I have a computed property based on some nested object properties. When the object gets changed, the computed property seems to update (In vu