8/10 background image


#1

https://www.codecademy.com/en/courses/make-a-website/lessons/closer-look-css/exercises/background-image

I'm not actually stuck on the exercise, but I am having trouble applying this lesson outside CodeAcademy. I am making my own (VERY simple) website using Atom. I tried to recreate this to use a background image, but it doesn't work when I use the .hero class selector. And when I put the background-image and background-size bits in body{}, it covers everything else on the page. Help?


Replace this line with your code.


#2

Did you download the Bootstrap CSS file and link it in ?


#3

This topic was automatically closed after 7 days. New replies are no longer allowed.