Interactive lab

Nesting Stack Trainer

Close tags in order: last opened, first closed. The top of the stack is always next.

Open tags

Top item closes first.

    Choose a closing tag

    Build the code