+ 3

This code works on PC, but not on mobile app

any idea why I get a syntax error on this code (the console gives nothing more !) on mobile but that I don’t get on PC ? https://code.sololearn.com/WI88C84RXRX2/#js thanks

4th May 2019, 9:42 PM
Valentin Chanas
Valentin Chanas - avatar
8 Antworten
+ 6
Valentin For some reason, iOS does not like id="slider"🤷‍♂️.Replaced id with class="slider" your code ran without issue. Using iPad https://code.sololearn.com/Wqd8XO2E32cm/#html
5th May 2019, 1:58 AM
ODLNT
ODLNT - avatar
+ 3
Cheers ODLNT !
5th May 2019, 9:37 AM
Valentin Chanas
Valentin Chanas - avatar
+ 2
What code do you need help with?
4th May 2019, 9:45 PM
Faisal
Faisal - avatar
+ 2
Here is the code, for some reason, I can’t edit the post https://code.sololearn.com/WI88C84RXRX2/#js
4th May 2019, 9:48 PM
Valentin Chanas
Valentin Chanas - avatar
+ 2
on iphone ?
4th May 2019, 9:52 PM
Valentin Chanas
Valentin Chanas - avatar
0
Yeah, will help us to help you if you post a direct link to your code here.
4th May 2019, 9:47 PM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar
0
Valentin Chanas Seems to run fine for me. I get no errors.
4th May 2019, 9:49 PM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar
0
Valentin Chanas No. Android on a Google Pixel 2.
4th May 2019, 9:53 PM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar