meks
May 30, 2022, 9:34pm
1
Tell us what’s happening:
Describe your issue in detail here.
how do i do step 6?
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>
Cat Photos
</h2>
<!-- TODO: Add link to cat photos -->
<p>
Click here to view more cat photos.
</p>
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.62 Safari/537.36
Challenge: Step 6
Link to the challenge:
The step is to practice a prettier layout of code to put some indent to show the nested structure
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
</main>
1 Like
meks
May 31, 2022, 1:14pm
3
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
this is how it supposed to be?
@meks Nope, I’ve been troubled by step 6 also but tinahmgao explained it well. The problem is presented for us to make our code readable by humans easily. Aside from adding another line there are another way to make it easier to read. I don’t know if this make sense but imagine the table of contents of a book.
Original:
Cat Photos
Click here to view more cat photos.
Instructions:
-Indent the h2 element 2 spaces
-indent the comment 2 spaces
-indent the p 2 spaces
Uses the indent
Checker: “WRONG YOU LOOOSER”
Uses 2 spaces from the…spacebar
Checker: “AYOOOOOO”
Me: just annoyed that something so simple made me stop out of frustration yesterday
system
Closed
November 30, 2022, 4:07am
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.