Challenge: 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
Tack för dina kommentarer!
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 2.08
Challenge: Implementing a Custom Google Font
Svep för att visa menyn
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
Tack för dina kommentarer!