Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pet Information</title>
<script src="animals2.js"></script>
<style>
body {
font-family: Arial, sans-serif;
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.selectedPetInfo {
margin-top: 20px;
padding: 10px;
background-color: #f0f0f0;
border-radius: 5px;
}
</style>
</head>
<body>
<h1>Pet Information</h1>
<ol>
<li>Stella</li>
<li>Cody</li>
<li>Mango</li>
<li>Lucy</li>
<li>Buhmie</li>
</ol>
<p>
<label for="petNum">Pet Number:</label>
<input type="text" id="petNum" name="petNum" maxlength="4" size="4">
<button onclick="showInfo()">Click for information!</button>
</p>
<p class="selectedPetInfo"></p>
</body>
</html>