I'm using the following npm build script with Babel 7; "build": "rm -rf dist && babel src/lib --out-dir dist --copy-files --no-copy-ignored", And this
I have the following template.yaml from a SAM application AWSTemplateFormatVersion: "2010-09-09" Transform: AWS::Serverless-2016-10-31 Description: > image
I am a React developer using VSCode. When you type .hello, it inserts<div className="hello"></div>. However, that is useless because my classes are
It's been several days since I'm stuck on this problem. I've tried everything I saw but I think I miss some logic of the Google Script. I have a php form which
so I want to get the current month and the next 12 months in vanilla js. For example, upon writing this question it's April 2022, So I want to have this output:
I have a flask server that sends a pdf file with the send_file function. When I test this route on postman I can view and download the pdf. However when I try t
I've got Plaid payment initiation working on my cart but for some reason, all payments have the status of "PAYMENT_STATUS_INPUT_NEEDED". Also, I can only get Pl
In the HTML input type date field when we click on an icon, the calendar is popup. But I want to make it pop up when we click in the dd/mm/yyyy field?
I have a loop in my twig file : {% for item in listItem %} <h2 class="title" id="name-id"> ID {{ item.getRobotName() }}</h2> <p id="latbot" data-
I want to use lodash-es to be able to import only the functions I need, but I get an error. import { camelCase } from "lodash-es"; //... console.log(camelCase('
I want to create a code where when I click a key on the keyboard it will play music and draw a rectangle. I have managed to add music using the keyTyped() funct
I would like to get the keys of a JavaScript object as an array, either in jQuery or pure JavaScript. Is there a less verbose way than this? var foo = { 'alph
I have an array in which I put all the elements that have the class Box, then I add a new div with Vue, which is added correctly, but I try that the last div th
i'm working on a web app in which a user can create an address when logged in, how can i get the current logged in user address which was created by the user th
I was using qraphql (JavaScript graphql-request library) in a project and ran into a typeError. Here's the code: import { request, gql } from 'graphql-request'
I'm trying to render images in react using require(). Below is a snapshot of the code that is working. const ProjectBlock: React.FC<{ data: PROJECTBLOCK }>
I'm working on an app that allows the user to select an image and define a custom clipping region for that image. The user can place blue dots on the canvas con
I try to get a message by id in discord.js, but returned MessageManager is a circular dependency and I cannot access any of it's properties. console.log(cha
Hello my code is as follow wnna try suspense with react 18 but not having luck to render Loading.... User.jsx import React, { useEffect, useState } from "re
I have saved a list of products in localstorgae and I want all my products to be displayed in descending order when I click on one of the combobox items con