Identifying you IDS?


#1

https://www.codecademy.com/courses/web-beginner-en-jNuXw/0/7?curriculum_id=50579fb998b470000202dc8b

Help!! I can't seem to find a mistake in my code but the computer says there's a mistake.



#2

can you include a screen shot or paste your code so I can see where you are having issues? Have you already set your list of friends and enemies with the proper id's? if so you go to your style,css folder and add styling for your id's
which would look like this

#enemies{
border: 1px red solid;
color: red;
background: yellow;
}
#friends{
color:blue;
border: 1px blue solid;
}

now that is not the settings they want you to give but it is an example on how to style by id. if you were styling class you would you a dot followed by the class name and then your style like this:

.friends{
color:blue;
background:green;
}

#3


#4

check your closing curly brace on line 20 fix that and it should fix your issue


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.