Uploading React App to Github Pages errors

Hi there,

I am trying to upload my React App to Github Pages and I can’t get it to work. The app works great locally when I run npm start. I did search articles and youtube like this one (https://www.youtube.com/watch?v=1Y-PqBH-htk) and even after following the steps I keep getting errors.

Here is the print screen that shows the errors:

From my understanding after reading the errors it can have to do with the html so hereby also a screenshot of that:

All help is very much appreciated :slight_smile:

line 5 doesnt look good.

Can you try this instead of line 5,6 and 7 ?

<link href="https://fonts.googleapis.com/css?family=McLaren|Montserrat&display=swap" rel="stylesheet">
1 Like

I just fixed the issue after help from someone else. You are right, the problem was having CSS in the HTML file. Thanks a lot!