Not showing color for first division class? HTML-CSS Project

I’m working on my tribute page and I was testing out the CSS grid by assigning colors but the first div (pic1) is not responding to the color I assigned it.

Thank You for your help!

That stumped me. Delete your <style> tags out of the css box. They are not needed and are causing you problems.

Hey man, remive ur tags they r unnecessary in the external css file…

The class is fine. It’s the style tags. I went to his page and deleted them and it worked fine.


Heyy, when using codepen, you dont have to use style tags when putting in css in the css editor, thats what is messing up with your code.

you can do the same for doctype and html tags too

Thank you everyone! i took away the style tag and it worked!