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.
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
<!DOCTYPE html> <html> <head> <title>Relative height</title> </head> <body> <div> <p>Paragraph 1</p> <p>Paragraph 2</p> </div> </body> </html>