Olivia Woodruff Portfolio Project

Hi all! I am currently working my way through the front end developer path, and came across a question while working on the Olivia Woodruff Portfolio Project.

https://www.codecademy.com/paths/front-end-engineer-career-path/tracks/fecp-web-development-fundamentals/modules/fecp-learn-css-selectors-and-visual-rules/projects/css-visual-rules-project

When analyzing the HTML provided in this exercise, I noticed the following code:

Screenshot 2021-03-10 074808

Would it not be more semantically correct to use a <header> tag versus the <div class="header"> tag? When applying the CSS we would then also be able to use a header selector versus the more specific .header selector. I just wanted to make sure I was correct in my thinking and hear others thoughts on this.

Thank you!

1 Like

Hello, @ruby8051490241, and welcome to the forums.

I think so. Nice job thinking outside the confines of the specific project tasks!

2 Likes

Thank you very much!

1 Like

Hello coders, I think so too as to be semantically correct. Instead of just following instruction, we need to pause and think as well.

I have completed the portfolio, pls any feedback will be appreciated.

This is a link to my project https://github.com/MCheroajdN/Olivia-Woodruff-Portfolio

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.