refused to apply style from mime type and strict mime checking is enabled | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

refused to apply style from mime type and strict mime checking is enabled

https://code.sololearn.com/WV6p5X6EXvNp/?ref=app

31st Aug 2020, 6:29 AM
Divyansh Srivastava
Divyansh Srivastava - avatar
3 Answers
+ 3
"Refused to apply style from 'https://cdn.jsdelivr.net/npm/circletype@2.3.0/dist/circletype.min.js' because its MIME type ('application/javascript') is not a supported stylesheet MIME type, and strict MIME checking is enabled." This message is letting you know that it will not accept javascript files, it will only accept style sheets (ex. CSS ) files. So, 'https://cdn.jsdelivr.net/npm/circletype@2.3.0/dist/circletype.min.js', please note the .js at the end, should be the src property value of a script tag, not a ref property value of a link tag as it is in your code.
31st Aug 2020, 4:15 PM
ODLNT
ODLNT - avatar
+ 3
At line 14 of the HTML tab replace: <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/circletype@2.3.0/dist/circletype.min.js'>, with: <script src='https://cdn.jsdelivr.net/npm/circletype@2.3.0/dist/circletype.min.js'></script>
3rd Sep 2020, 8:06 PM
ODLNT
ODLNT - avatar
+ 1
Can u explain bit more
3rd Sep 2020, 5:01 PM
Divyansh Srivastava
Divyansh Srivastava - avatar