Tell us what’s happening:
Kodi ne qeder yaziram sehv cixir sebebi ne komeklik gostererdiz
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Book Inventory</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Book Inventory</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>Category</th>
<th>Status</th>
<th>Rate</th>
</tr>
</thead>
<tbody>
<tr class="read">
<td>The Hunger Games</td>
<td>Suzanne Collins</td>
<td>Dystopian Fiction</td>
<td><span class="status">Read</span></td>
<td>
<span class="rate three">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
<tr class="read">
<td>The Outsiders</td>
<td>S.E. Hinton</td>
<td>Young Adult</td>
<td><span class="status">Read</span></td>
<td>
<span class="rate two">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
<tr class="in-progress">
<td>To Kill Mockingbird</td>
<td>Harper Lee</td>
<td>Gothic</td>
<td><span class="status">In Progress</span></td>
<td>
<span class="rate one">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
<tr class="to-read">
<td>Blueback</td>
<td>Tim Winton</td>
<td>Nautical Fiction</td>
<td><span class="status">To Read</span></td>
<td>
<span class="rate">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
</tbody>
</table>
</body>
</html>
/* file: styles.css */
* {
box-sizing: border-box;
font-family: sans-serif
}
span {
display: inline-block;
}
tr[class="read"] {
background-image: linear-gradient(lightgreen, rgb(12, 222, 100));
}
tr[class="in-progress"] {
background-image: linear-gradient(khaki, gold);
}
tr[class="to-read"] {
background-image: linear-gradient(rgb(177, 99, 45) red);
}
tr[class="read"] span[class="status"] {
font-weight: bold;
border-radius: 1em;
border: 2px solid black;
background-image: linear-gradient(lightgreen, rgb(12, 222, 100));
}
tr[class="to-read"] span[class="status"] {
font-weight: bold;
border: 2px solid black;
background-image: linear-gradient(rgb(177, 99, 44) red);
}
tr[class="in-progress"] span[class="status"] {
font-weight: bold;
border-radius: 1em;
background-image: linear-gradient(khaki, gold);
border: 2px solid black;
}
span[class="status"], spam[class^="rate"] {
height: 30px;
width: 120px;
padding: 7px;
}
spam[class^="rate"] > span {
border: 2px solid #000;
border-radius: 50%;
margin: 0 5px;
height: 15px;
width: 15px;
background-color: gray;
}
span[class~="one"] span:first-child {
background-color: yellow;
background-image: linear-gradient(darkblue, teal);
}
span[class~="two"] span:first-child, span[class~="two"] span:nth-child(2) {
background-image: linear-gradient(darkblue, teal);
}
span[class~="three"] span {
background-image: linear-gradient(darkblue, teal);
}
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Mobile Safari/537.36
Challenge Information:
Build a Book Inventory App - Build a Book Inventory App