How to uncomment h1 and p but not h2 in order
Hi @shukurenaitsgbb !
Welcome to the forum!
Please provide the challenge link and what you code you have tried so we can assist you.
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 (’).
As jwilkins.oboe said, we need to see your code and the challenge to know exactly what you’re referring to. But here is how to comment code in both HTML and CSS:
HTML:
<h1>My Title</h1>
HTML commented:
<!--- <h1>My Title</h1> -->
CSS:
h1 {
color: blue;
}
CSS commented:
/*h1 {
color: blue;
} */
Make sure you comment out both out seperate.
So yes like last reply. for both make sure the comment is around both the p and h1 element on open and closing
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.