Skip to main content
0 votes
0 answers
2 views

Is Number("NaN") = NaN because js recognizes "NaN" as a value of type number or because its a string and not a number?

For example Number("Infinity") = Infinity because it recognizes it as of type number, so I was wondering if Number("NaN") = NaN for the same reason that Number("potato") =...
rasmusrj's user avatar
0 votes
3 answers
34 views

How to expand on image on hover to full size?

I'm creating a website which is going to be a portfolio showcasing a person art and what not. So right now and I have it to where when you hover on the image it expands and fades out the background ...
Mark Wani's user avatar
-2 votes
0 answers
33 views

What is wrong in this ProgressBar Component [closed]

What is wrong in this code , why is it failing the test cases giving error like these : › on clicking button +10%, increments progress correctly Unable to find an element with the text: 10%. This ...
Astha Negi's user avatar
0 votes
0 answers
13 views

Swiper.js not autoplaying and slides disappearing during transition in React (Vite + Swiper 11)

I'm using Swiper.js v11 with React and Vite, and I'm encountering two issues: Items overflow from swiper-wrapper at large screens. During swiping (manual or autoplay), the in-active slide briefly ...
CleanCodeOnline's user avatar
1 vote
1 answer
25 views

Does V8 optimize inner functions based on closure values?

For example: function makeFunc(a,b,c,d,e) { return () => { if (a) { /* do something expensive not referencing b,c,d,e */ } if (b) { /* do something expensive not referencing a,c,...
Ed Staub's user avatar
  • 15.7k
0 votes
0 answers
35 views

URL metadata preview not working with react router

I have a react.js website which uses the react router plugin to direct different component files for different routes, as seen below in my App.js file: import React from 'react'; import { ...
Martin's user avatar
  • 1,596
0 votes
0 answers
19 views

Why is a SPAN element destroying Model properties in ASP.NET MVC 5?

In my model ConfirmationDetailViewModel, there is a List<ConfirmationNote> Notes property: public class ConfirmationDetailViewModel { public ConfirmationDetail Detail { get; set; } ...
jp2code's user avatar
  • 206
0 votes
1 answer
35 views

Tampermonkey: removing blank <tr> rows left after deleting table content

I'm writing a Tampermonkey script that removes rows from a table on RateYourMusic voting pages if the descriptor is 'scary', 'disturbing', or 'macabre'. That part works — but the blank rows that ...
aldin's user avatar
  • 159
0 votes
1 answer
25 views

Why Can This Not Write To Directory 'Output'?

I am attempting to write a file to an existing directory, using node, path, and fs. How it's supposed to work: Init mock data. Loop through mock data. Write mock string to existing directory 'output' ...
Varelion's user avatar
0 votes
1 answer
18 views

Hide Non-Visible Slides + Make Responsive

I have a few things that I am trying to do with SwiperJS. You can see on my site here: http://newgl.greenlegion.com ISSUE 1: i cannot figure out a way to see more of the slide on mobile. It's tough ...
Dennis's user avatar
  • 718
-2 votes
0 answers
33 views

Get file address with ASP.NET [closed]

I have a C# application with ASP.NET MVC and Framework 4.8, and CSHTML pages. I also have the DevExpress MVC version 21.2 libraries, although I don't think it's important. I need to put a button on my ...
Robe79's user avatar
  • 63
2 votes
1 answer
39 views

setState function not recognized as function

In my React Native app, I'm having a problem where the setState function is not being recognized as a function. I already inserted the context provider on the App root page and exported the context ...
Vivantt's user avatar
  • 43
0 votes
1 answer
25 views

p5.js Cannot convert undefined or null to object

I am trying to make a grid for a game, and I set up the grid, but when I use a for loop to display all of the cells it gives me an error - Uncaught TypeError: Cannot convert undefined or null to ...
CoderGuy's user avatar
-5 votes
0 answers
40 views

Video capture/analysis on simple static snack (hot fries) site [closed]

Alright, so we've got this pretty basic, mostly static marketing website – you know, the kind that just shows off the product, here it is andycappshotfries.com. Nothing fancy on the backend, just ...
Сергей Дьяченко's user avatar
3 votes
1 answer
64 views

Fill circle area with text input

I've a circle of gratitude section on a page. See here - https://prnt.sc/ut6a7MbqUIoS The idea is the page will have a input box where user can input there name and when press submit button, the name ...
saif's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
168753