I'm using the tailwind CSS intellisense vscode extension, and it seems to only work when typing inside a className property. I'm using a package called cntl ht
I want to use a <Link /> with no content inside of it within my app, but for whatever reason, if I don't pass any content to it I get the "multiple childr
I'm trying to make a thousand comma separator for JavaScript calculator. But something works weird for me. Here is the code that should work: var commas = r
What I ultimately want is a vector, giving the direction of the green line in the image below, knowing only the position of the yellow and green dots. To be mor
I'm attempting to create a function that takes two numbers, finds the highest one, and returns that. When I run my code: <script type="text/JavaScript">
We are using NextJS and Material-UI for our site, and upon loading the pages, it gives a FOUC. I've narrowed the problem down to the fact that the JS loads fast
I have a function to check sums in an array : function checkSum(array, sum) { // array = [1,4,6,11] sum = 10 var answers = []; var map = new Map();
Trying to get familiar to chat apps using this tutorial. Everything looks good, but when I try to run npm run watch according to the directions in the end, I ge
How can I specify the number of words the Open AI completion should return? E.g imagine I ask the AI the question Who is Elon Musk? What parameter can I use t
I am writing a Greasemonkey script to interact with orders on Shipstation.com. The script will select certain values in <select> and <input> element
I have a Message component that displays all the messages(incoming and outgoing) in one thread. I would like the last message/a newly typed message/incoming mes
I have multiple .json files and I want to fetch them so I can take information from them. Like user ID, name, salary... I know how to do one, but I need two of
I've got a reusable heading component that allows me to pass a tag prop, creating any sort of heading (h1, h2, h3 etc). Here's that component: heading.tsx impor
I am making a discord.js bot and trying to get it verified! I want to make it so when you add it to a server and it has below 35 members it leaves it. This is s
I am using await to make the code cleaner, but I am not sure whether I am handling exceptions correctly. An example while using azure-devops-node-api; const foo
edit: I have used a number in this example which was a bad idea, in the real program I'm not using numbers but names (eg name_abba, name_jef, name_john) I have
I have a problem using Web3Modal, the connect panel doesn't show the metamask provider. Here is the code: const providerOptions = { injected: {
I need a way to trigger the <select> or <b-form-select> and display the list of dropdown options on mouse hover. Without using JQuery or any externa
I am trying to remove the negative and positive decimal value from the string following script remove the positive decimal value from the string however negativ
I have this code: typedefs.js /** * A UUID. * Example: 123e4567-e89b-12d3-a456-426655540000 * * @typedef {string} uuid */ /** * @typedef {Object} Notific