Category "javascript"

Click HREF to display specific Array Content?

Is it best if I use HREFs to display specific array content? Should I use a button instead? I am trying to filter and I am new to arrays and javascript, so I am

HTTP retrieval failure when creating drop-in audio chat using Twilio

I am leveraging the Twilio Programmable Voice API to create a drop in audio chat room when a user completes a signup form. I am using ngrok to listen to both my

How to Deploy from Gitlab-ci to multiple kubernetes namespaces?

I have two variable containing my namespaces names: $KUBE_NAMESPACE_DEV ="stellacenter-dev" $KUBE_NAMESPACE_STAGE "stellacenter-stage-uat" Now I want to modif

Hide auto pop up for google login api javascript

I used new Google login using new JavaScript API , I have problem that the when the page reloaded popup shown for login by google for login google accounts, I t

VueJS generate seperated JS and html files with vue-template-loader/ Website without JavaScript

So here´s a weird question. We have to develop an own website in our module Frontend Design for a study project. Problem is, our prof seems to live 30 yea

Decoding Base64 String in Java

I'm using Java and I have a Base64 encoded string that I wish to decode and then do some operations to transform. The correct decoded value is obtained in JavaS

How to implement react router with raw javascript?(backend .net core mvc) [closed]

A web application is already built with CSS,HTML,raw javascript, jquery, ajax, and .net core MVC. The problem with that is there is a _Layout

Forced symbol for the file with JSDoc `@name` returns an error that it does not exist

It is the code from the documentation (https://jsdoc.app/tags-name.html): // @ts-check /** * @name highlightSearchTerm * @function * @global * @param {strin

How to save Pino logs in save fomatted by pino-pretty

first of all I thank you for the help. I want to save the pino-logs in a file (I go it) with the pretty-format. The pretty works successfully in terminal logs b

What does this error mean and how would I fix it: throw new TypeError('app.use() requires a middleware function')?

I am trying to create a login page and sign up page, my app.js gives me this error, I think it is the last line of this code. I can send you the other component

why is props undefined?

I'm trying to access the product details on the next component but it says props is undefined. All the details in the card is present and renders correctly. I r

Validate form before move to next page

I have coded my own validation form. Is there anyway i can prevent page from submit to php (action="process.php" Method="POST") if form is not validated. I have

Unhandled error event and cannot read properties of null nodemon app crashed

[nodemon] starting `node app.js` Server started on port 3000 node:events:505 throw er; // Unhandled 'error' event ^ TypeError: Cannot read properti

Electron JS ReCaptcha Harvester

I need to make a recaptcha V2 harvester in Electron JS. I tried the following code but all I get it "ERROR for site owner: Invalid domain for site key". I think

Javascript Animated Skill Bar On Scroll

I'd like to activate all of this animations whenever I scroll to a certain section, in this case the second one.So basically it starts with the section one and

Firebase Firestore - Get recent trending posts

How can I query for "recent trending posts" using Firestore? I am considering it as "recent" if it is was uploaded in the last 4 hours. I am considering it as

Using Typescript with transpiled, unsupported/custom language files

The Problem I have JavaScript-like files with extension .gml I can convert the source to valid JavaScript via magic-string, and can go back the other way using

Is it possible to interact with PDF-VIEWER (Selenium or other tools)?

This issue has been driving me crazy lately, I've been looking all over the internet for days and just found unaswered questions. Is it possible in any way to i

In javascript react how to remove two symbols that end up together in a string but keep the last one like a calculator?

Basically I am doing a FreeCodeCamp project and I am stuck one of the last points on the checklist. What we have been told to do is to make a calculator that ha

Not able write a jasmine test case for radiobutton, eventlistners and buttonclicks

Below is my code I want to do Jasmine test on it and I was wondering if I use beforEach and afterEach or may be spyOn() on it? I get test to pass if expect(func