Tell us what’s happening:
Why is my answer wrong?
Your code so far
<h1>"Hello World"<\h1> <h2>"CatPhotoApp"<\h2>
This is my answer. You show I don’t have an h2 closing tag. I DO
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362.
Challenge: Headline with the h2 Element
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Hello and welcome to the freeCodeCamp community~!
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.
this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
Now, to address your bug:
You are using the backslash
\ to close your tags, when you should be using the forward slash
I think you got it opposite. he’s using backslashes ‘\’ instead of forward slashes ‘/’.
Whoops! My mistake. Thanks for catching that!
no worries. I had to take a second look myself. haha