@Alex-Archer-I
Posted
Hi!
Cool work, I like that you make it possible to mark them as read by click =)
As the previous commentator noted your images aren't loaded. This is a path issue - you shouldn't add public
folder into the path as Vite doesn't include it in the build. So this part would work - src="images/avatar-mark-webber.webp"
.
Than I suggest you to slightly improve your semantic tags. The top level header
is the element that repeated in every page of the site and usually contains logo, navigation and stuff. So that is no global header in this project. All this should be inside main
(for example you can use main
as root
for building app).
Also there is the list of notifications, so they should be li
tags inside ul
.
Hope that helps =)
@Nospiel-code
Posted
@Alex-Archer- I thanks a lot, your comment is really helpful :) I am going to make the changes today and upload everything
@Nospiel-code
Posted
Hi Alex,
I tried your solution with src="images/avatar-mark-webber-webp"
and the images are stil not loading.
I found another solution to include the base path if it was changed (which I did) so I tried src="/fm-notification-page/images/avatar-mark-webber-webp"
that also didn't work.
Finally, I tried to move the images into to src-folder as Abduljelil suggested and still no images.
Do you know what could be the issue here?
Thanks in advance
@Alex-Archer-I
Posted
@Nospiel-code
Is this exactly how you wrote it?
src="images/avatar-mark-webber-webp"
Cos you wrote the file name wrong. It should be ...webber.webp
not ...webber-webp
.
@Nospiel-code
Posted
@Alex-Archer-I
Sorry, but in the code it was ...webber.webp
I just made a mistake here in the comment
@Alex-Archer-I
Posted
@Nospiel-code
Well, when I try to change the path to src="images/avatar-mark-webber-webp"
in the dev console it works. Alas, I can't attach screen here.
It's hard to say what the problem is without seeing what are you doing. I'll try to download your project and look on it. Also you can reach me on the discord - archerthecat0851. At least it's possible to exchange screenshots there.
@Nospiel-code
Posted
@Alex-Archer-I
Ok, I will try again. Thanks so much for your help :)