Skip to content

Instantly share code, notes, and snippets.

@theresajayne
Created July 5, 2020 13:03
Show Gist options
  • Save theresajayne/0e03f07ae6d5fbae732311a9ad52c749 to your computer and use it in GitHub Desktop.
Save theresajayne/0e03f07ae6d5fbae732311a9ad52c749 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Drinks Order</title>
<!-- bootstrap CSS enable -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<!-- <link rel="stylesheet" href="/styles.css"> -->
<script>
</script>
</head>
<body>
<!-- Enable bootstrap -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.bundle.min.js"
integrity="sha384-1CmrxMRARb6aLqgBO7yyAxTOQE2AKb9GfXnEo760AUcUmFx3ibVJJAzGytlQcNXd"
crossorigin="anonymous"></script>
<script src="./scripts/bootstrap-input-spinner.js"></script>
<script>
$("input[type='number']").inputSpinner()
$('.collapse').collapse();
</script>
<form name="form1">
<div id="accordion">
<div class="card">
<div class="card-header">
<a class="card-link" data-toggle="collapse" href="#collapse1">
FOOD
</a>
</div>
<div id="collapse1" class="collapse show" data-parent="#accordion">
<div class="card-body">
<table>
<tr>
<td style="width: 70%">Penne Ala Arabiata</td>
<td style="width: 10%">£2.50</td>
<td style="width: 20%"><input id="quantity_1" class="form-control-lg" type="number"
value="0" min="0" max="4" step="1"></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment