Hello, I am doing freecodcamp’s tribute project and I am stuck on UserStory#8 & 9 Tribute Page Project
I am unsure as to why the selector is not responding in CSS. I have tried looking it up and it said SAAS has some incompatibility issues with ID selectors, but it did not resolve the issue even when I tried removing SAAS. Below would be a link to my CodePen: My CodePen
(my apologies for the untidiness of the project as it is still a work in progress)
If someone knows the issue/error, could you please explain the issue and how to resolving it so that I can improve?
In addition, I was also wondering as to why the universal selector, * doesn’t work?
Oh, I see! I suppose I was thrown off a bit due to the fact that I was relying on the color coding of the text editor.
I am still new to codepen, and I was wondering does the ID selectors stay in the same color? As in do they not change colors like the other elements i.e. body, nav, etc?
You are applying the styles to the img div instead of the actual image.
You need to move this over to the image selector and then add the margin property to center it.
Thank you for the correction for both my question and about the duplicate post earlier!
I wanted to confirm if I were to have related topic questions, do I attach it to the one of the forums? And if so, how do I add another question to a forum?
Thank you again for the clarification. Still fairly new to everything - coding, using freecodecamp’s forum, etc so it the correction and guidance helps.