Problem styling my paragraph element on codepen for the portfolio project

I have been having a difficult time being able to style my paragraph element on codepen. I have looked up multiple tutorials and am doing everything correctly so I have no clue as to what is happening. I have tried to give it a class and then style it with CSS but it will not work. I also tried to change the font by giving it a style, and that will not work as well. If anyone could please give me some advice on what to do it would be greatly appreciated!


I think it is because of center tag you are using inside p tag. Center tag is not supported in HTML5. Remove it and then try applying style to the p tag.

To center align the text, you can use text-align: center in the CSS.

1 Like

It worked, thank you so much!

1 Like

here is the YouTube lessons I made for my high school students.

1 Like