Skip to content

Category: Questions

React native Context API react-navigation

React native: ^0.64.0, @react-navigation/native-stack: ^6.1.0 @react-navigation/bottom-tabs: 6.0.5 @react-navigation/native: 6.0.2 I have a login screen. If the user passes the login screen the app leads the user to a the main part of the app. This is is the MainScreen with a bottom tab bar. The bottom tab ba…

Guild.commands is undefined in discord.js v12.5.3

So I’m using discord.js version 12.5.3 to rebuild a music bot I did a while back. I’m trying to use slash commands but when I use guild.commands.set([commands]) it says that guild.commands is undefined. Here’s that part of my code. Answer Guild.commands was only introduced in v13. In v12, th…

Catching an permission error problem discord.js?

I’m having an issue trying to catch an error. The error I’m wanting to catch is a 403 discord Missing Permission error. However instead of catching the error it’s causing my bot to go offline when the error occurs. Here is how I’m trying to catch my error. Help appreciated. Answer Text…

Hiding div/popup on page load until button click

I have a working modal in Vue, however, the modal loads empty for a split second on page load and I want it to remain completely hidden (even on page load) until the button is clicked. I tested with display:none in the CSS which works to hide it on page load, but it remains completely hidden when pushing the …

I want to create a html table layout in jQuery

I am trying to create an Html table layout using jQuery but I don’t know where I am doing mistakes. When I try to run this and check the console tab the error comes with undefined( i and table2) I just want to show the table on the chrome page means I want the output. Answer Simpling adding console.log …

pure javascript table checkbox filter

Table filter value with checkbox I want to match all checkboxes conditions. Problem : when uncheck and checked again. it compared last value example: I uncheck robot and re-check james It should not display robot What I need # Or I should modified filter function. Can anyone advise with my code ? Thank. Answe…

js d3 chart with timescale

I am a newbie coding js and d3, and I have the code below, I want to display the dates in array on the x axis instead of numbers. I tried many ways to display the dates; most of ways display the dates with no line and data with errors in the HTML console, that it could not read the