Skip to content
Open
Show file tree
Hide file tree
Changes from 11 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
190 changes: 190 additions & 0 deletions submissions/Cashass/HTML-CSS-Popup/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Popup-menu</title>
<link rel="stylesheet" href="style.css" />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>
<div class="wraper">
<header class="header">
<div class="container">
<nav class="header__menu">
<ul class="header__lists">
<li class="header__list">
<a href="#" class="header__link">Mail</a>
</li>
<li class="header__list">
<a href="#" class="header__link">Images</a>
</li>
<li class="header__list header__link">
<input
type="checkbox"
class="header__input"
id="header__input"
/>
<label for="header__input" class="header__input-label">
<img
src="icon/menu.png"
alt="menu"
class="header__logo-menu"
/>
</label>
<div class="popup">
<ul class="header__lists-popup">
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Безпека.png"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use English for filenames.

alt="Безпека"
/>Безпека</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Календар.png"
alt="Календар"
/>Календар</a
>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read how and when to populate alt attribute value 6 simple rules for good alt-text

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I almost don’t understand, it says what not to write near decorative icons, and the text should be meaningful. Thank you.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I remove the entire description, leave only an empty alt?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make an alt description if the picture is relevant to the content. For decorative images, use alt, which is equal to an empty string

</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Калькулятор.png"
alt="Калькулятор"
/>Калькулятор</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Контакти.png"
alt="Контакти"
/>Контакти</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Контролер.png"
alt="Контролер"
/>Контролер</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Мапа.png"
alt="Мапа"
/>Мапа</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Новини.png"
alt="Новини"
/>Новини</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Нотатки.png"
alt="Нотатки"
/>Нотатки</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="popup-img"
src="icon/Поділитися.png"
alt="Поділитися"
/>Поділитися</a
>
</li>
</ul>
<input
type="checkbox"
class="sub__check-input"
id="sub__input"
/>
<label for="sub__input" class="sub__check-label">
Більше
</label>
<div class="sub__lists-popup">
<ul class="sub__lists">
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="sub__popup-img"
src="icon/Поради.png"
alt="Поради"
/>Поради</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="sub__popup-img"
src="icon/Пошта.png"
alt="Пошта"
/>Пошта</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="sub__popup-img"
src="icon/Месенджер.png"
alt="Месенджер"
/>Месенджер</a
>
</li>
<li class="popup__list">
<a href="#" class="popup__link">
<img
class="sub__popup-img"
src="icon/Синхронізація.png"
alt="Синхронізація"
/>Синхронізація</a
>
</li>
</ul>
</div>
</div>
</li>
<li class="header__list">
<a href="#" class="header__link">
<img
class="notification"
src="icon/bell.png"
alt="Повідомлення"
/>
</a>
</li>
<li class="header__list">
<a href="#" class="header__link">
<img class="avatar" src="icon/avatar.png" alt="Аватар" />
</a>
</li>
</ul>
</nav>
</div>
</header>
</div>
</body>
</html>
Loading