<!DOCTYPE html> <html> <head> <title>Result</title> </head> <body> <p>My favorite font is<span style="font-family: Arial;"> Impact</span></p> </body> </html>
You changed the font-family to Arial, this obviously should be impact.
for next time, use one of the two following options to make your code/indent visible:
select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)
if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:
``` <p>visible</p> ```
the backtick is located above the tab key on your keyboard
There was a font already in the sentence before I even put a font in
my code it's just part of the sentence
Yes, it is. But you should set the font-family to Impact using the style attribute. At the moment you use the style attribute to change the font-family to Arial.