Hey @AcarMeel! Great job on your solution, especially considering the speed at which you completed it!
I have a few suggestions for aligning the green text:
- I see that you have some margins set on the
p
tag. If you remove it, the text will be centered same as the header text. - If you prefer it to be left-aligned to the header text, then you can wrap them both in a
div
and set the text alignment inside that div to be left-aligned withtext-align: start;
in your CSS.
So your HTML and CSS would look something like this:
<div class="wrapper">
<h1>Jessica Randall</h1>
<p class="subtitle">London, United Kingdom</p>
</div>
.wrapper {
text-align: start;
}
/* still need to remove the margins from the p tag */
Hope this helps!
Marked as helpful
@AcarMeel
Posted
Oh thank you @Brian-Pob .
I'll try that! :)