@JesusAtao96
Posted
Hello Sarah Kessler 👋
Good job, if you want to improve your code, I recommend using the BEM (Block, Element, Modifier) methodology. For example, the card is a block because it is the container and it is reusable, the texts and the image are elements because they only work inside the card and the border colors are modifiers because they define the appearance of the card.
Code example:
<div class="card card---cyan">
<h1 class="card__title">Supervisor</h1>
<p class="card__description">Monitors activity to identify project roadblocks</p>
<img src="./images/icon-supervisor.svg" alt="Supervisor" class="card__icon">
</div>
Block:
- "card".
Element:
- "card__title".
- "card__description".
- "card__icon".
Modifier:
- "card---cyan".
Happy New Year and keep coding 😊.
@serakay
Posted
@JesusAtao96 Thank you for your feedback! it would definitely make things easier to find in my code if it were to be read by someone else.
@JesusAtao96
Posted
Upvote my comment if i helped you 😉.