'@font-face declaration doesn't follow the fontspring bulletproof syntax

I have been trying this code in CSS but it is giving me this error.

The Error:-

The Code is this:

Code:-

Directory:-

Directory:-

I can't figure it out how to solve this. Also it hasn't run in my webpage browser. I have used Chrome as well as Microsoft Edge but not run in both.



Solution 1:[1]

The Problem Here was the font URL in the font-face:

Solution: Replace line 3 with the below line.

src :url('../bebasNeue-Regulat.ttf')

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Prajwal Dhage