@Islandstone89
Posted
Adding to the previous feedback. here are a few more tips:
HTML:
-
You're lacking a <main> element, which is important for accessibility. Change the .container from a div to a main.
-
The image needs alt text. This describes the content of the image for screen readers (as well as if the image doesn't load) and is another vital accessibility requirement. The text should be descriptive, and in this case, it should say where scanning the QR code takes you.
-
The heading should be a h1. Always do headings in the correct order.
CSS:
-
It's best practice to link to the fonts in the <head> of the HTML document, instead of importing it in CSS:
-
Make a habit of starting your stylesheet with a CSS Reset.
-
Remove all fixed widths and heights. Setting fixed dimensions is rarely a good idea.
-
Max-width should be in rem. By default, 1 rem equals to 16px.