Welcome to the Treehouse Community
Looking to learn something new?
Badrul Lasker909 Points
Close curl bracket "}" not required?
I see that the instructor used right and left curl bracket in his main.css file, but when I tried removing the right curl bracket it worked too. So is it that the right curl bracket here is of no use?
It might work if it's the last line in your CSS file, but if it isn't then more than likely it will create an error and cause styles that are below the error to not work properly. It's best to close it to avoid any possible errors. It won't actually say ERROR, but it will ignore styles silently.
You need to use curly brackets to avoid confusion in coding and possible CSS errors as anything inside the bracket is the property of the class or the id defines in the stylesheet