That is probably not meant to be there. However, you’ll notice most frameworks come with pre-styled h1-h6 tags. This is just for ease of use, and if you do want to use a <h2> element in the future, you can do so without having to go back to the code and style it.
For this particular situation, there is no reason for it to be there.
That can happen when making changes and not keeping track of both HTML and CSS. Why is there multiple media queries with the same width? Probably the same reason.
The h2 selector is my bad, I didn’t notice it when updating the example project. The media queries are intended. I like having them close to the selector they are affecting and not all thrown together in one media query at the bottom.
/start excuses
In my defense, me jumping between the Codepen and the repo, combined with the project test also having to be updated likely made me a bit blind. I was also fixing a few things in the other example projects and I made the new portfolio example project, so I might have had a few too many balls in the air at the time.
It also wasn’t caught in the code review so you know…totally not my fault, lol.
/end excuses
I should probably make a PR for it but getting the Codepens updated sometimes take time.
I was just wondering (and couldn’t respond when you first wrote as I was running out of town)- what are you referring to when you wrote “repo” and “PR”?