Design comparison
Solution retrospective
I would like that somebody explain me how to put the shadow Behind the box
Community feedback
- @tobiidev21Posted about 11 hours ago
Hello, friend!
Your page isn’t visible right now, but don’t worry! This is a common issue, and I’ll help you understand and resolve it on your own.
First, you’ve probably selected GitHub Pages as your hosting provider, which gives you a URL in this format: https://username.github.io/your-project-folder/. This URL allows others to view and interact with your page.
Everything seems set up correctly so far, but when we try accessing your URL, we see a 404 Error. Why does this happen?
The problem lies in the URL itself, specifically in where it points. GitHub Pages provides a URL that, by default, points to your project’s root directory. In other words, we can’t see anything because the URL directs to your project folder instead of the index.html file. To fix this, you need to add "index.html" to your URL, depending on where it’s located.
If index.html is in the project’s root directory, the URL should look like this: https://username.github.io/your-project-folder/*index.html*. If index.html is inside another folder (e.g., “src/”), the URL should look like this: https://username.github.io/your-project-folder/*src*/*index.html*.
I hope this explanation is clear and helps you both understand and fix this very common issue. That’s all, mate! I’ll be waiting for your feedback.
Greetings, Tobías
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord