Access the Internet from code studio


Is it possible to code a button to go to a website? One of my students wants to do that in his app.


Hi Myra

Right now there is not really a good way to do this in App Lab. Currently the window.location command in JS is locked in App Lab for security reasons. The best you can do for linking to something externally is to use something like:

write( <‘a’ href =‘’>ESPN</‘a’>) added the ‘’ around the a to keep it from turning it into a link

Hopefully down the road we can look into something to make this easier.

  • Dani