<script src="<?= $BASENAME ?>/libs/global/js/prettify/lang-js.js" type="text/javascript"></script>
<p>Below is one possible solution to this problem.</p>
<header>
<h3>Exercise 2: Make All Boundaries Glow Red</h3>
<div class="workinglink"><a href="solution/maze-ex2.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load("solution/maze-ex2.js", 7)) ?></pre>
<header>
<h3>Exercise 3: Alert on Completion of Maze</h3>
<div class="workinglink"><a href="solution/maze-ex3.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load("solution/maze-ex3.js", 7)) ?></pre>
<header>
<h3>Exercise 4: Restartable Maze</h3>
<div class="workinglink"><a href="solution/maze-ex4.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load("solution/maze-ex4.js", 7)) ?></pre>
<header>
<h3>Exercise 5: Inject Win/Lose Message Into Page</h3>
<div class="workinglink"><a href="solution/maze-ex5.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load("solution/maze-ex5.js")) ?></pre>