Tell us what’s happening:
Describe your issue in detail here.
I’m confused about this code. Any suggestions would greatly help.
**Your code so far**
**Your browser information:**
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge:
Thank you. So basically the hint keeps saying “the main
element's opening tag should be above theh2` element. You have them in the wrong order.” I keep entering my code like this < h1 > catphoto app < main > Catphotoapp what am I doing wrong?
Can you show us your all your html code?
Enclose it using triple backticks like so:
paste code here
your have it in the wrong order.
The challenge said after the
h1 element not within it.
it should be
The code I’m entering keeps getting denied. It keeps saying it’s in the wrong order.
I’m trying to show the code I have but it’s not working.
Hi, this might help you format your code so others can see it.
When you enter a code block into a forum post, precede it with a separate line of three backticks and follow it with a separate line of three backticks. This will format the code.
You can also use the “preformatted text” tool in the editor (
</>) to add backticks around text.
this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
As a mod I can format any code you paste into the forum for you, but please try to format it yourself if possible.
Thank you for the visual. That helped me alot I am definitely a visual learner!
This is the code I’ve been entering. It says that it is in the wrong order.
In this lesson, you should only add the main element to the code. You should not remove any elements.
You also should not change the text of any elements.
I would recommend resetting the lesson by pressing the ‘restart step’ button and starting again.
Then please show me your new code if you are still stuck.
Thank you so much! Your advice finally clicked. I finally passed with flying colors!