I am brand new to coding and haven’t had any experience until I started here recently and have had some trouble getting my tribute page to look as good as I wanted it to. I would like some feedback to see if there’s something I’m not thinking about or if there’s something I’m missing that can be fixed or improved on.
I was trying to take my time and make it look as good as I could because I notice a lot of people use their Tribute Page in there projects on their resumes so I wanted to do a good job on my first project incase future employers decide to look at it a year or two down the road.
any help or advice would be super appreciated. Thank you all in advance
Avoid setting heights on elements unless absolutely necessary. For example, you have a height of 800px on the list but the amount of content in the list makes it longer than 800px and thus it overflows the container (at least with the font size I am using in my browser). There really is no reason to set a height here, the list should be able to grow taller as needed. You usually want to allow an element to grow taller as needed.
When you need to set widths/max-widths on elements consider using em units instead of px. This will allow the element to take into account the font size the user is viewing your page with and widen as the font size is increased.
You should only have one <main> on the page, and one <footer>. Run your HTML through a validator to find any issues. You can also use the HTML/CSS analyzers included in codepen to check for errors. NOTE: I see @jwilkins.oboe already mentioned this, sorry for the duplicate.
Thank you so much @jwilkins.oboe and @bbsmooth for the help and the advice! I’ve made sure to bookmark the validators for future projects. I didn’t realize how many errors I had.
My Tribute Page definitely looks a lot better and I have a better understanding of some of the HTML and CSS code I was using and why not or why to use them!
Hopefully I can continue to improve and learn as I go through more projects, It’s a lot of information to take in.