Learn HTML by Building a Cat Photo App - Step 1

Tell us what’s happening:
can someone tell me what is wrong with this plz

Your code so far

<html>
  <body>

<!-- User Editable Region -->

    <CatPhotoApp>Hello World</CatPhotoApp>

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

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

Link to the challenge:

Hi @1reem
You are asked to replace the “Hello World” part with “CatPhotoApp”.
You can’t change html tags.

<h1>CatPhotoApp</h1>

I can see how “its text” might be understood as you did. The “text” you are asked to change here is the content inside the element, not the element name.

<someElementName>The text content</someElementName>

<p>This is a paragraph element with text inside it.</p>

You can actually make custom elements with Web Components but that isn’t taught in the curriculum.

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