Step 2: Write a FridgeScript

Congratulations on reaching the advanced level! In this step, we'll dive into the dark arts of FridgeScripting.

A FridgeScript is a proprietary programming language specifically designed for microformants. Its syntax is simple, yet powerful, and its sole purpose is to make your fridge do your bidding.

FridgeScript Example:

      // FridgeScript 1.0
      // By FridgeScript Master
      // 2023 FridgeScript Corporation

      // Set the fridge to "CHILL" mode
      FRIDGE_MODE = "CHILL"
      
      // Print the current fridge temperature
      print(FRIDGE_TEMP)

      // Set the fridge to "CHILL" mode with a custom message
      FRIDGE_MODE = "CHILL"
      print("I'm now in CHILL mode, human!")

      // Loop forever, doing nothing
      while (1):
        print("I'm still chillin'... ")
    

Your turn! Write your first FridgeScript and see what wonders you can conjure from your microformant.

Go to Step 3: Deploy Your FridgeScript to Production for the next challenge!

Why is the Fridge so uncooperative?