I completed and polished recently my Tribute Page regarding Antonio Luna. I got inspiration from other Tribute Pages, then made the design through Figma, and translated it to VS Code.
I also experimented in making the webpage responsive without media queries, while using BEM in naming classes.
What do you think? Did I do it right? Are there areas I need to improve on? Suggestions are welcome…
Good job making it responsive. Not just the text, but I noticed the photo and title flow well
Good job on semantic use of the <h1> tag. Many people don’t realize semantically there should only be one <h1> tag per page, and that one shouldn’t skip from an <h1> to an <h3>, etc. You didn’t make either mistake. Good job.
I noticed in your CSS you had made the following comment:
/* Colors:
#deb26f - Side Background
#f2d6a4 - Main Background
*/
I used to do the same thing so I could build a color scheme and then remember the hexidecimal colors I need. I just discovered the other day you can also do this:
where root defines base values on the root of the project, the -- states that this is going to be a CSS variable, followed by the name of the variable, then the : indicates a separation between the variable name and it’s value, and then finally the value follows the ;.
Then, when you want to use it you can do something like this
I have found for me that this helps make it a lot easier since I just have to remember the name of the color and I don’t have to keep going up to the top of my CSS page to copy and paste the hexadecimal number.