Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
366 changes: 366 additions & 0 deletions submissions/chris-voitova/js-movie-seat-booking/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,366 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="reset.css" />
<link rel="stylesheet" href="style.css" />
<title>Movie Seat Booking</title>
</head>
<body>
<header class="header">
<h1 class="title">Choose your movie</h1>
</header>
<main class="wrapper">
<form action="#" class="movie-form">
<div class="movie-form__wrapper">
<div class="select-wrapper">
<label for="movie-select" class="select-label">Select movie</label>
<div class="select-block">
<select name="movie" id="movie-select" class="select" required>
<option class="select__item" value="">Please select</option>
<option class="select__item" value="The Matrix">
The Matrix
</option>
<option class="select__item" value="The Terminator">
The Terminator
</option>
<option class="select__item" value="Blue Velvet">
Blue Velvet
</option>
</select>
</div>
</div>
<div class="select-wrapper">
<label for="time-select" class="select-label">Select time</label>
<div class="select-block">
<select name="time" id="time-select" class="select" required>
<option class="select__item" value="">Please select</option>
<option class="select__item" value="16:00">16:00</option>
<option class="select__item" value="18:30">18:30</option>
<option class="select__item" value="21:15">21:15</option>
</select>
</div>
</div>
</div>
<div class="seats-info">
<ul class="seats-info-list">
<li class="seats-info-list__item disabled">N/A</li>
<li class="seats-info-list__item">Available</li>
<li class="seats-info-list__item selected">Selected</li>
</ul>
</div>
<div class="screen-wrapper">
<div class="screen">
<img
src="img/screen.svg"
alt="screen-image"
class="screen__image"
/>
<span class="screen__description">Screen</span>
</div>
</div>
<div class="hall-wrapper">
<div class="rows">
<span class="rows__number">1</span>
<span class="rows__number">2</span>
<span class="rows__number">3</span>
<span class="rows__number">4</span>
<span class="rows__number">5</span>
<span class="rows__number">6</span>
</div>
<div class="hall">
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="1-1" />
<span class="hall-item__seat">1</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="2-1" />
<span class="hall-item__seat">2</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="3-1" />
<span class="hall-item__seat">3</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="4-1" />
<span class="hall-item__seat">4</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="5-1" />
<span class="hall-item__seat">5</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="6-1" />
<span class="hall-item__seat">6</span>
</label>
<label class="hall-item">
<input
type="checkbox"
disabled
class="hall-item__input"
value="7-1"
/>
<span class="hall-item__seat">7</span>
</label>
<label class="hall-item">
<input
type="checkbox"
disabled
class="hall-item__input"
value="8-1"
/>
<span class="hall-item__seat">8</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="9-1" />
<span class="hall-item__seat">9</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="10-1" />
<span class="hall-item__seat">10</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="1-2" />
<span class="hall-item__seat">1</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="2-2" />
<span class="hall-item__seat">2</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="3-2" />
<span class="hall-item__seat">3</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="4-2" />
<span class="hall-item__seat">4</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="5-2" />
<span class="hall-item__seat">5</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="6-2" />
<span class="hall-item__seat">6</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="7-2" />
<span class="hall-item__seat">7</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="8-2" />
<span class="hall-item__seat">8</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="9-2" />
<span class="hall-item__seat">9</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="10-2" />
<span class="hall-item__seat">10</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="1-3" />
<span class="hall-item__seat">1</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="2-3" />
<span class="hall-item__seat">2</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="3-3" />
<span class="hall-item__seat">3</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="4-3" />
<span class="hall-item__seat">4</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="5-3" />
<span class="hall-item__seat">5</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="6-3" />
<span class="hall-item__seat">6</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="7-3" />
<span class="hall-item__seat">7</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="8-3" />
<span class="hall-item__seat">8</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="9-3" />
<span class="hall-item__seat">9</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="10-3" />
<span class="hall-item__seat">10</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="1-4" />
<span class="hall-item__seat">1</span>
</label>
<label class="hall-item">
<input
type="checkbox"
class="hall-item__input"
disabled
value="2-4"
/>
<span class="hall-item__seat">2</span>
</label>
<label class="hall-item">
<input
type="checkbox"
class="hall-item__input"
disabled
value="3-4"
/>
<span class="hall-item__seat">3</span>
</label>
<label class="hall-item">
<input
type="checkbox"
class="hall-item__input"
disabled
value="4-4"
/>
<span class="hall-item__seat">4</span>
</label>
<label class="hall-item">
<input
type="checkbox"
class="hall-item__input"
disabled
value="5-4"
/>
<span class="hall-item__seat">5</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="6-4" />
<span class="hall-item__seat">6</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="7-4" />
<span class="hall-item__seat">7</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="8-4" />
<span class="hall-item__seat">8</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="9-4" />
<span class="hall-item__seat">9</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="10-4" />
<span class="hall-item__seat">10</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="1-5" />
<span class="hall-item__seat">1</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="2-5" />
<span class="hall-item__seat">2</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="3-5" />
<span class="hall-item__seat">3</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="4-5" />
<span class="hall-item__seat">4</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="5-5" />
<span class="hall-item__seat">5</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="6-5" />
<span class="hall-item__seat">6</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="7-5" />
<span class="hall-item__seat">7</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="8-5" />
<span class="hall-item__seat">8</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="9-5" />
<span class="hall-item__seat">9</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="10-5" />
<span class="hall-item__seat">10</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="1-6" />
<span class="hall-item__seat">1</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="2-6" />
<span class="hall-item__seat">2</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="3-6" />
<span class="hall-item__seat">3</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="4-6" />
<span class="hall-item__seat">4</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="5-6" />
<span class="hall-item__seat">5</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="6-6" />
<span class="hall-item__seat">6</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="7-6" />
<span class="hall-item__seat">7</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="8-6" />
<span class="hall-item__seat">8</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="9-6" />
<span class="hall-item__seat">9</span>
</label>
<label class="hall-item">
<input type="checkbox" class="hall-item__input" value="10-6" />
<span class="hall-item__seat">10</span>
</label>
</div>
</div>
<div class="summary-info">
<h2 class="summary-info__title">You choosed</h2>
<ul class="summary-list">
<li class="summary-list__item">
<strong>Movie:</strong>
<span class="movie">-</span>
</li>
<li class="summary-list__item">
<strong>Time:</strong>
<span class="time">-</span>
</li>
<li class="summary-list__item">
<strong>Seats:</strong>
<div class="seats">-</div>
</li>
</ul>
</div>
</form>
</main>
<script src="script.js"></script>
</body>
</html>
Loading