Cant import otf's or ttf's (css)

i can’t seem to be able to put font files in the code to use
i’m trying to use @font-face but i cant get the otf’s or ttf’s

Can you please send the Repl link?

With OTFs and TTFs, your import should look like, for example:

@font-face {
  font-family: 'Gotham Medium';
  src: url('GothamMedium.ttf');

But my guess if you did it like that, is that you just didn’t specify the src to the correct path, which is why I want to see the file structure of your Repl.