Does anybody know how to fix these errors? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does anybody know how to fix these errors?

I'm getting 2 errors in my CSS code which is in line 201 and 254. When I ran the same code in my PC it worked fine but when I pasted it in the app it started showing errors. Can anyone please help me!! This code contains one of the best effects for controlling image transition. https://code.sololearn.com/W4uhA3z7TTX1/?ref=app

11th Jun 2018, 3:52 AM
Subhanshu Mohan Gupta
Subhanshu Mohan Gupta - avatar
2 Answers
+ 8
Declaring the script source for three.js appears to fix the first error. Place this in <head> tag. Not sure about the rest. <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r79/three.min.js"></script>
11th Jun 2018, 4:08 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Hatsy Rei now its showing "Cannot read property - ModelBufferGeometry of undefined. Line: 225 + the same error in Line: 254.
11th Jun 2018, 10:06 AM
Subhanshu Mohan Gupta
Subhanshu Mohan Gupta - avatar