Tailwind, Flexbox

Please log in to post a comment
Log in with GitHubCommunity feedback
- @MelvinAguilar
Hello there 👋. Good job on completing the challenge !
Update all images by adding a dot (.) at the beginning of the src attribute.
Do:
<img id="primary_img" src="./images/image-tanya.jpg" ...>
Instead of:
<img id="primary_img" src="/images/image-tanya.jpg" ...>
When the path starts with a forward slash '/', it's an absolute path that refers to the root directory of the website. On the other hand, when the path starts with a dot and a forward slash ./, it's a relative path that refers to the current directory. It is relative to the location of the HTML file.
I hope you find it useful! 😄
Happy coding!
Join 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