As I promised in the lecture, we will work with relative sizes
The document has a block with two paragraphs.
Set the block height to 500px and the height of each paragraph to 40% of the parent’s height
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>Relative height</title>
  </head>
  <body>
    <div>
      <p>Paragraph 1</p>
      <p>Paragraph 2</p>
    </div>
  </body>
</html>