Category "javascript"

Month Navigation through increment arrow and decrement arrow in javascript

I want to implement code where the increment or decrement of a arrow happens when I have selected the arrow. I want a replica of a design and implementation of

discord.js check if user has permissions

I want a command that can only be used by people who have the ban permission current code: if(msg.member.guild.me.hasPermission('BAN_MEMBERS')) { msg.

How do I insertAdjacentHTML on querySelectorAll class? [duplicate]

I want to add HTML to all elements having same class (.testimonial-text). However Everytime I use querySelectorAll to define the elements, ins

CSS input box cutting off text

I am having an issue where the text in this input box is being cut off. I've increased the height and the width and it is still showing the same amount of chara

Each child should have a unique key prop even they're set - REACT

I'm getting my navbar routes from a json file like this: { "categorias": [ { "nombre": "Faltas de profesorado", "componentes": [ {

Getting Missing Months

I am working on a project where I am trying to chart the number of monthly order that I have received. My current data for monthlyOrder is: [ { _id: { mon

How can i get Y position in all the website page

I have a website which is 6 viewports height. I would like to get the Y position for no matter where i am in the page not only the viewport. I have tried : eve

Index of first child on a list is lost when sending it to the parent with React.CloneElement (React + Typescript)

I'm building a custom Dropdown component and I'm having trouble using children. The Dropdown component has 3 levels, and the children are the options which are

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