Help with Healthy Recipes Project

I needed help. I am unsure why my code does not bold the total time

img {
  height: 150px; }

  .description {
    font-size: 20px;
  }

  cook-time {
    font-weight: bold;
  }

https://www.codecademy.com/courses/learn-css/projects/css-selectors-1

Hello!

Does your selector for cook-time look quite right to you? At the moment you are selecting an element of <cook-time> and not an id of cook-time as intended.

Spoiler
cook-time {}
/* Should be */
#cook-time {}

Hope that helps!

Thank you! I used your spoiler and then found the reason why!

1 Like