Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Implementing a Custom Google Font | Setting Up a Next.js Project
Next.js 14 Mastery for Building Modern Web Apps

bookChallenge: Implementing a Custom Google Font

We continue our work within the fonts.ts file. Let's import Rubik font with 400 weight and latin subsets. Apply this font to the p element in the app/page.tsx file.

To finalize the use of fonts, uncomment the TradeHubLogo component in the app/page.tsx file, and check the live page.

We should be able to see the following view of our application.

In Practice

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 9

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Awesome!

Completion rate improved to 2.08

bookChallenge: Implementing a Custom Google Font

Sveip for å vise menyen

We continue our work within the fonts.ts file. Let's import Rubik font with 400 weight and latin subsets. Apply this font to the p element in the app/page.tsx file.

To finalize the use of fonts, uncomment the TradeHubLogo component in the app/page.tsx file, and check the live page.

We should be able to see the following view of our application.

In Practice

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 9
some-alt