Go Pro Sign Up Login

Buy Now and unlock this series

$

44

.99

$

34

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Styling Part 2

Here, we are going to dive deeper into making our static site look a little cleaner. We will be focusing on the actual layout of the listings and articles within our static site. Feel free to experiment with styled components and make the site look and feel however you desire.

Downloads

Become a pro to download code and videos

Comments

Chrish Dunne

over 2 years ago [edited]

@Cristian A bit late but might help others. You don't technically replace the article tag with anything at all, as you're outputting a styled 'article' tag. ie; const Post = styled.article This will output <article class="sc-<somerandomletters)">Your Content</article>.

Cristian

over 2 years ago

By replacing the Article html tag to the styled component to does it also affect SEO or perhaps accessibility?

Want to join the conversation?

Become a Pro member today!