I am completely new to Fomantic (and web development in general) and I'm attempting to create a website featuring a card with a ribbon label on the right side. I saw similar designs in the documentation where they used a segment instead. However, when I try to replicate the code from those examples but with a card instead of a segment, it doesn't render correctly and ends up breaking the entire card layout. Other cards without ribbons display properly.
Here's the current code I have for the card that I intended to include a ribbon:
<a class="ui large fluid card" href="blahblah">
<a class="ui right red ribbon label">Most coolest project</a>
<div class="content">
<div class="header">RL Stick-Shift Sim </div>
<div class="meta">
<span class="category">Summer 2023</span>
</div>
<div class="description">
<p>Project description blah blah.</p>
</div>
</div>
<div class="extra content">
<div class="right floated author" >
<img class="ui avatar image" src="/images/github-pfp.jpg" alt="GitHub profile picture"> myGithub (GitHub)
</div>
</div>
</a>
Is there anyone who might have suggestions on how to solve this issue? I'm completely lost as to what could be causing the problem.