通过构件猫咪照片应用程序学习html - 步骤6

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>

<!-- User Editable Region -->

<body>
<main>
    <h1>CatPhotoApp</h1>
          <h2>Cat Photos</h2>
          <!-- TODO: Add link to cat photos -->
          <p>See more cat photos in our gallery.</p>
</main>

<!-- User Editable Region -->

</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78

Challenge: Learn HTML by Building a Cat Photo App - Step 6

Link to the challenge:

简要描述您遇到的问题,以便您能得到帮助…

元素、元素和注释的缩进比下面代码中的元素多两个空格。使用键盘上的空格键在元素前面再添加两个空格,以便元素也能正确缩进。题目是这个样子的。可能是我理解题目有问题,不懂他所说的缩进。麻烦帮我看看 我的代码缩进哪出问题了,谢谢您了

使用键盘上的空格键在 p 元素前面再添加两个空格,以便它也能正确缩进。
h1, h2, p 和注释应该在一行

太感谢您了,已经通过测试了。我找这个错误好久

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.