Why doesn't this code work correctly on iOS devices?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

Why doesn't this code work correctly on iOS devices?!

I only get the following: "Countdown from 100 by 5s" Which feature is not supported in iOS devices?! https://code.sololearn.com/w5s9zmuX3iVt/?ref=app

9th Mar 2019, 6:13 PM
Geovanny Martínez Forero
Geovanny Martínez Forero - avatar
12 Answers
+ 10
asa22 BroFarOps©®️™️🐱 The web template (test 3) does not work. Regarding php template (test 2), the dropdown menus are working!
10th Mar 2019, 4:33 PM
Geovanny Martínez Forero
Geovanny Martínez Forero - avatar
+ 9
I don't have an iOS device to test it, so it is hard to tell.
10th Mar 2019, 6:11 AM
Igor Makarsky
Igor Makarsky - avatar
+ 8
Igor Makarsky Could you help us resolve this mystery? Thanks in advance!
10th Mar 2019, 3:06 AM
Geovanny Martínez Forero
Geovanny Martínez Forero - avatar
+ 7
The first code (see below) is what I get running the original one on web (with different browsers). The second one is using the <select tag> and it works (there is a Dropdown menu with the countdown). Now, I have doubts of what other non-iOS users were really getting running the original code. So, if someone reads this, could confirm it! https://code.sololearn.com/wtra3ZWjTpUw/?ref=app https://code.sololearn.com/w45HdB5Ck2HW/?ref=app
10th Mar 2019, 12:44 AM
Geovanny Martínez Forero
Geovanny Martínez Forero - avatar
+ 5
asa22 Thanks for your entry. The dropdown menu is interesting and it works but I still don't understand why it doesn't print the "countdown" running the original code. It does work for users of other platforms!
9th Mar 2019, 10:35 PM
Geovanny Martínez Forero
Geovanny Martínez Forero - avatar
+ 4
BroFarOps©®️™️🐱 Could you tell me which option ('1st_...' or '2nd_...') you get running your code? Thanks...!🙂👍🏻
10th Mar 2019, 12:53 AM
Geovanny Martínez Forero
Geovanny Martínez Forero - avatar
+ 3
1 runs 2 doesn't
10th Mar 2019, 12:56 AM
BroFar
BroFar - avatar
+ 3
Geovanny Martínez Forero here is two identical codes one on the standard web template and one on the php template - only one works for me https://code.sololearn.com/WdWhd6jx2YF8/?ref=app https://code.sololearn.com/wkJD7bWwjuq7/?ref=app
10th Mar 2019, 1:54 PM
BroFar
BroFar - avatar
+ 2
BroFarOps©®️™️🐱 , Geovanny Martínez Forero I use SL App on iPad and only the php test 2 code works for me.
10th Mar 2019, 2:46 PM
asa22
+ 1
hi Geovanny Martínez Forero i am using iOS and this is not a iOS device problem, first look at the html syntax for select with option 🙂 try this and you will see the dropdown with the numbers <h3>Countdown from 100 by 5s</h3> <select name="numbers"> <?php for ($bfo = 100; $bfo > 0; $bfo -= 5){ echo "<option value=".$bfo.">".$bfo."</option><br>"; } ?> </select> I hope this helps i have just seen the comments, i have tried you or BroFarOps code with the sl app and with safari. without the select tag, i don‘t see dropdown box look at this https://stackoverflow.com/questions/20177788/create-a-php-dropdown-menu-from-a-for-loop
9th Mar 2019, 8:19 PM
asa22
+ 1
@KrOW Do you have time to test this php code for us iOX Users on this sunday?
10th Mar 2019, 8:33 AM
asa22
+ 1
Yes, it doesnt work on IOS devices . I dont know what the problem is ,but ill try to make it work.
10th Apr 2019, 3:13 AM
Xarbi Goals
Xarbi Goals - avatar