+ 1

I am getting a Three not defined

Can anybody help me run this code ?? I have tried every method to define (include) Three.js . https://code.sololearn.com/W6QiWdp3ApN6/?ref=app https://code.sololearn.com/W6QiWdp3ApN6/?ref=app

7th Oct 2020, 5:12 AM
Nilanjan Paul
Nilanjan Paul - avatar
4 ответов
0
What is this include 😱 If you wanna use js packages simply use CDN links and grab them to your code. The includes() is a method which determines whether a string contains the characters of a specified string.
7th Oct 2020, 6:00 AM
Ayush Kumar
Ayush Kumar - avatar
0
Yes I did but the error still persists. I used it with src in the script
7th Oct 2020, 6:09 AM
Nilanjan Paul
Nilanjan Paul - avatar
0
Put your JS code in window.onload function
7th Oct 2020, 6:10 AM
Ayush Kumar
Ayush Kumar - avatar
0
Can you demonstrate please !!
7th Oct 2020, 6:12 AM
Nilanjan Paul
Nilanjan Paul - avatar