【问题标题】:can you identify the error? i am trying to debug the code but i cant see the error [closed]你能找出错误吗?我正在尝试调试代码,但我看不到错误 [关闭]
【发布时间】:2020-10-31 14:08:44
【问题描述】:

[ 任何人都可以识别错误]

【问题讨论】:

  • 在第 9 行添加结束 }
  • 请注意 Stack Overflow 不是调试服务。此外,错误已在错误消息中明确说明。最后,请注意代码和错误消息的图像是不可接受的,您的问题应该包含代码本身和文本中的错误消息。请查看How do I ask a good question

标签: html css frontend


【解决方案1】:

这是因为你没有用右大括号关闭 h1,p 选择器。 应该是这样的:

h1,p{
background-color:red;
}

/*然后是#top-cloud */

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-04-22
    • 2021-04-15
    • 2012-12-18
    • 2023-02-10
    • 1970-01-01
    • 2021-03-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多