All Questions
Tagged with javascript-module or javascript
2,524,353 questions
0
votes
1
answer
30
views
Resize Event Not Catching Smallest Breakpoint in React [duplicate]
I'm working on a React component and using the code below to change a class between small, medium, and large to handle mobile, tablet, and desktop (`banner--${size}`) with the size as a state variable ...
-5
votes
0
answers
45
views
The script tag is greyed out in firefox and the debugger denies the existance of such script.js on localhost site [closed]
script.js is a real script, and if I run the program on codespaces, it works, but not on a localhost site, and yet, it doesn't work. There is no sign of struggle and there are no errors. The network ...
-3
votes
0
answers
34
views
PHP AJAX maintaining or returning CSS with server MySQL data [closed]
I am a novice at this so I'd appreciate any help or pointers to help me understand and solve my issue.
I have a PHP file that generates an HTML page, that contains a link to an external css file. This ...
Best practices
0
votes
7
replies
84
views
How to replace JSON name with a variable in Javascript?
I am trying to implement a search function with checkboxes and want to replace part of this function with a variable as to not have to write a switch case with the same code varying in one line.
This ...
0
votes
0
answers
40
views
Angular SSR + cpanel + Node.js: UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token '??='
I have a new Angular SSR project with this specs:
ts.config:
{
"compileOnSave": false,
"compilerOptions": {
"strict": true,
"noImplicitOverride": ...
Advice
0
votes
2
replies
48
views
Seeking Roadmap and Advanced Resources for Deepening JavaScript Knowledge
Hi everyone, I am a developer with a deep interest in JavaScript. I have been working with the language for some time, but I’ve reached a plateau where I'm unsure of my current proficiency level or ...
0
votes
1
answer
63
views
bootstrap 5 img fluid not resize image
I have a problem with image, when I add class img-fluid to img, image not resize when I change browser size. I have checked bootstrap 3 with img-responsive and this is the same. I have checked styles (...
Best practices
0
votes
2
replies
76
views
Javascript Function to Calculate Board Position
I am creating a ludo board in React, and I need a function to calculate the board's position based on the pieces.
I need basic JS code without iterators since I am LEARNING React & JavaScript.
...
Advice
1
vote
1
replies
111
views
Need Help To Integrate Canva Connect API In React App
I wanted to make a project that's an ecommerce for banner prints and all that happens is that the user selects the banner and what design to print. There's a button on that page that redirects to the ...
Advice
1
vote
1
replies
44
views
Highsoft.Highcharts .NET wrapper v11.4.6.3 silently drops ChartEvents.Load string handler — worked in v11.0.1.1
I'm using the Highsoft.Highcharts NuGet package in an ASP.NET Web Forms application targeting .NET Framework 4.8.
After upgrading from Highsoft.Highcharts v11.0.1.1 to v11.4.6.3, the ChartEvents.Load ...
0
votes
2
answers
164
views
Why is my CSS styling not working when I use mobile screen? Clicking the hamburger does show the nav element [duplicate]
I'm learning new CSS skills and I encountered something odd which I can't comprehend yet. When I was trying to solve this issue, I noticed that when I use #sidebar in my CSS instead of nav the class ....
Best practices
3
votes
8
replies
242
views
Do I learn React before JavaScript? I'm confused
How do I learn JavaScript as a beginner frontend developer? What resources do I need (video links and written materials)? Also, would you advise diving right into React from CSS? React seems to be so ...
-4
votes
1
answer
95
views
Creating apps with npm and Vite results in an error [closed]
I'm using this command for creating apps:
npm create vite@latest
Running this results in a long piece of code and this error:
SyntaxError: The requested module 'node:util' does not provide an export ...
0
votes
0
answers
55
views
Encountering an issue while building animation with JS [closed]
I am trying to build an animation on a button. The button contains three parts: before, center, and after. The before and after parts contain a “+” symbol, while the center part contains some text. ...
Advice
0
votes
2
replies
66
views
Does a React Activity component in mode visible set by default improve performance?
I often come to this case were I render both ExtendedView and CompactView for a component. Those have a display: none css rule based on a container query. I know that the ExtendedView is more likely ...