+ 5

How to see JavaScript errors in the app?

Hi I can’t see why some nice codes don’t work in the sololearn app on the iPhone For example, this code from Elizabeth https://code.sololearn.com/WztH7D9QSoIh/?ref=app It should be the way to see what is going on. Btw , the code works properly in chrome and safari on the same phone- it is iPhone se. Thanks

1st Aug 2018, 7:18 PM
wave rider
5 Respuestas
+ 1
Have you tried console.log?
1st Aug 2018, 7:21 PM
N00B
+ 5
How it can help? when i run the code it shows the background but there is no ball, no animation
1st Aug 2018, 7:23 PM
wave rider
+ 4
I figured it out, console.log helped - thank you @NOOB :) <meta name="viewport" content="width=device-width,initial-scale=1"> This line will resize the screen's width correctly on the iphone
6th Aug 2018, 7:20 AM
wave rider
+ 1
on me it's working and have iPad
5th Aug 2018, 4:35 PM
Jonas
0
Maybe Apple's trying to poke fun at you. I don't know.
1st Aug 2018, 7:26 PM
N00B