@Sam-52
Submitted
This is my first solotion and first project. I do not know if this is the best way to fix this problem. I think location of the paragraph text below is not good enough. Any feedback is welcome.
@CamronWithrow
@Sam-52
Submitted
This is my first solotion and first project. I do not know if this is the best way to fix this problem. I think location of the paragraph text below is not good enough. Any feedback is welcome.
@CamronWithrow
Posted
Hi!
I have a couple of comments that may help you out with your code.
<h1>
tag instead of an <h2>
. Generally, you want to have a sequence of headings starting with <h1>
and without skipping any headings below (so, you don't want something like <h1>
followed by <h3>
, or an <h2>
without an <h1>
above it). You can use CSS to style your <h1>
so it looks like the design.<br>
to match the line breaks in the design. You can get the lines to break in the same place using the font size and the width of the card (your <div class="image">
).<body>
a flex container. In your main.css, you could addbody {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
Then you wouldn't need to manually position the card.
I hope this helps!
Marked as helpful
@oseji
Submitted
i had an issue implementing the red unread markers because i used flex to organize the notification content,how else could i hace implemented this?
@CamronWithrow
Posted
Hi!
I used flexbox as well for this challenge. To get the red "unread-notification" icon, I used ::after
to style an icon after the notification message.
Using your classes, I think it would look something like this:
.unread .notiftext::after { content: ""; height: 0.25rem; width: 0.25rem; background-color: red; border-radius: 50%; }
Marked as helpful