0

Why is there no output?

This code won't function can you guys explain me why this code does not function? There is also no console what explains me anything no console no explain from sololearn Click here ⬇ https://code.sololearn.com/WmiVa46Ukazr/?ref=app Or search alertp

15th Nov 2022, 12:10 PM
MikroMick
MikroMick - avatar
10 Respostas
+ 6
It would be better if you would gave us the link from where you copied so that it would be easy to find
15th Nov 2022, 4:17 PM
Ayush Pandey
Ayush Pandey - avatar
+ 2
It is because your code is just a bunch of iframes. Some sites don't allow their sites to be viewed from external Iframes. Also this site is a webpress site. So you will need wordpress + plugins to render it correctly. There is also an issue with scripts in the playground. And this source code has too many. Also the particular source you copied is a flash, which isn't supported. If you want to see the flash loader. Just remove all the script and style tags. And you'll see the flash loader but unfortunately the game will not load.
16th Nov 2022, 2:48 AM
Chris Coder
Chris Coder - avatar
+ 1
Sakshi, thanks for that information but it does not help much...
15th Nov 2022, 12:45 PM
MikroMick
MikroMick - avatar
+ 1
Yes, I know but we can't easily understand the code also because the particular code in particular file
15th Nov 2022, 12:53 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 1
Ok
15th Nov 2022, 12:54 PM
MikroMick
MikroMick - avatar
+ 1
Ayush Pandey I copied it from this. https://code.sololearn.com/WPKb6Qm1R2tX/?ref=app and I typed empire.goodgamestudios.com
16th Nov 2022, 10:31 AM
MikroMick
MikroMick - avatar
+ 1
Chris Coder thanks for the information but the game should load.
16th Nov 2022, 10:35 AM
MikroMick
MikroMick - avatar
+ 1
Sololearn playground features are limited. But I was able to load the game with VSCODE
17th Nov 2022, 1:59 AM
Chris Coder
Chris Coder - avatar
0
Write css code in css file and html code in html file
15th Nov 2022, 12:16 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
0
That's because you have css code in html line or in another file those code you drew where css code
16th Nov 2022, 7:41 PM
UNKNOWN PYTHON
UNKNOWN PYTHON - avatar