https://kaushikjaiswal-portfolio.netlify.app/
This is my site.
https://kaushikjaiswal-portfolio.netlify.app/
This is my site.
@kaushikjaiswal05 Your site does not work for me on my desktop.
It may be unrelated, but there is also this error in the developer console:
Hello Nathan, Can you check again now please?
Your site appears to be working now. What issue do you have on your mobile exactly?
I could not check when requested as it was after midnight.
Your site works for me in Firefox, but not Chrome.
The only error I see in the console is:
It stays on the loading screen and the actual webpage does not load.
@nathanmartin, it is working for me on chrome as well, and I do encounter any error in the console.
@kaushikjaiswal05 I see no errors in the console now, but the site still does not load.
Since the site appears heavily JavaScript powered it’s almost certainly just something failing in the JavaScript (albeit without an actual error).
You could add some console.log
statements to likely failure points to get an idea of what code it may not be executing.
You should also try npm run build && npm run preview
locally, and see if that is the same or different.
@nathanmartin It is working fine locally, the site also works as expected on browsers like Brave and Chrome, but it does not work on Edge. It worked on my cousin’s device as well. Also, when you request a desktop view on mobile it works then. I cannot understand what’s going wrong here, but I doubt that particle.js might be causing this.
That’s not my experience.
I personally doubt that “hosting on Netlify” is causing this.
Especially since you say it works on Chrome, but it doesn’t work on Chrome for me (or Brave).
I imagine you’ll need to debug it yourself, if you can prove there is an issue on Netlify specifically, then they would resolve it, but their staff are unlikely to investigate it on your behalf.
@nathanmartin yes you’re right, the useEffect hook was stopping the web page to load on mobile devices, API call was failing. Its working now. Can you please check if it works for you or not?
@kaushikjaiswal05 Confirmed, your site loads for me now.
Great work hunting down your issue.