<script src="<?= $BASENAME ?>/lib/global/js/prettify/lang-js.js" type="text/javascript"></script>
<p>Below is one possible solution to this problem.</p>
<header>
<h3>Exercise 2: Load Lists of Breeds</h3>
<div class="workinglink"><a href="solution/pet-it-ex2.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load("solution/pet-it-ex2.js", 15, 31)) ?></pre>
<header>
<h3>Exercise 3: Show First Breed Info</h3>
<div class="workinglink"><a href="solution/pet-it-ex3.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load("solution/pet-it-ex3.js", 20, 40)) ?></pre>
<header>
<h3>Exercise 4: Advance to Next Breed</h3>
<div class="workinglink"><a href="solution/pet-it-ex4.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load("solution/pet-it-ex4.js")) ?></pre>