vic
vic
KPCKevin Powell - Community
Created by Faker on 10/10/2024 in #front-end
JavaScript local storage, storing data, sending data from login/sign up form
U can learn Localstorage in js from W3schools
35 replies
KPCKevin Powell - Community
Created by Faker on 10/10/2024 in #front-end
JavaScript local storage, storing data, sending data from login/sign up form
U can get that localstorage value and update it
35 replies
KPCKevin Powell - Community
Created by Faker on 10/10/2024 in #front-end
JavaScript local storage, storing data, sending data from login/sign up form
Maybe if u want to store like score , yeah local storage is better option for one player ( like only u r score )
35 replies
KPCKevin Powell - Community
Created by Faker on 10/10/2024 in #front-end
JavaScript local storage, storing data, sending data from login/sign up form
I'm also beginner I will give my answer but u can ask other people , Storing login or sign up details in localstorage is not good idea also it can store maximum of 5MB , So u can use database for this , since u r an beginner u can learn about storing values in db in backend cuz different user can different score so localstorage is not good
35 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
U need to use spilit the token
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
Try console log in /todo path
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
So token is available
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
To check whether it has token
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
Did u try see the headers in /todo path
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
Also storing jwt token in localstorage is not a good practice
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
Take a look at this
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
Then use cookies
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
If u set the token in localstorage , u can access in localstorage
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
Why u need to send the token ?
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
console logs the response variable and check it contains the token
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
Guess the error in /signin function in backend
20 replies
KPCKevin Powell - Community
Created by Ashwani on 10/9/2024 in #back-end
JsonWebTokenError: jwt must be provided
Make sure the /signin sends response jwt token data
20 replies
KPCKevin Powell - Community
Created by Lost Soul on 10/7/2024 in #front-end
API integration
Sure
7 replies
KPCKevin Powell - Community
Created by Aanuoluwapo Joshua on 10/7/2024 in #front-end
hello everyone please am trying to change the color of the {text} to red or blue
Done 👍
7 replies