I'm confused on how to add with the renovation of Google fonts and variable fonts, etc. does anyone have a good video that they've seen that can help add Google fonts in the updated variable fonts format? Here are two examples. One for HTML and one for CSS. Totally confused because it's different than the video. Apologies for being a noob.
html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap" rel="stylesheet">
css
.happy-monkey-regular {
font-family: "Happy Monkey", system-ui;
font-weight: 400;
font-style: normal;
}