Category "javascript"

Ng serve throwing @angular/core/core has no exported member 'ɵɵFactoryDeclaration'

I'm getting errors stating that angular/core/core has no exported member 'ɵɵFactoryDeclaration' while I ran ng serve on angular9 project. The error I

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@babel/plugin-preset-react' imported from

when I run the command to build the react project: yarn build show error: ➜ react-admin git:(master) ✗ yarn build yarn run v1.22.17 $ webpack --

Although I write the necessary codes, I can't get results [closed]

Laptop text and price should appear on the blue button. Although I write the necessary codes, I can't get results <div class="card" style

Uncaught Error: Objects are not valid as a React child while using react-bootstrap-table-next

I have a React component where I am trying to render a table using the react-bootstrap-table-next library. I'm getting an error: Uncaught Error: Objects are no

Unable to login to Youtube acc through google sign-in with puppeteer

When executing my puppeteer code, I'm unable to get past the email page after clicking next because of some sort of bot protection from Google stating "Try usin

Bracket auto close in JSX/HTML component

When I input the { in the middle of any JSX/HTML component, the VSCode is not closing it - have you got any ideas how to configure settings or is there any exte

Longest Common Prefix in Javascript

I am trying to solve the Leet Code challenge 14. Longest Common Prefix: Write a function to find the longest common prefix string amongst an array of strings.

WebGL Hardware Acceleration - failIfMajorPerformanceCaveat no longer working on Chrome

Previously I was able to detect whether or not the browser has Hardware Acceleration enabled, by using the failIfMajorPerformanceCaveat flag. const

Javascript hide/show div when the next button is clicked

I have a page with many images acting as button that when clicked on, reveal a seperate set of images. However, I only want one set to be shown at a time -- so

jQuery find changed attribute value after changing it with jQuery

I do not know if what I am doing is the right approach to do it. But what I am trying to do is the following. I have a menu that a user can open and close buy c

Parsing google alerts using gmail and app script

I have google alerts set up and receive alert emails which look like this: I would like to parse the alert and save it in a google sheet with the format: alert

How to filter vowel and consonant letters generated from a random string

I am making a word game that picks 8 random letters from the alphabet and the player must find words that use these letters. I must find out a way to make the l

How can I make these divs inline?

I cant seem to make the elements inside this div inline. Id like the h3 to be above the form then the next h3 and form beside that. <div class="title">

WebGL Hardware Acceleration - failIfMajorPerformanceCaveat no longer working on Chrome

Previously I was able to detect whether or not the browser has Hardware Acceleration enabled, by using the failIfMajorPerformanceCaveat flag. const

SAPIU5 collapsible header - Show Filter Count

I have SAPUI5 DynamicPageHeader in Fiori app, which looks like this: It has a "collapsible" link & one filter bar is selected with value in it.. When I col

What is jsconfig.json?

If I search the same question on the Internet, then I’ll get only links to Visual Studio Code website and some blogs which implements it. I want to know t

Unsafe value used in a resource URL context (iframe)

Trying to pass value as iframe url from local db and and im getting error message: Unsafe value used in a resource URL context. i'm trying to display an array

Acrobat Javascript closeDoc - Why does this.closeDoc close not only main document but also other document?

I have tried to control adobe acrobat using Action wizard Javascript. I want to open other document(PDF) and close previous document(PDF) opened. My code works

Riot.js how to mount a precompiled Tag

How can I mount a tag that has been pre compiled to a function with riot.js/cli to iife JS version. What am I doing wrong? By getting an empty html DOM as a res

Aws4 sign S3 PUT requests

Writing specialized S3 file upload request signing function that will run on Cloudflare workers (I guess should be the same as in browsers): let s3PutSign = fu