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
19 changes: 13 additions & 6 deletions catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="./styles/styles.css" />
</head>
<body>
<header class="header">
<header class="header" data-test="header">
<nav class="navigation">
<a class="navigation__logo_link" href="./index.html">
<img
Expand Down Expand Up @@ -49,7 +49,7 @@
</div>
</header>

<main class="main__block">
<main class="main__block" data-test="main">
<section class="hotels">
<h1 class="hotels__title">Гостиницы Седоны</h1>

Expand All @@ -76,7 +76,11 @@ <h1 class="hotels__title">Гостиницы Седоны</h1>
</li>
</ol>

<form class="filter" action="https://echo.htmlacademy.ru">
<form
class="filter"
action="https://echo.htmlacademy.ru"
data-test="filter"
>
<fieldset class="filter__infrastructure">
<legend class="filter__legend">Инфраструктура:</legend>
<ul class="filter-form__list list">
Expand Down Expand Up @@ -214,7 +218,7 @@ <h1 class="hotels__title">Гостиницы Седоны</h1>
</form>
</section>

<section class="catalog">
<section class="catalog" data-test="catalog">
<div class="header catalog__header">
<h2 class="catalog__title">Найдено гостиниц: 38</h2>
<div class="catalog__block">
Expand Down Expand Up @@ -394,7 +398,10 @@ <h3 class="catalog__item_name">GreenTree Inn</h3>
</nav>
</section>

<section class="subscription subscription__catalog-bg">
<section
class="subscription subscription__catalog-bg"
data-test="subscribe"
>
<h2 class="subscription__title subscription__catalog">
Подпишитесь на рассылку
</h2>
Expand All @@ -411,7 +418,7 @@ <h2 class="subscription__title subscription__catalog">
</section>
</main>

<footer class="footer">
<footer class="footer" data-test="footer">
<section class="footer__social-media">
<h2 class="visually-hidden">Социальные сети</h2>
<ul class="footer__social-media-list">
Expand Down
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="./styles/styles.css" />
</head>
<body>
<header class="header">
<header class="header" data-test="header">
<nav class="navigation">
<a class="navigation__logo_link" href="./index.html">
<img
Expand Down Expand Up @@ -49,8 +49,8 @@
</div>
</header>

<main class="main__block">
<section class="hero">
<main class="main__block" data-test="main">
<section class="hero" data-test="hero">
<h1 class="visually-hidden">Welcome to the gorgeous Sedona</h1>
<img
class="hero__welcome"
Expand All @@ -61,7 +61,7 @@ <h1 class="visually-hidden">Welcome to the gorgeous Sedona</h1>
/>
</section>

<section class="about">
<section class="about" data-test="advantages">
<header class="about__header">
<h2 class="about__title">
Седона — небольшой городок в Аризоне, заслуживающий большего!
Expand Down Expand Up @@ -131,7 +131,7 @@ <h3 class="about__highlight-title">
</ul>
</section>

<section class="services">
<section class="services" data-test="service">
<header class="services__header">
<h2 class="services__title">
Приезжайте в Седону отдохнуть в комфорте и уюте!
Expand Down Expand Up @@ -197,7 +197,7 @@ <h2 class="search__title">Заинтересовались?</h2>
>
</section>

<section class="subscription">
<section class="subscription" data-test="subscribe">
<h2 class="subscription__title">Подпишитесь на рассылку</h2>
<p class="subscription__subtitle">
Только полезная информация и никакого спама, <br />
Expand All @@ -212,7 +212,7 @@ <h2 class="subscription__title">Подпишитесь на рассылку</h2
</section>
</main>

<footer class="footer">
<footer class="footer" data-test="footer">
<section class="footer__social-media">
<h2 class="visually-hidden">Социальные сети</h2>
<ul class="footer__social-media-list">
Expand Down
6 changes: 3 additions & 3 deletions modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="./styles/styles.css" />
</head>
<body>
<div class="modal__block hidden">
<div class="modal__block hidden" data-test="modal">
<section class="modal__content">
<h1 class="modal__title">Поиск гостиницы в Седоне</h1>
<a class="button__close_modal" tabindex="0">
Expand All @@ -23,7 +23,7 @@ <h1 class="modal__title">Поиск гостиницы в Седоне</h1>
id="arrival-date"
name="arrival-date"
type="text"
placeholder="Укажите дату"
placeholder="27 апреля 2020"
/>
</p>
<p class="arrival__subtitle">Мы не можем отправить вас в прошлое.</p>
Expand All @@ -37,7 +37,7 @@ <h1 class="modal__title">Поиск гостиницы в Седоне</h1>
id="departure-date"
name="departure-date"
type="text"
placeholder="Укажите дату"
placeholder="1 сентября 2023"
/>
</p>
<p class="departure__subtitle">
Expand Down
1 change: 0 additions & 1 deletion styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,6 @@ body {
color: #756157;
}
.modal__input::placeholder {
opacity: 60%;
color: rgba(0, 0, 0, 1);
}
.arrival__subtitle {
Expand Down