The Delightful World of Vue
Reading Server Data & :global Classes
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

Suppose we have a global piece of data that we need to render in our template. This data is window.randomTurtleFact and contains a special fact about turtles that we randomly get from the server each time a template loads. Sweet! Sea turtles can't retract their heads and flippers!

Which of these examples would fail to render that global variable in the template?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.