Your div element should have a silver background.

我报名参加了fss,有个地方卡住了,请问,是什么状况?

图片描述

报错:
Your div element should have a silver background.

我右边的图片,明明给div 标成 silver了哈。
请看源代码
<pre lang="html>
<link href="https://fonts.googleapis.com/... rel="stylesheet" type="text/css">
<style>
.red-text {color: red;}
h2 {font-family: Lobster, Monospace;}
p {font-size: 16px;

font-family: Monospace;

}
.thick-green-border {

border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;

}
.smaller-image {width: 100px;}
.silver-background{background-color:silver;}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p>Click here for cat photos.</p>
<img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src="https://bit.ly/fcc-relaxing-c... 7dda9d5766f11d8f6050f068ec675d6a4 |
<div class="silver-background">
<p>Things cats love:</p>
<ul>

<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>

</ul>
<p>Top 3 things cats hate:</p>
<ol>

<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>

</ol>
</div>
<form action="/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
<label><input type="checkbox" name="personality" checked> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Energetic</label>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</pre>

阅读 3.4k
1 个回答

refesh,问题解决了。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
1 篇内容引用
推荐问题