Tell us what’s happening:
I am required to add a CSS comment with the text “FOOTER”. As I understand how a comment is written I did, but the code did not pass. May I know what is wrong in my code?
Your code so far
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53
Hi, @haahinnawy . Right now, I can’t see your code. At the top of your comment editor, there’s a button for inserting code that looks like this: </>. If you click on that, you can paste in what you were trying to do for this particular challenge.
Without giving you the answer, I can tell you that inserting comments in CSS is different than inserting comments in HTML. I can’t recall if the Cafe Menu lesson taught you how to do this previously or not, but if it didn’t, you can always Google to find out the correct format. To pass this challenge, you also need to make sure your comment has the word FOOTER exactly as written in the instructions (i.e. in uppercase).
My code was: <!--FOOTER-->
I realized from your message that the CSS comment is different. Looking for the right format my code now is: /*FOOTER*/
Still this did not pass the test. By the way, I cannot see the button you referred to in the first paragraph.
May I know how to pass this challenge?
Thank you again.
Thank you. I used the hot key as you said and the button did not show but when I wrote the comment in the format that I used last time it worked. It seems that something was holding the page from responding. Thanks again.