Is is possible to add a link to a website?

Is there a way add a link to the screen? Students wants their app to link to websites. Is that possible? Thanks!

@jhall9 Thanks for contacting us. Unfortunately, App Lab does not have a method that allows students to link to external websites. They can however use the getImageURL() and setImageURL() to access the URL of the image displayed for an image element ID. Please let us know if you have any other concerns.

Hi @jhall9 - actually, within the last year we added a new feature that allows you do to just that!

Introducing: the open() block. Check it out in action here: https://studio.code.org/projects/applab/pqdXRVMfu8QWW3-L1DO9FIh2RFQqWEG9O9qmQeRynyY/view

Cheers!
~ Hannah

1 Like

Amazing! And minutes before I teach my CS class. Can’t wait to share this with my students. Thank you!!

1 Like