Please take a look at my page, https://kuncung38.github.io/portfolio-website/ When I used live server from VSCode, everything works just as expected, When I uploaded this to github pages, a weird bug appeared. You will notice the problem, it has a weird behavior when you clicked either button, you will have to clicked the button twice for something to happen. Here is
Tag: github-pages
CSS files not loading correctly on github pages
I am making a calculator app with multiple themes and everything works locally but the problem is occuring on the github pages. Each theme for the calculator has its own css file and I am using javascript to change href of the link tag based on the selected theme (theme-1 is selected by default): HTML: Javascript: When I view my
Getting error : “react-dom.production.min.js:216 TypeError: Object(…) is not a function” while deploying react app on github pages
I am trying to deploy my react application and its not rendering the page properly, It is throwing the below error : react-dom.production.min.js:216 TypeError: Object(…) is not a function. I have linked the screenshot of the error and the file name along with my github link of the repo.[![ link to my repo: https://github.com/AbhishekTomr/money-tracker Answer The issue is resolved now
How to redirect to homepage from any path in github pages?
I tried to redirect to homepage by adding this meta tag inside 404.html file : And it works fine the first time but the second the page gets cached it doesn’t work . When I clear site data in the application tab in developer console , it works . How can I disable this behaviour or redirect from any path
How to Update Deployed React App on GitHub Pages
recently I have deployed my first React App on GitHub Pages https://karan-dhingra.github.io/lct/ Now I updated react app and my changes are not reflected on GitHub Pages. But everything was working well on Localhost. So, please guide me on how can I update my deployed React App on GitHub Pages. Answer Just we need to run 3-4 commands git init git
HTML Form onSubmit being bypassed
I’m new to HTML and JS and I’m trying to setup a “Contact” page using GitHub Pages. I am using formspree.io to submit the forms and e-mail to the app mail account. Here is the deal: I’m trying to setup a simple validation just to verify if the form fields aren’t empty (there is no need for a server-side validation),
Can I create routes with react-router for a github-pages site?
Ok, so I’ve made a SPA using React and React-Router and have pushed it to github pages, but none of the routes I have written work when I refresh or click back in my browser. I had the same problem when I was serving the page locally, but then followed along to this SO answer and made a server.js file
Minify JavaScript during GitHub Pages build?
I have a static website through GitHub Pages, built on Jekyll-Bootstrap. My little website includes a lot of JavaScript, and for maintainability I would like all of the JavaScript to remain human-readable in the GitHub repo. But for the end-user of my website, I would prefer to minify the JavaScript. Is there some way to build a hook into the