I tried to get help last night and just got a lecture on how to post even though it was well separated. So I am going to try to find help again. I have looked everything up and this is the last place I have to try to get it passed. I have everything else just not 46-51 that wont pass. the address is
this is the code html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Book Inventory</title>
<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 id="book-list">
<!-- Book entries will be dynamically inserted here -->
<!-- Example book entrie 1 -->
<tr class="read">
<td>Taming Demons For Beginners</td>
<td>Annette Marie</td>
<td>Fantasy</td>
<td><span class="status">Read</span></td>
<td>
<span class="rate three">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
<!-- Example book entrie 2 -->
<tr class="to-read">
<td>Lonen's War</td>
<td>Jeffry Kennedy</td>
<td>Fantasy</td>
<td><span class="status">To Read</span></td>
<td>
<span class="rate two">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
<!-- Example book entrie 3 -->
<tr class="in-progress">
<td>The Invisible Life of Addie LaRue</td>
<td>V.E. Schwab</td>
<td>Fantasy</td>
<td><span class="status">In Progress</span></td>
<td>
<span class="rate two">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
<!-- Example book entrie 4 -->
<tr class="read">
<td>The Priory of the Orange Tree</td>
<td>Samantha Shannon</td>
<td>Fantasy</td>
<td><span class="status">Read</span></td>
<td>
<span class="rate one">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
<!-- Example book entrie 5 -->
<tr class="to-read">
<td>The House in the Cerulean Sea</td>
<td>T.J. Klune</td>
<td>Fantasy</td>
<td><span class="status">To Read</span></td>
<td>
<span class="rate three">
<span></span>
<span></span>
<span></span>
</span>
</td>
</tr>
</tbody>
</table>
</body>
</html>
this is the css
html{
background-color: #000;
color: #fff;
}
tr[class="read"]{
background-image: linear-gradient(to right, #4e54c8, #8f94fb);
}
tr[class="to-read"]{
background-image: linear-gradient(to right, #ff758c, #ff7eb3);
}
tr[class="in-progress"]{
background-image: linear-gradient(to right, #00c6ff, #0072ff);
margin: 3px;
width: 15px;
}
span{
display: inline-block;
}
tr[class="to-read"] span[class="status"]{
border: 3px solid rgb(214, 234, 69);
border-radius: 4px;
background-image: linear-gradient(to right, #c55769, #ff7eb3);
padding: 16px;
display: inline-block;
text-align: center;
}
tr[class="read"] span[class="status"]{
border: 3px solid rgb(69, 234, 69);
border-radius: 4px;
background-image: linear-gradient(to right, #4e54c8, #8f94fb);
padding: 4px;
display: inline-block;
text-align: center;
}
tr[class="in-progress"] span[class="status"]{
border: 3px solid rgb(219, 171, 16);
border-radius: 4px;
background-image: linear-gradient(to right, #00c6ff, #0072ff);
padding: 16px;
display: inline-block;
text-align: center;
}
span[class="status"], span[class^="rate"] {
height: 20px;
width: 50px;
padding: 4px;
border: none;
}
span[class^="rate"]>span{
border: 2px solid #fff;
border-radius: 4px;
padding: 6px;
margin: 2px;
height: 10px;
width: 10px;
background-color: #fff;
}
span[class*="one"] span:first-child{
background-image: linear-gradient(to right, #891629, #ff7eb3);
}
span[class*="two"] span:nth-child(-n+2) {
background-image: linear-gradient(to right, #891629, #ff7eb3);
}
span[class*="three"] span {
background-image: linear-gradient(to right, #891629, #ff7eb3);
}
I hope that this is edited right so I can get the help with what Might be wrong. I separated the code last time so that it was easier to compare them maybe that is was upset them. I honestly don’t know I just need to know what I am doing wrong since I have done everything I can think of and it works from what I can tell when I debug it. I have even put it in vs code and it says that it should pass. Help please.
