Can you raise a AJAX request inside SoloLearn's Playground? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Can you raise a AJAX request inside SoloLearn's Playground?

Hi, I tried creating a currency converter. It basically gets the currency conversion rates from Fixer.io API and calculates the converted amounts and scripts in the HTML. It worked perfectly fine in JsFiddle and CodePen but the request throws an error in SoloLearn. So I assume you can't do that yet in SoloLearn or did I make a mistake? Any precautions to follow? The link: http://codepen.io/paulnotes/full/EWpeav/

26th Mar 2017, 3:27 PM
Abialbon Paul
Abialbon Paul - avatar
1 ответ
+ 11
Since AJAX sends HTTP requests to a server, it cannot be used in Sololearn as there's no server here
26th Mar 2017, 5:44 PM
Chirag Bhansali
Chirag Bhansali - avatar