Google font importing

To import a font from google you just add the link inside the code.
Here’s a example (http/Example.exsample.com/) just copy the url (this is a exsample) and
paste it to your script. Then inside the script tags write <h1 {family-font: exsample;}
or <p family-font: {exsample;} or whatever you need to change the font of.

not sure what you mean but freecodecamp teaches how to do it here: https://www.freecodecamp.org/challenges/import-a-google-font

You wouldn’t change the font like that. It looks like you’re trying to put CSS directly in your HTML.

Instead, you’d have your element as such:

<h1>Hello</h1>

And you’d change the font with CSS, in <style></style> tags, or in a separate file:

<style>
h1 {
  font-family: sans-serif;
}
</style>

You can style elements directly:
<h1 style="font-family: sans-serif">Hello</h1>

But that’s not recommended, and probably not what the challenge is asking you to do. You’re not going to put { } in your HTML tags.