Why this is here

Five exercises where the DOM alone isn't enough โ€” you need to buffer a value for reuse, parse a number out of prose or XML, or actually compute the answer yourself before you can enter it. Every value here is freshly randomized on load and Reset.

1. Buffer a generated value

Click Generate โ€” an ID appears in an unlabeled span, in an unpredictable position each time. Buffer it, then type it into the box.


2. Extract a number from a sentence


3. Extract multiple numbers

This string contains exactly 3 large numbers embedded in it. Extract all 3, in order.


4. Search XML for a value

Click Load to fetch an XML document into the box below, then find the ISBN of the book titled .


5. Do the math

Initial state.