Hi! how are you guys?? I just finished my first project and I’m so excited to share it with you!, it’s about women who changed design in the Bauhaus but they are not famous or recognized, it would be awesome if you can check it out and give me some feedback
Welcome to the forums @azulxc. Your page looks good. Some things to revisit;
Keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>).
The test script should be included, with all tests passing, when you submit your projects.
Your page passes 8/10 user stories. Click the red button to see which test(s) are failing and text to help you correct the issue.
As mentioned, codepen provides the boilerplate for you. It only expects the code you’d put within the body element in HTML. (No need to include the body tags). For anything you want to add to the <head> element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.
You have elements out of order. Everything the browser renders should be within the body element.
As previously mentioned, run your HTML code through the W3C validator.
There are HTML coding errors you should address.
Remember, an id must be unique within the document.
Headers should be in order. It’s not a good practice to start with an h4 header, then go to h1. Start with h1 and go down
I know I had those issues, I was working on them. I think I managed to fix almost everything mentioned before.
I tried to use an unique id but to pass some test I need to create differents id that are requested so I’m not really sure how to fix that and pass the users stories at the same time
Hi! Thank you for your feedback, I updated the code and I think I fixed it, I least I think its better now
I tried to use but CodePen showed me an error that said “Just HTML that goes in the goes here. Learn more.” so I removed it.
UPDATE: oh sorry, I thought you were mentioning to use that in CodePen, my bad! I just saw you were talking about when I don’t use CodePen
If I’m understanding you correctly, you need to have an id="tribute=link" to pass one of the user stories and you have a few tribute links. What you can do is for the first tribute add the id and a class. Something like id="tribute-link" class="tribute-link" and then for the other tribute-links that you have change the id to class. Then if you wanted to do any styling to the tribute links you would just use the class to style them all the same.
So, the id that needs to be unique is “tribute-link” wich I repeated a few times but I can have other id in the code, right? I’m confused here, I don’t think I undestood that very well.
Like, I can have “id=“main”” for example, its not that I need one unique id for the whole documment, right?. I feel like this is kind of dumb to ask hahah but I’m trying to make sure I understood correctly
Btw, sorry if my english is bad, it’s not my first language, I hope you can understand me!