For I think the first time in this series, we're going to add some new things to the design directly by working in the browser (not starting in Photoshop first). Our goal is to design up the "Hot Links" modules that show themselves on the homepage.

We label each section on the homepage with header tags. For instance "Latest Blog Posts" and "Hot Links". Semantically, we should be using an h2 but the general h2 styling is too intense for that area. We use the classic trick where we have class name overrides for our header styling. That way we can always use the correct semantic tag but be able to override the styling at any time with the style from the header we want. e.g.

<h2 class="h5">
   <!-- correct semantically but we want style of h5 -->

The Hot Link modules are largely the same as the article modules only less complicated and they have a red square in the upper left corner instead of an orange square.

Leave a Comment

Posting Code!

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.