Skip to content
Permalink
master
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-US">
<head>
<title>Real-Time Auction</title>
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
</head>
<body>
<div id="item-container">
<h2>Item Name</h2>
<p>Item Description</p>
<p>Starting bid: $100</p>
</div>
<div id="highest-bid-container">
<p>Highest Bid: <span id="highest-bid">$100</span></p>
</div>
<div id="bid-container">
<form>
<label for="bid-amount">Enter Bid Amount</label>
<input type="number" id="bid-amount" name="bid-amount" min="100" step="1" required>
<button type="submit">Place Bid</button>
</form>
<p>Your current bid: <span id="current-bid">$100</span></p>
</div>
<div id="auto-bid-container">
<form id="auto-bid-form">
<label for="bidder-name">Your Name</label>
<input type="text" id="bidder-name" name="bidder-name" required>
<br>
<br>
<label for="max-bid-amount">Max Bid Amount</label>
<input type="number" id="max-bid-amount" name="max-bid-amount" min="100" step="1" required>
<button type="submit">Enable Auto Bid</button>
</form>
</div>
<div id="time-container">
<p id="time-remaining">Time Remaining: 60 seconds</p>
</div>
<script src="app.js"></script>
</body>
</html>