Tell us what’s happening:
Why am I failing steps 35-38? I’ve tried all different symbol combinations
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">
</head>
<body>
<h1>Book Inventory</h1>
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>Category</th>
<th>Status</th>
<th>Rate</th>
</tr>
<tr class="read">
<td>Count of Monte Cristo</td>
<td>Alexandre Dumas</td>
<td>Adventure</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>Blood Meridian</td>
<td>Cormac McCarthy</td>
<td>Adventure</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>Secret History</td>
<td>I forget</td>
<td>Mystery</td>
<td><span class="status">To Read</span></td>
<td><span class="rate three"><span></span><span></span><span></span></span></td>
</tr>
</table>
</body>
</html>
/* file: styles.css */
tr[class="read"] {
background-image: linear-gradient(green, lightgreen);
}
tr[class="to-read"] {
background-image: linear-gradient(red, pink);
}
tr[class="in-progress"] {
background-image: linear-gradient(yellow, lightyellow);
}
td {
padding: 5px;
}
span {
display: inline-block;
}
tr[class="to-read"] span[class="status"] {
border: 2px solid darkred;
background-image: linear-gradient(pink, red);
border-radius: 20px;
padding: 4px;
}
tr[class="read"] span[class="status"] {
border: 2px solid darkgreen;
background-image: linear-gradient(lightgreen, green);
border-radius: 20px;
padding: 4px;
}
span[class~="status"],
span[class~="rate"] {
height: 15px;
width: 100px;
padding: 5px;
}
tr[class="in-progress"] span[class="status"] {
border: 2px solid orange;
background-image: linear-gradient(white, yellow);
border-radius: 20px;
padding: 4px;
text-align: center;
}
span[class^="rate"] > span {
border: 2px solid green;
width:15px;
height: 15px;
border-radius: 10px;
margin: 5px;
background-color: #f5f6f7;
}
span[class~="one"] span:first-child {
background-image: linear-gradient(yellow,lightyellow);
}
span[class~="two"] span:first-child, span[class~="two"] span:nth-child(2) {
background-image: linear-gradient(yellow,lightyellow);
}
span[class~="three"] span {
background-image: linear-gradient(yellow,lightyellow);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Challenge Information:
Build a Book Inventory App - Build a Book Inventory App