All Questions
Tagged with web-development-server javascript
341 questions
-1
votes
0
answers
22
views
Why does my resetChallenge() function not completely reset the progress and badges in my JS web app?
I'm building a small web-based challenge tracker using JavaScript and localStorage. Everything works fine, except for the resetChallenge() functionality.
When I reach 100% progress on a task, I call ...
0
votes
0
answers
22
views
cookie related issue in MERN stack web app deployed on Render
I am having an issue about cookies in my mern stack project I use passport local strategy for auth and express-session for session storage and database is deployed on mongodb atlas, actually ...
0
votes
3
answers
48
views
Why is my server not logging a login session?
For some context: I'm trying to make a basic login system. At the moment, signing up works with no problems. Logging in also seems to be okay, it makes a connection with the database properly - ...
1
vote
1
answer
31
views
trouble dynamically changing the value of parameter in js
What I want is: when the mouse enters the body of the website, the cursor becomes visible; and when it is out of the webpage, it should not be visible.
I'm trying to update the values passed to the ...
0
votes
1
answer
895
views
How to fix "paths[0]" argument must be of type string. Received an instance of Array" error when introducing Mustache partials with ExpressJS?
index.js logging the view paths to ensure partials are visable
import express from 'express';
import bodyParser from 'body-parser';
import path from 'path';
import { fileURLToPath } from 'url';
import ...
1
vote
1
answer
29
views
ERROR in ./src/App.js 55:65-72 export 'BpkCode' (imported as 'BpkCode') not found
ERROR in ./src/App.js 55:65-72:
export 'BpkCode' (imported as 'BpkCode') was not found in
'@skyscanner/backpack-web/bpk-component-code/src/BpkCode' (possible
exports: default)
I am facing this error ...
0
votes
1
answer
35
views
No text except heading on counter website error [duplicate]
I'm trying to create a simple counter website using HTML, CSS and JS (Hypertext Markup Language, Cascading Stylesheets and JavaScript). I use this HTML code:
jswebsite.html
<!DOCTYPE html>
<...
0
votes
0
answers
35
views
How to manage multiple instances of the same subservice type with unique separators in a dynamic JavaScript table?
I am working on a web application where users can add multiple instances of the same subservice type to a table. Each instance should create a new separator with the subservice name in the table. The ...
1
vote
1
answer
41
views
Focus on the search input field whenever showSearch state is true
I have a problem trying to focus on the input field whenever a state showSearch state is true. I am using useRef and useEffect to achieve this. So, whenever showSearch flag changes, i run useEffect ...
0
votes
1
answer
38
views
Dynamically display images in a webpage as it's being generated? using flask and python?
so i have been trying to create a webpage that downloads the media from my telegram account an displays it in the webpage. what i want is it as the images are being downloaded from the server i want ...
0
votes
1
answer
104
views
Why is my Website navigation working on live server but not when deployed
For my school project we are adding navigation to simple websites with javascript. I'm using Visual Studio Code and live server extension. When I run the website through live server extension it works ...
0
votes
1
answer
67
views
In my code link.url is changing but pathName is not changing?
In my code link.url is changing but pathName is not changing. I wanted to give an animation transition to my website, but it is not supporting as the pathName and link.url are not matching.
"use ...
0
votes
1
answer
129
views
Trying to create a language switch
So I am trying to create a language switch for a website project I'm working on. It includes witching between English, Latvian and Norwegian. I have written a simple switch code in JS to accommodate ...
0
votes
1
answer
96
views
I am facing an issue while using ejs-mate. The error is in <% layout("path") %>. The path is correct But does not work
Error Msg :-
no such file or directory, open 'D:\Web Projects\major\views\listings\layouts\boilerplate.ejs'
I have tried a lot but in a result I got the error again and again.I have changed the ...
0
votes
1
answer
40
views
at the time of downloading files from s3 bucket one file is not able to download
anthi:_anti_hair_thinning_hair_spray.png
this the file name in s3 when it downloaded using s3 client it save file with name anthi and with 0kb also file type shows file , wherever in s3 it is 100kb ...