r/AskProgrammers • • 10h ago

What am I doing wrong?

I feel like I got everything down. Am I doing something wrong?

2 Upvotes

4 comments sorted by

1

u/edwbuck 10h ago

As it states, every font path must start with "../" and you have everyone starting with ".."

1

u/tiredofthus 10h ago

I fixed it but still wrong
I’m not sure if the order matters

1

u/davy_jones_locket 9h ago

You generally have to define the type face before you can use it...

That's why step 1 is to put all the @font-face definitions first.   

1

u/pvera 4h ago

You have to learn how relative and absolute paths are declared. You can't even use ~ paths with raw html/css rendering. You can do it if you are using the Razor engine.