How to check if an element has a specific child? I added children to my element using: var child1 = document.createElement('div'); document.body.appendChild(c
Here is what I want to achieve. My user is typing a text in a react-quill component and each time the user type a hashtag like "#S1 " (the space is importa
I am having a problem in a React Native app I'm building. I have a stopwatch and since each number character has a different width, when the time is increased t
I have an ExpressJS routing for my API and I want to call it from within NodeJS var api = require('./routes/api') app.use('/api', api); and inside my ./route
I have a nextjs app that use aws cognito for auth. i was wondering if there is a way to replace the hosted ui provided by aws with my own custom form. import {
I'm a beginner in React and at the moment I try to connect my first app to a Firebase database. I have two files for that. The first, is a config.js file wher
Hi I try using the Line chart in my project but get an error you can see it in the image below package.json "dependencies": { "chart.js": "^3.7.1", "react":
I'm trying to get my NuxtJS 3 app to show custom error pages. The app is universal with SSR. The NuxtJS 2 docs say to add a layouts/error.vue file and it should
Problem: Clicking a button in my material-table it opens the full screen dialog then closing the dialog, Then I am not able to click anywhere in the screen anym
I got asked this in an Interview and I couldn't solve it. Was wondering if any of you guys can help me. fn("hello").fn("world").fn("!!!").fn(); function fn (st
Is there an approach to to create a centered owl-carousel where each image has the same height without losing its aspect ratio? I tried to calculate the image s
I am using Next.JS application routing system. I have created a dynamic route with structure like pages/[country]/[language]/index.js. Also there is a static ro
I have used JavaScript to created a simple web application to measure how much time I spend on different projects. I want to test the code with Jest and this wo
sorry if the title is confusing, I don't know how else to put it into words. I am currently learning react and made this application using antd UI componen
I have been trying the javascript in jmeter while controller, and am using below function ${__javaScript(("${app_status_g1}".indexOf("100") == -1 && ${
I have a scenario, if div element width changes, i need to perform some functionality. So is there any way to detect that element width changes (not window resi
I have the following use case: I need to generate static files with React and Next.js. For that I extended the next.config.js with the following content: module
I am using Google Calendar library for Node.js to get calendar ID and events list from API. This is working as expected. But when I'm trying to insert or modify
In the following code, I have two columns. One column has all the tasks. The other column has a group of selected tasks. So, my expectation is that, when a user
I have a list of items to parse, but the parsing of one of them can fail. What is the "Rx-Way" to catch error but continue executing the sequence Code Sample: