Hi! So I wrote the Metadata for the project and tried to run the test on it… I was confused, because most of my code appeared in red as I wrote it in, so I wondered if FreeCodeCamp was reading it as wrong somehow… Does the ‘Run the tests’ function only work for code directly related to the user stories? Obviously, when I run the tests, I am seeing I left blank all user stories so far, so I see a cross next to each user story (‘You should have an h1 element with an id of title, Your title should not be empty’ etc… ) But I just assumed ‘Run the tests’ would indicate if my Metadata codes were wrong, and I am confused at all the code being marked in red. I then wondered if I didn’t need the Metadata because of how FreeCodeCamp works, but I still had to have one to link my HTML file to its CSS with <link rel="stylesheet" href="styles.css"> but when I took off my entire Metadata and just left the linking HTML and CSS one, that particular line of code displayed in red for me… So are we meant to write the full Metadata as I did below? Is my code wrong and is this why everything seems to display in red? Am I just supposed to like my HTML with my CSS and dispense with the entire Metadata? And any clues on how the ‘Run the tests’ function works: am I using it wrong? As if I am, I’d need to learn how to use it, since this is my first Certification project but I hope to complete them all in time… Also, as I create this post, please note LESS of my code is displayed in red here, but on the main platform most of it is. Thank you!
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
Hi Teller, actually, these are the quotes that are placed by any browser I use on any device I use for HTML. When I type the = sign, my browser(s) go: "" , and it’s up to me to write the correct attribute in there. I have worked so far with five devices, at least four browsers, FreeCodeCamp and three code editors, and all do that for me. Reading your comment I checked, and apparently single quotation marks , like 'attribute' , work but according to Stackoverflow can be used interchangeably with double quotation marks. My point is, code editors totally accept my quotation marks and what I code properly displays on my webpages. And also, I have passed all steps on the four non-compulsory projects in FreeCodeCamp before the first certification project, so definitely, FreeCodeCamp accepts my quotation marks. I really am getting more a sense that maybe FreeCodeCamp is not accepting my Metadata, so my question is more: if I am trying to write code because it’s best practice but it isn’t part of the User Stories for the certification project, is this causing issues with FreeCodeCamp? Am I supposed to dispense with any Metadata, or maybe just link my HTML file to the CSS and dispense with the rest? Thank you!
I have used those on every project so far though, since these are the ones suggested by the browser when I am coding, and they systematically passed on the four projects before the certification project? This is still not telling me whether FreeCodeCamp would actually accept Metadata for certification projects themselves? I can make sure to take off the quotes they suggest and type my own… But that shouldn’t make a difference if FreeCodeCamp doesn’t want my Metadata in the first place…
My account is broken Jeremy: if I post a reply once, it doesn’t mark it as a reply. I post twice because I can find no way around this, in like one year since I’ve started using this forum.
OK but I don’t know who I should ask, who I should write to, in terms of getting that problem with not being able to reply to the person who posted from the first go: it’s one thing when the person I am talking to is online at the same time as me, but if they’re not and reply doesn’t tag them in the reply, then that breaks the flow of conversation. Who should I notify about this? Re the quotation marks, noted, I’ll try. Not sure how, since my browser seems intent on using THOSE quotation marks, but I’ll try manually. Thank you.
Maybe it’s my end that, as soon as I post, it looks like it wasn’t a reply. Maybe your end it shows that I am responding twice, in which case there’s no need for me to post twice indeed since the person was tagged first time, but that wasn’t what I was seeing my end. Is there a place, in the forum or anywhere else on the FreeCodeCamp, where it is explained how to fix the issue, if it’s my end, or pertaining to my account? And no, my devices are all either Windows 11 or Windows 10, I don’t own any Apple / Mac computer.
I had deleted my first post because it posted without replying to you, and I couldn’t get it to reply to you through just editing my post. Right now it seems to be working again, but I’ve had this problem since May. Since I think a lot of you guys are probably in the US and I’m in Europe, it’s a problem if the user I am talking to is not online when I reply, as they would miss my reply.