Profile Card component using flexbox (and a snippet of grid)
Design comparison
Solution retrospective
Third Challenge done, might have to take a break for a while. Anyway, i have to admit, i had no choice but to look up other solutions to get the profile photo part done, but besides that, there wasn't much stress.
As usual, feel freee to comment with code improvement suggestions. And lastly, can someone please tell me how to deal with the github pages issue where images are not being displayed?
Here's the link to the gitbub pages site; https://m1chae-l.github.io/fc-profilecardcomponent/
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have some recommendations regarding your doubts that I believe will be of great interest to you.
SUGGESTION 💡:
- "Can someone please tell me how to deal with the github pages issue where images are not being displayed?", Sure i'm here to guide you.
- Here the image path you provided need to be starts with
./
because putting./
states that yourindex.html
file is in theroot
directory. So we can quicky fix by adding the./
infront theimage
src path.
- Example:
<img alt="victor" class="profilephoto" src="./images/image-victor.jpg">
- Note:
./
is important here, which states from the root of a folder
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful1@michaelo-oPosted over 1 year ago@0xAbdulKhalid Wow, so it was that simple of an issue. I actually kinda feel silly for not thinking about that when I added
./
to my otherimage
src
path.Thank you.
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