@mattstuddert
Posted
Nice work on this challenge, Daniel! To center the CEO image you just need to reduce its size and add align-items: center;
to the #ceo-image
selector.
I'd actually recommend avoiding using IDs as CSS selectors altogether. They have high specificity and can't be reused on the page, so they're not good for the purpose of styling. Instead, I'd recommend sticking to class, attribute, pseudo, and type selectors. Using these will help keep your CSS more maintainable.
I'd also recommend taking a look at the accessibility and HTML errors and try resolving them.
Let me know if you have any questions. Keep up the great work! 👍