Build a Cat Photo App - Step 4

Tell us what’s happening:

وضعت تعليق فوق عنصر

باستخدام لكن اختبار FreeCodeCamp ما زال يقول “Your comment should be above the p element.” حاولت نحط التعليق مباشرة فوق الفقرة، واستعملت النص بالضبط، وتأكدت من عدم وجود أخطاء أو أحرف إضافية، لكنه لا يزال يفشل.

Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>

<!-- User Editable Region -->

    
    <p>Everyone loves cute cats online!</p>
   
    
  
    <p>See more cat photos in our gallery.</p>
    <!-- TODO: Add link to cat photos -->
    

<!-- 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/142.0.0.0 Safari/537.36 Edg/142.0.0.0

Challenge Information:

Build a Cat Photo App - Step 4

the comment is BELOW the element not ABOVE, you need to put it ABOVE the p element

1 Like
<p>Everyone loves cute cats online!</p>


See more cat photos in our gallery.

The problem is still the same

please share your updated code, there is no comment in the code you shared

I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add the backticks.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').


    <p>Everyone loves cute cats online!</p>
   
    
  <p>See more cat photos in our gallery.</p>
    <!-- TODO: Add link to cat photos -->

that comment is not above the p element

reset the step, you should not have 2 elements
image

image

you have the wrong code there, use Reset button

Where is the wrong code?

here, this is wrong. Please use RESET button

1 Like

Hi buddy, can you tell me where do you need to add this comment line ?

After p tag or before it ?