This forum is now read-only. Please use our new forums! Go to forums
What am i doing wrong?!
So I decided to try the Sun, Earth, and code activity, and about mid way in, I came across a problem that is happening through out my class and commonly too. I wrote
#earth-orbit { position: absolute; top: 50%; left: 50%;
width: 500px;
height: 500px;
margin-top: -250px;
margin-left: -250px;
border-width: 2px;
border-style: dotted;
border-color: white;
border-radius: 50%;
} But it says my position isn’t absolute. Why is this happening?!
Answer 5547b2559113cb69170001a7
Answer 5548f81586f552efb3000453
I already did that, as far as I can tell, it’s right. I feel like something’s wrong with code academy. For example, it claims I need to put the RBRACE on line 33 which is where #earth-orbit { is. It’s there, but code academy says otherwise.
Answer 5548f87986f5523898000093
To prove this farther, the instructions are to COPY the text it gives me which is the code in my original question. So either code academy gave me bad code or is bad code.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency