Creating a change font option for the user in App Lab

We are working in App Lab. I have a student who would like to create a Settings page with the option for the user to change the fonts. Is there a way to add an On Event that would change all of the font in the app when the user clicks on a change font button?
Thanks!

@spunkiewicz,

Yes! You can use css styling inside App Lab with the setStyle command, but you may have to do it in text mode.

Here’s the documentation:
https://studio.code.org/docs/applab/setStyle/

Here’s an example: Code.org - App Lab

Good luck!

Mike

1 Like