-
Notifications
You must be signed in to change notification settings - Fork 62
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
Шаламова Лилия #16
base: master
Are you sure you want to change the base?
Шаламова Лилия #16
Conversation
🍅 Не пройден линтинг или базовые тесты |
🍅 Не пройден линтинг или базовые тесты |
🍅 Не пройден линтинг или базовые тесты |
🍅 Не пройден линтинг или базовые тесты |
🍏 Пройден линтинг и базовые тесты |
🍏 |
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.
Жаль, что не сделала красивую переключалку, а оставила серый input
:<
Также неплохо было бы убрать это дёрганье контента при появлении рамки.
Ещё попробуй пересмотреть цвета, а то этот жёлтый почти не видно на белом фоне.
Ну и вообще сделай интереснее... Вдруг я тебе 50 тысяч отдал за эту страницу, а ты мне такое сверстала... Я бы в суд подал)
@@ -0,0 +1,100 @@ | |||
main | |||
{ | |||
width: 900; |
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.
А пиксели куда пропали =)?
|
||
.category | ||
{ | ||
color: darkgrey; |
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.
Лучше в hex
цвета указывать =)
<p>Вывод котиков списком</p> | ||
<hr> | ||
<main> | ||
<div class="block"> |
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.
Опять div
'ы, где семантические тэги :< ?
<a href="" class="name">Безумная Бусяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяя</a><br> | ||
<a href="" class="category">Безумный</a> | ||
<div class="rating"> | ||
<span>☆</span><span>☆</span><span>☆</span><span>☆</span> |
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.
С переносами бы хоть их сделала)
<p class="cost">$100.99 <span class="cost">$150.99</span></p> | ||
</div> | ||
<div class="description"> | ||
Мяяяяяяя­яяяяуууу­уууууу­уууу­ууу­уууууууу­уууу­ууууууууу­ууууу |
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.
<div>
Я милая киса, и я обещаю всегда делать отступы и учитывать вложенность.
</div>
|
||
<div class="block"> | ||
<div class="photo"> | ||
<img alt="cat1" src="cats/4.jpg" width="270" height="270" title="Это Алиса"> |
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.
Ширину и высоту лучше задавать через классы, и вообще нужно указывать только одну сторону, иначе сломаешь пропорции
🚀 |
🍏 Пройден линтинг и базовые тесты |
🍏 |
</head> | ||
<body> | ||
<input type="checkbox" name="string" value="string" class="string"> | ||
<p>Вывод котиков списком</p> |
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.
label ?
<p>Вывод котиков списком</p> | ||
<hr> | ||
<main> | ||
<article class="block"> |
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.
обычно называют item
<section class="card"> | ||
<a href="" class="name">Лорд</a><br> | ||
<a href="" class="category">Пугливый</a> | ||
<section class="rating"> |
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.
section не семантично для данного элемента
</section> | ||
<p class="cost">$100.99 <span class="cost">$150.99</span></p> | ||
</section> | ||
<section class="description"> |
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.
Задаёт раздел документа, может применяться для блока новостей, контактной информации, глав текста, вкладок в диалоговом окне и др. Раздел обычно содержит заголовок. Допускается вкладывать один тег section внутрь другого.
для текста есть тег p
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.
тоже и к фото
span.cost | ||
{ | ||
color: #000; | ||
font: normal; |
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.
чет я незнаю такого значения у font
🍅 |
🍏 Пройден линтинг и базовые тесты |
Я делала без доп. задания |
🍅 |
🍅 Не пройден линтинг или базовые тесты |
🍏 Пройден линтинг и базовые тесты |
🍏 |
🍏 Пройден линтинг и базовые тесты |
🍏 |
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.
🍅
.cat-photo | ||
{ | ||
width: 100%; | ||
height: auto; |
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.
Зачем?
.cost | ||
{ | ||
color: red; | ||
font: bold 110% serif; |
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.
ставишь абсолютно любой шрифт семейства? Может задать конкретный шрифт, а потом уже указывать семейство?
.list:checked ~ main .item | ||
{ | ||
display: block; | ||
width: 95%; |
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.
почему 95?
margin: 5px; | ||
vertical-align: middle; | ||
width: 30%; | ||
height: auto; |
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.
Зачем?
<hr> | ||
<main> | ||
<article class="item"> | ||
<div class="photo"> |
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.
Не нашлось семантичного элемента?подсказка: я рассказывал про него
<section class="card"> | ||
<a href="" class="name">Безумная Бусяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяя</a><br> | ||
<a href="" class="category">Безумный</a> | ||
<div class="rating"> |
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.
Я бы хотел увидеть звездочки по которым можно нажимать
<span>☆</span> | ||
<span>☆</span> | ||
</div> | ||
<p class="cost">$100.99 <span class="cost">$150.99</span></p> |
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.
Есть семантичные элемента для удаленных текстов.
<div class="photo"> | ||
<img alt="cat2" src="cats/2.jpg" title="Это Лорд" class="cat-photo"> | ||
</div> | ||
<section class="card"> |
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.
Мне кажется, что section не очень здесь подходит, попробуй подобрать другой элемент
Посмотреть решение