Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele 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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 9

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Awesome!

Completion rate improved to 2.08

bookChallenge: Implementing a Custom Google Font

Pyyhkäise näyttääksesi valikon

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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 9
some-alt