If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
If you want to become sorceress Scarlet's apprentice, you'll have to practice some magic! You can do this by studying the magic spell book, which contains all the information about the spells, and about how to make them. Click on the book to study it, and select the spell you'd like to learn. Select some bottles, bowls and bubbles to add ingredients to the magic potion. Click on the rope to transform the bottles into new ingredients. When this is finished, click on the pot to mix the ingredients and obtain the right potion!