Skip to content

Commit

Permalink
добавляет декоративные элементы fix_02
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegSulitskii authored Sep 26, 2024
1 parent 6fa3085 commit 4276813
Show file tree
Hide file tree
Showing 10 changed files with 155 additions and 71 deletions.
53 changes: 14 additions & 39 deletions hotels.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ <h2 class="visually-hidden" hidden>Фильтры отелей Седоны</h2>
</fieldset>
<fieldset class="price-form">
<legend class="price-legeng">Стоимость, ₽:</legend>
<label class="visually-hidden" for="min-price">от</label>
<input type="number" id="min-price" name="price-min" placeholder="0" value="0">
<label class="visually-hidden" for="max-price">до</label>
<input type="number" id="max-price" name="price-max" placeholder="9000" value="9000">
<label for="min-price">от</label>
<input type="number" id="min-price" name="price-min" placeholder="0" value="0" required>
<label for="max-price">до</label>
<input type="number" id="max-price" name="price-max" placeholder="9000" value="9000" required>
</fieldset>
<div class="buttons-block">
<button class="button button-action" type="submit">Применить</button>
Expand All @@ -146,45 +146,20 @@ <h2 class="select-variants-title">Найдено гостиниц: <span>38</spa
<option value="popular">Сначала популярные</option>
</select>
<ul class="card-display" aria-label="Отображение карточек отелей">
<li class="card-item card-item-select">
<a class="card-item-display">
<li class="card-item">
<button class="card-item-display card-table card-item-select" type="button">
<span class="visually-hidden">Плитки</span>
<svg class="card-item-svg" aria-hidden="true" focusable="false" width="16" height="14"
viewBox="0 0 16 14" xmlns="http://www.w3.org/2000/svg">
<path d="M4 0H0V6H4V0Z" fill="black" />
<path d="M16 0H12V6H16V0Z" fill="black" />
<path d="M10 0H6V6H10V0Z" fill="black" />
<path d="M4 8H0V14H4V8Z" fill="black" />
<path d="M16 8H12V14H16V8Z" fill="black" />
<path d="M10 8H6V14H10V8Z" fill="black" />
</svg>
</a>
</button>
</li>
<li class="card-item">
<a class="card-item-display" href="#">
<button class="card-item-display card-slideshow" type="button">
<span class="visually-hidden">Карточки</span>
<svg class="card-item-svg" aria-hidden="true" focusable="false" width="16" height="14"
viewBox="0 0 16 14" xmlns="http://www.w3.org/2000/svg">
<path d="M16 12H0V14H16V12Z" fill="black" />
<path d="M14 2V8H2V2H14ZM16 0H0V10H16V0Z" fill="black" />
</svg>
</a>
</button>
</li>
<li class="card-item">
<a class="card-item-display" href="#">
<button class="card-item-display card-list" type="button">
<span class="visually-hidden">Список</span>
<svg class="card-item-svg" aria-hidden="true" focusable="false" width="16" height="14"
viewBox="0 0 16 14" xmlns="http://www.w3.org/2000/svg">
<path d="M2 0H0V2H2V0Z" fill="black" />
<path d="M16 0H4V2H16V0Z" fill="black" />
<path d="M2 4H0V6H2V4Z" fill="black" />
<path d="M16 4H4V6H16V4Z" fill="black" />
<path d="M2 8H0V10H2V8Z" fill="black" />
<path d="M16 8H4V10H16V8Z" fill="black" />
<path d="M2 12H0V14H2V12Z" fill="black" />
<path d="M16 12H4V14H16V12Z" fill="black" />
</svg>
</a>
</button>
</li>
</ul>
</div>
Expand Down Expand Up @@ -235,7 +210,7 @@ <h3 class="hotels-item-title">Desert Quail Inn</h3>
<p class="price-of-housing">От 2500 ₽</p>
<a class="more-button button" href="#">Подробнее</a>
<button class="button button-action select-card-button">В избранное</button>
<p class="stars four-stars">
<p class="stars three-stars">
<span class="visually-hidden">3 звезды</span>
</p>
<p class="hotel-rating">Рейтинг: 6,9</p>
Expand All @@ -252,7 +227,7 @@ <h3 class="hotels-item-title">GreenTree Inn</h3>
<p class="price-of-housing">От 1500 ₽</p>
<a class="more-button button" href="#">Подробнее</a>
<button class="button button-action select-card-button">В избранное</button>
<p class="stars four-stars">
<p class="stars two-stars">
<span class="visually-hidden">2 звезды</span>
</p>
<p class="hotel-rating">Рейтинг: 5,0</p>
Expand Down Expand Up @@ -293,7 +268,7 @@ <h2 class="subscribe-header subscribe-header-hotels">Подпишитесь на
<form class="subscribe-form subscribe-form-hotels" action="https://echo.htmlacademy.ru/" method="post">
<label class="visually-hidden" for="e-mail-subscribe">Поделитесь с нами почтой</label>
<input class="subscribe-e-mail" id="e-mail-subscribe" type="email" name="subscribe-e-mail"
placeholder="Ваш e-mail">
placeholder="Ваш e-mail" required>
<button class="button submit-button" type="submit">Подписаться</button>
</form>
</section>
Expand Down
13 changes: 13 additions & 0 deletions images/ikons_logos/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/ikons_logos/checkbox_input.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/ikons_logos/cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/ikons_logos/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/ikons_logos/minus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/ikons_logos/plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/ikons_logos/stars.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h2 class="subscribe-header">Подпишитесь на рассылку</h2>
<form class="subscribe-form" action="https://echo.htmlacademy.ru/" method="post">
<label class="visually-hidden" for="e-mail-subscribe">Поделитесь с нами почтой</label>
<input class="subscribe-e-mail" id="e-mail-subscribe" type="email" name="subscribe-e-mail"
placeholder="Ваш e-mail">
placeholder="Ваш e-mail" required>
<button class="button submit-button" type="submit">Подписаться</button>
</form>
</section>
Expand Down
Loading

0 comments on commit 4276813

Please sign in to comment.