Nonsense, why doesn't this code work on my desktop, but my phone ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Nonsense, why doesn't this code work on my desktop, but my phone ?

I really don't want to show this code, until i'm done, but, that's my only option. I can't figure it out. The problem is: When you click submit, (submit is at the bottom), it's supposed to show you a score, after it's done grading; And it does do that on my phone. But on the desktop, it doesn't show the score. Just white screen. https://code.sololearn.com/WTZz0DJR6FdD/#js

8th Aug 2019, 8:34 PM
Ginfio
Ginfio - avatar
1 Answer
+ 1
Ginfio You need to keep this in mind when coding on the iOS app. SL iOS app, SL android app and the SL website are literally 3 different applications. So there are going to be some noticeable and some subtle differences. In this particular case, your problem is the submit button. iOS doesn't seem to care if you set the type of button, but on the android app and website, you need to set the button type to "button" instead of "submit", if you want to see the quiz score displayed.
8th Aug 2019, 10:12 PM
ODLNT
ODLNT - avatar