-
Notifications
You must be signed in to change notification settings - Fork 12
homework_1 #9
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
base: master
Are you sure you want to change the base?
homework_1 #9
Conversation
-add items for widget -add markup
| @@ -0,0 +1,104 @@ | |||
| body{ | |||
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.
You should add space after selector, same for all other cases
body {
| </head> | ||
| <body> | ||
| <div class="main"> | ||
| <img src="Paris.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.
Images should have alt attribute, either empty alt="" or with picture described in two words
|
|
||
| <div class="crt"> | ||
| <div class="degrees"> | ||
| <img src="degrees/12.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.
Please, use plain text instead of images, same for all other cases
| </div> | ||
|
|
||
| <div class="divider"> | ||
| <img src="divider.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.
Why not border-right/left?
| <span class="in"><img src="Thursday/Thursday.png"></span> | ||
| <span class="in"><img src="Thursday/Overcast.png"></span> | ||
| <span class="in"><img src="Thursday/18 o.png"></span> | ||
| </div> |
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.
You have a lot of similar html tags, <ul> would be better in this case
You should use more semantic tags
| padding-left: 40px; | ||
| padding-right: 50px; | ||
| margin-top: 80px; | ||
| display: inline-flex; |
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.
Keep in mind order of properties, group them by type
1 - layout (position, display)
2 - anything related to box model (width/height/margin/padding)
3 - styling for element (color, background, box-shadow)
4 - anything related to font
5 - other stuff, it also includes overflow, z-index
|
|
||
| } | ||
|
|
||
| .crt{ |
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.
More convenient names, I would use something like info in this case
-add items for widget
-add markup