Permalink
Cannot retrieve contributors at this time
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?
lab7/index.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
34 lines (30 sloc)
1.06 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Real-Time Auction</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div id="item-container"> | |
<h2 id="name"></h2> | |
<p id="description"></p> | |
<p>Starting Bid: $100</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> | |
<!-- New input field for maximum bid amount --> | |
<label for="max-bid-amount">Enter Maximum Bid Amount:</label> | |
<input type="number" id="max-bid-amount" name="max-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="highest-bid-container"> | |
<p>Highest Bid: <span id="highest-bid">$100</span></p> | |
</div> | |
<div id="time-remaining">Time Remaining: 60 seconds</div> | |
<script src="app.js"></script> | |
</body> | |
</html> |