Hi,
I recently completed the tribute page project. I devoted it to the public library. You can view the project on CodePen and GitHub:
CodePen full page view: https://codepen.io/bardandron/full/pOqpPR/
GitHub: https://github.com/bardandron/tribute-page
Would appreciate any comments.
Thanks,
Bard Andron
1 Like
I would suggest moving the main down to the center more.
There is too much space in between where the main resizes and where ti doesn’t
Hi @bardandron,
HTML
Error: The id ‘footer’ appears more than once in the document:
<p id="footer">Coded and written by <a href="https://github.com/bardandron" target="_blank">Bard Andron</a>, 2018</p>
<p id="footer">Photo copyright by <a href="https://github.com/bardandron" target="_blank">Bard Andron</a>, 2017</p>
<p id="footer"><a href="https://www.freepik.com/free-photos-vectors/background">Background vector created by Dotstudio - Freepik.com</a></p>
MDN documentation:
id - HTML: HyperText Markup Language | MDN
The id global attribute defines a unique identifier (ID) which must be unique in the whole document.
Cheers and happy coding
Note:
Tools used:
2 Likes
So basically he showed have used classes.
Also make sure to use less confusing classes. Footer is the whole bottom of the document, so using it as the name for links that are in a footer is very confusing.
1 Like
Thank you for all the feedback! I have updated the pen except centering the main vertically; I don’t know how to do that yet, but I’ll try to figure it out.
1 Like
@michaelnicol thank you - does it look better now? I don’t have a big enough screen to check it
1 Like
Add some padding to the text.
The text is close to edge of window and or screen on smaller screens. 10 - 20px padding would fix it.
I defined the padding in percentage for smaller screens, because when I defined it in pixels and the width was given in percents, the left edge of the div (along with a bit of text) jutted out of the viewport.
1 Like
I like the background texture. I couldn’t see the photo, but that might be a problem on my end. I also like to put id and class designations at the front of img and href, but that’s probably a personal preference too.
1 Like