I'm attempting to change the font on some css layout to the crayola font but for whatever reason it doesn't seem to be working, any tips? Here's the code (note that I'm a fresh beginner so it's going to look stupid):<style>@font-face { font-family: 'Crayola'; src: url('https://fonts.cdnfonts.com/css/crayola') format('truetype'); font-weight: normal; font-style: normal;}body { font-family: 'Crayola', sans-serif;}
>>1457366try this, works on my machine<style>@font-face { font-family: 'Crayola'; src: url('https://fonts.cdnfonts.com/s/37868/BoldCrayola-Regular.woff'); font-weight: normal; font-style: normal;}body { font-family: 'Crayola', sans-serif;}</style>
>>1457366I don't see Crayola on cdnfonts.com. There's only Crayola Kiddy, which would be imported from https://fonts.cdnfonts.com/css/crayola-kiddy-font. Also it's best practice to have fallback fonts in case the preferred font doesn't work or can't be accessed for some reason.