You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tasks/html-css-popup.md
+24-7Lines changed: 24 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,40 @@
8
8
> **Hooli** is a fictitious corporation from
9
9
> [Silicon Valley TV series](https://www.imdb.com/title/tt2575988/).
10
10
> Many believe it impersonates Google or Apple.
11
-
> Hooli on [Silicon Valley famdom wiki](https://silicon-valley.fandom.com/wiki/Hooli).
11
+
> Hooli on [Silicon Valley famdom wiki](https://silicon-valley.fandom.com/wiki/Hooli).
12
12
> It is also represented [on the web](http://www.hooli.xyz/).
13
-
13
+
14
14
The goal of this task is to practice coding HTML & CSS from mockup. You are expected to deepen your knowledge of HTML & CSS and discover new previously unknown features.
15
15
16
16
## Requirements
17
+
17
18
- no JavaScript, only HTML/CSS, use of preprocessors is allowed
18
19
- no external libraries or frameworks
19
20
- browser support: Chrome only (feel free to use latest features)
20
21
- the popup is expected to have three states depending on user actions:
21
22
- initial state: popup menu is not visible
22
-
- upon click on  button
23
-
the popup menu gets visible or gets hidden if already open
24
-
- click on "More" button adds 3 to 10 more icons and
23
+
- upon click on  button
24
+
the popup menu gets visible or gets hidden if already open
25
+
- click on "More" button adds 3 to 10 more icons and
25
26
makes the content of the popup scrollable
26
27
- mobile view is irrelevant for this task
27
28
29
+
## Recommendations
30
+
31
+
- Make sure that your navigation is built with all semantic [rules](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav).
32
+
- We recommend watching a [video](https://www.youtube.com/watch?v=E6kLaaQFctU&ab_channel=VadimMakeev) about hiding checkbox good parts.
33
+
- Try to style your elements by classes (not by ID and HTML tags).
34
+
- Don't forget to set the `alt` attribute for the `img` tags (if you used them).
35
+
- No need to add a lot of files (inc. icons, gitignore, configs, etc) to your PR. HTML and CSS files would be enough for checking your work.
36
+
- Avoid external scripts for the font icons.
37
+
- Check your preview in the [validator](https://validator.w3.org/).
38
+
- Make sure you've added empty lines in each file from your PR - [reason](https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline).
39
+
If you forget to add an empty line at the end of the file GitHub will show it:
0 commit comments