Tell us what’s happening:
Basicly i`ve finished the project using react and when i run it locally ‘npm start’ my code for tweet button works properly, but when i host it through gh pages i get an error saying 404 file not found. So my question is - is this something in the code or is it somehow connected to github structure for pages or something like that
Your code so far
<a
target=“_blank”
rel=“noopener noreferrer”
id=“tweet-quote”
href={https://twitter.com/intent/tweet?text="${props.text[0] + '" ' + props.text[1]}
}
>
Full gh pages error :
File not found
The site configured at this address does not contain the requested file.
If this is your site, make sure that the filename case matches the URL.
For root URLs (like http://example.com/) you must provide an index.html file.
Read the full documentation for more information about using GitHub Pages.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.52
Challenge: Front End Development Libraries Projects - Build a Random Quote Machine
Link to the challenge: