Use External Javascript Library In Code Playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Use External Javascript Library In Code Playground

I have tried to use Matter.js in sololearn code editor and it unfortunately doesn't works, may someone suggest me how to do it or if it isn't possible.

22nd Dec 2018, 8:51 AM
Rabadon
Rabadon - avatar
2 Answers
+ 4
Where is that code? Because matter.js works fine on Sololearn code editor.... There are some possiblity that error is in your code. This is an example of matter.js works on Sololearn https://code.sololearn.com/WHNJ4I4iYNs8/?ref=app
22nd Dec 2018, 8:57 AM
Raj Chhatrala
Raj Chhatrala - avatar
0
I have tried with matter.min.js and I see that in that code is matter.js, I'll try it again and see if it works. Thanks for your answer!
22nd Dec 2018, 9:03 AM
Rabadon
Rabadon - avatar