Build a Tribute Page: why ids?

Build a Tribute Page: why ids?
0.0 0

#1

Tell us what’s happening:

Hi!

Why we use id’s instead of classes?
I thought that using ids for giving styles is not a good practice.

Thanks

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-tribute-page


#2

I think the id’s are there for the tests. You don’t necessarily have to target them in your CSS.


#3

oh, now I see.
Thank you


#4

I also wanted to ask, can I use not Pen but Project on CodePen? Because it’s not convenient for me, I can’t load an images and I have to come up where to store them.


#5

If I recall right you can use any environment other than the usual Pen. But you can only make one project with a free Codepen account.


#6

oh, I didn’t know about it. thanks