-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add homework (popup) #260
Add homework (popup) #260
Conversation
Hey! Congratulations on your PR! 😎😎😎 Let's do some self-checks to fix most common issues and to make some improvements to the code before reviewers put their hands on the code. Go through the requirements/most common mistakes listed/linked below and fix the code as appropriate. If you have any questions to requirements/common mistakes feel free asking them here or in Students' chat. When you genuinely believe you are done put a comment stating that you have completed self-checks and fixed code accordingly. Also, be aware, that if you would silently ignore this recommendation, a mentor can think that you are still working on fixes. And your PR will not be reviewed. 😒 Please, make sure you haven't made common mistakes. Universal recommendations:
Also take a note of the requirements above and follow them in all your future projects. By the way, you may proceed to the next task before this one is reviewed and merged. Sincerely yours, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work!
<input type="checkbox" id="popup-button" class="popup-input"> | ||
<label for="popup-button" class="popup-label"></label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your menu icon is not accessible from the keyboard, please fix it. Watch video
<label for="popup-button" class="popup-label"></label> | ||
<div class="popup-menu"> | ||
<div class="div-for-menu"> | ||
<a href="#" class="popup-item"><img src="/images/calendar.png" alt="Calendar"> |
There was a problem hiding this comment.
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 Как правильно написать alt-текст
<a href="#" class="popup-item"><img src="/images/mail.png" alt="Mail"> | ||
<p>Mail</p> | ||
</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have a nested navigation use a nested list of links:
<nav>
<ul>
<li><a href="#">Link-1</a></li>
<li><a href="#">Link-2</a></li>
<li><a href="#">Link-3</a></li>
<li><ul>
<li><a href="#"></a>Link-1</li>
<li><a href="#"></a>Link-2</li>
<li><a href="#"></a>Link-3</li>
<li><a href="#"></a>Link-4</li>
</ul></li>
<li><a href="#">Link-5</a></li>
</ul>
</nav>
|
||
|
||
|
||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid too many unused lines in your code.
|
||
|
||
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an empty line at the end of each file. Reason
<details> | ||
<summary class="more-button">More</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hide button More
when the second part of the popup is open.
/* .popup-input:after { | ||
|
||
content: url("/Popup-icons/popup-button.png"); | ||
} */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid commented code in your code
text-align: center; | ||
} | ||
|
||
.bell img { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid styling by HTML tags except if you add base styles. Reason Avoid too specific CSS selectors. Read about it
<a href="#" class="popup-item"><img src="/images/tanslation.png" alt="Translate"> | ||
<p>Translate</p> | ||
</a> | ||
<a href="#" class="popup-item"><img src="/images/videos.png" alt="Videos"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix aspect ratio of icons. Read about this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work!
<div class="popup-wrapper"> | ||
<input type="checkbox" id="popup-button" class="popup-input"> | ||
<label for="popup-button" class="popup-label"></label> | ||
<div class="popup-menu"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This issue has been automatically marked as stale because there were no activity during last 14 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. А. Чому так? Б. Що робити, якщо в піарі нема оновлень, оскільки не зрозуміло, що треба зробити? В. А якщо я все зробив(ла) і це ментор не рев'юває мої зміни?
Г. Хіба недостатньо того, що я додав(ла) коміт із змінами? Традиційна пропозиція: задай питання по вищенаписаному в студентському чаті. |
popup homework
[Demo]About (https://sergey-kali.github.io/popup/) |
Code base
The code is submitted in a dedicated feature branch.
Only code files are submitted.
Please, review.