Hi, I’m not understanding the error I did as it is saying that there are problems, and css lcurly are expected in addition to that the background in my live server is not appearing from the css
You have put the semicolon instead of the colon after the three last properties in .main class:
.main {
property: value; ---------------------- take a look at what you typed in after your properties!
}
For the css code like this:
.main {
width: 100%;
height: 109vw;
background-size: cover;
background-position: center;
background: linear-gradient(to top, rgba(0, 0, 0, 0.5)50%, rgba(0, 0, 0, 0.5)50%), url(https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885__480.jpg);
}
You will get something like this:
ONLY, If the ‘main’ selector is a class in your html code:
<main class="main">
</main>
Unfortunately, you forgot to type in the closing ‘body’ tag. Without it, this code won’t work.



