Where's the problem in my code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Where's the problem in my code?

See this, please help me https://code.sololearn.com/WQ53lZHiNLrA/?ref=app

18th Jan 2022, 2:55 PM
Parth
Parth - avatar
7 Answers
+ 8
The talkify.min.js would have to be on the Sololearn server the way your src= is codeded. The full path to a web location to where it can be found would be needed or it has to be in the same directory as your html file. P.S. I see no issue with line 5 of your html
18th Jan 2022, 3:40 PM
Paul K Sadler
Paul K Sadler - avatar
+ 4
Paul K Sadler ok so....the problem is in the link, so can you share me the link please? I ain't getting it
19th Jan 2022, 12:41 PM
Parth
Parth - avatar
+ 4
Think like a browser or node.js server, they see talkify.min.js...where do they look for that file? Based on the value you put in the src attribute they will look in the same directory as your html file. It won't be found because it's not on the Sololearn Server. So the value in the src must point to a location where that file can be found. Refer to the talkify documentation to determine the location/link to use. It might be there is a CDN location (if you don't know what that is google it). You might be able to put it on your Google Drive, iCloud, MS OneDrive or other cloud based storage solution. That will require making a public share on the service you use.
19th Jan 2022, 1:21 PM
Paul K Sadler
Paul K Sadler - avatar
+ 3
20th Jan 2022, 12:37 PM
Parth
Parth - avatar
+ 2
Is okay keep working hard
19th Jan 2022, 11:39 PM
Daniel Sunday Osogu
+ 2
in browser
20th Jan 2022, 8:43 AM
Максим Васильев
Максим Васильев - avatar
+ 1
I think 5 line
18th Jan 2022, 3:22 PM
Prithviraj