There are three <div>
blocks in the index.html
file.
For some reason, all three fit in one line, although the new one should be wrapped.
There must be something wrong with the display property, fix it.
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>Display property</title>
<style>
div {
display: inline-block;
border: 1px solid red;
padding: 10px;
}
</style>
</head>
<body>
<div>This block should be on a new line</div>
<div>This should start on a new line too</div>
<div>Well, each block should start on a new line</div>
</body>
</html>