Learn HTML by Building a Cat Photo App - Step 2

i dont get idea how to right down code for cat Photoin html

Step 2 states as follows:

Below the h1 element, add an h2 element with this text:

Cat Photos

Code should be:


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

please give solution how to right it would be like

cat photo

The h1 to h6 heading elements are used to show the importance of the content written below them.

So, in this case, the h1 element contains the title of the project => the most important element.

After the title, the instructions direct you to write the next element, h2, of a lower importance, below the the title of the project.

An example of how it would look, using h1 and h2 is:

<h1>Social Network App</h1> 
<h2>My friends' photos</h2>

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

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

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

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