About

A quick post about discovering Orbit and realizing you could use it inside of a notebook. This might be a neat mechanism in which to cover statistics and probability. To take a further look, read the authors book utilizing it, Quantum Country

from IPython.core.display import display, HTML
display(HTML('''<html>
  <head>
    <script type="module" src="https://js.withorbit.com/orbit-web-component.js"></script>
  </head>
  <body>
    <orbit-reviewarea color="purple">
      <orbit-prompt
        question="What's the working name for Andy's experimental mnemonic medium platform?"
        answer="Orbit"
      ></orbit-prompt>
      <orbit-prompt
        question="What's the new-ish web technology used to embed Orbit prompts into web pages?"
        answer="Web components"
      ></orbit-prompt>
      <orbit-prompt
        question="Given a right triangle with legs of length $a$ and $b$, what is the length of hypotenuse $c$?"
        answer="$$c = \sqrt{a^2 + b^2}$$"
      ></orbit-prompt>
            <orbit-prompt
        question="What is needed to display HTML in a Jupyter notebook?"
        answer="The IPython.core.display package and the display and HTML functions"
      ></orbit-prompt>
    </orbit-reviewarea>
  </body>
</html>'''))