Skip to content

Conversation

@YakovlevaNatasha
Copy link

-add items for widget
-add markup

prosto_nick added 2 commits June 28, 2019 01:44
-add items for widget
-add markup
@YakovlevaNatasha YakovlevaNatasha changed the title homework1, part1 homework_1 Jul 3, 2019
@@ -0,0 +1,104 @@
body{
Copy link

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">
Copy link

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">
Copy link

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">
Copy link

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>
Copy link

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;
Copy link

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{
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants