There are 4 paragraphs in the index.html file.
Your colleague has added the styles, but forgot to use them.

  • The text of the second paragraph should be red.
  • The text of the fourth paragraph should be bold.
  • Add the correct ids to the second and fourth paragraphs.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task

index.html

<!DOCTYPE html>
<html>
  <head>
    <title>The paragraph identity</title>
    <style>
      #red-text {
        color: red;
      }
      #bold-text {
        font-weight: bold;
      }
    </style>
  </head>
  <body>
    <p>Paragraph 1</p>
    <p>Paragraph 2</p>
    <p>Paragraph 3</p>
    <p>Paragraph 4</p>
  </body>
</html>