Hey, @socoolRK nice work here - here are a few suggestions you might like to consider:
- I'm not sure why you would add
min-height
150vh to thebody
? It adds a lot of unnecessary scrolling to the page. I would suggest just addingmax-height:100vh
. - If you do the above and want to center things, in this case, I would suggest wrapping all the content in a
div
or maybe asection
and then using display grid or flex on the body to put this new only child element in the center of the page - this is pretty handy for quite a few FEM challenges so it's worth finding an approach that works for you (I tend to use:display:grid; place-items:center;
. - Just a note on the use of headings... We shouldn’t use headings to make text look BIG or bold. Use them only to set out your document's heading and show the document structure, and then change things up with CSS after that. This is important as many people using assistive tech to access your pages will navigate the site based on the heading structure. At the moment this wouldn’t work with your HTML.
In this case, for example, you have an h2
followed by h4
(which probably shouldn't really be a heading but just a p
with some styling). Most people suggest that there should only be one h1
per page so your first h2
might be better as an h1
in this case. I approach this by first laying out the page using only HTML and only thinking about the document structure, not design at all, and then once done, I return to the page and use CSS to make things look how they should.
Again, this will come up over and over again in FEM challenges so it's worth getting an approach to this that works for you down that you can apply in other challenges too.
But, the component looks great! And nice job using the ul
for the list - a lot of people miss this! Keep up the good work.
Cheers Dave