Below are the Google Fonts links I am using:
<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=Montserrat:wght@100;400;900&display=swap" rel="stylesheet">
In addition, here is my CSS code for font styling:
h1{
font-family: 'Montserrat', sans-serif;
font-weight: 900;
}