Cannot pass the "Changing Text Color" of html

I already doing it right, but idk why it keeps telling me to end the style with a ;
And i do, but when i run it, it still tell me the same

Instead of screenshot, can you post your code?

<h2 style="color: red;" >CatPhotoApp</h2>

I’m doing it like that, it’s correct right?

You need to remove the space before the closing brace on the opening tag

<h2 style="color: red;" >CatPhotoApp</h2>

<h2 style="color: red;">CatPhotoApp</h2>

The same code with the space should pass on the beta version of the site because the test was updated.
https://www.freecodecamp.rocks/learn/responsive-web-design/basic-css/change-the-color-of-text

i have try it and it still failed…
but suddenly, today it’s work…
thanks btw…

Hello,
I will suggest that remove unnecessary spaces between property and its value.

<h2 style="color:red;"> Some Text </h2>