CSS classes not working

Hello Noob here, I cannot seem to understand why my style class is not working on this particular code. I’ve tried using it in different sections with different names & attributes.

1 Like

You should remove <style> tags from your CSS

1 Like

yes he should remove his style tag then its works perfectly

1 Like

you can’t use body tags in there
as body tags are used to contain all the content of your page, and in codepen you just add whatever would go in them inside the HTML box, and they are added in the background

in CSS box goes what you would put inside the style tags

thank you my brothers & sisters

1 Like