iamshaunjp/responsive-css-grid-build

Font no longer works after lesson-5

Opened this issue · 0 comments

I noticed that when I switch to branch level-6 the font no longer works. I checked the differences and you seem to have changed the format from "truetype" to "tff" which is not a valid format. "truetype" is correct. Also, the ending semicolon is changed to a comma which breaks it. So after level 5, line 50 of style.css becomes

src: url("assets/fonts/Rubik-Regular.ttf") format("ttf"),

when it needs to stay

src: url("assets/fonts/Rubik-Regular.ttf") format("truetype");

I submitted pull requests fixing the affected branches.