Skip to content

Commit

Permalink
fixed mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
ATkachenkoA committed Jan 10, 2025
1 parent 922bce2 commit de5f456
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<!-- #region head -->
<!doctype html>
<html lang="en">
<head>
Expand All @@ -13,7 +12,6 @@
href="./style.css"
/>
</head>
<!-- #endregion -->
<body>
<div class="stars stars--0">
<div class="stars__star"></div>
Expand Down Expand Up @@ -62,6 +60,5 @@
<div class="stars__star"></div>
<div class="stars__star"></div>
</div>
<h1>Stars</h1>
</body>
</html>
6 changes: 5 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* add styles here */
body {
margin: 0;
}

.stars {
display: flex;
margin-right: 0;
}

.stars__star {
Expand All @@ -17,6 +17,10 @@ body {
margin-right: 4px;
}

.stars__star:last-child {
margin-right: 0;
}

.stars--1 :nth-child(1),
.stars--2 :nth-child(-n + 2),
.stars--3 :nth-child(-n + 3),
Expand Down

0 comments on commit de5f456

Please sign in to comment.