Make the text of each paragraph brown.
The text of each <h2> header must be 18px size.
The first level heading text should be red and 22px size.
Don’t use inline styles.

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>Внутренний стиль</title>
  </head>
  <body>
    <h1>Tags we have learned</h1>
    <h2>Blocks</h2>
    <p>Blocks can be added with div tag</p>
    <h2>Horizontal Rules</h2>
    <p>Horizontal Rule can be added with hr tag</p>
  </body>
</html>