This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Sun, Earth, and Code Forum

View Course » View Exercise

2 points
993b2cc8cd71cb0b46c2e797eab98bed?s=140&d=retro
Submitted by
vamajojepa
about 4 years ago

repeated error message

I type the following per the instructions into the style.css:
#earth {
/* Style your earth */
position: absolute;
top: 25%;
left: 25%;
}

When I "save and submit the code" I get the following error:
Oops, try again! Did you add 'position: absolute;' to your #earth style?

The answer is YES! Why won't this work?


10 votes

permalink

dum bum bums lol :)

Look in the upper left corner of the workspace. U will be in index.html but you'll have 2 change it 2 style.css

Comment if u think minecraft rocks!!!!!!!!!!
and checkout my youtube channel called Yusef Khalil, please subscribe :)

210 points
51e6703a52f863df82003306_439004642
Submitted by
Yusef Khalil
almost 4 years ago

12 Comments

407c5982e0e8badddf1be7aed7dc591b?s=140&d=retro ceciliamoorcroft almost 4 years ago

Thank you!! This was driving me crazy. :)

51e6703a52f863df82003306_439004642 Yusef Khalil almost 4 years ago

np

530b7d7a80ff331f89002b17_562966846 Emma King almost 4 years ago

I had gotten that same answer!!! LOL!!! I could have literally kicked myself, except I was in bed. Thanks!!!

52d45f9c9c4e9dd9a400510b_354082081 StampyCatFan101 almost 4 years ago

I like minecraft and after my homework(CODING! :D) I will watch if herobrine lost his memory! LINK:https://www.youtube.com/watch?v=t045CRNptak

52d45f9c9c4e9dd9a400510b_354082081 StampyCatFan101 almost 4 years ago

sorry i need to use a link tool.

52d45f9c9c4e9dd9a400510b_354082081 StampyCatFan101 almost 4 years ago

THANK U SO MUCHHH

754e023c538261b0a05cc1b13a6ea814?s=140&d=retro Code Buster 1623 almost 4 years ago

i hate minecraft bleeeeeaaaa:(

2361c88b3a75e1c8671d0edf223644df?s=140&d=retro norrisman123 almost 4 years ago

yo dawwwwwwwwggggg wat it is homie, u fixed ma prob so i gezzz is is cool right

598082a75821228bae000076_643065602 Rachel over 3 years ago

MINECRAFT ROCKS!!!!!! :-D

B44bf4eb80d9fca5a9819928a891aaab?s=140&d=retro Crushinator8 over 3 years ago

Oh my God, I feel like a total idiot. haha Thanks for spelling that out for this n00b!

6a418bc23b0b849f476a4101425f2895?s=140&d=retro Jovan Polus about 3 years ago

Fucking die.

5600a04a86f552da290001b5_206782269 FairyHorse about 2 years ago

go mine craft


4 votes

permalink

I got it right! you just need to go to style.css and be sure to type the code inside this { }
#earth {
/* Style your earth */
position: absolute;
top: 25%;
left: 25%;
}

104 points
5135530607887013dc000435_392750628
Submitted by
Darth Code
almost 4 years ago


3 votes

permalink

Do it in style.css

94 points
528ccd7f548c35c7e4003a8d_364025287
Submitted by
Disa F
about 4 years ago

4 Comments

52936ac580ff33fc5c002d58_957424950 Drake about 4 years ago

dude!! how to add image of earth??

2d57f0c1c0fa9613e50bb10db1f70836?s=140&d=retro Be Da Man about 4 years ago

same problem wheres the help ?????

C635694571793e9e13e4dcf14430d70e?s=140&d=retro bemery2 about 4 years ago

me too. On the bright side, at least this is free, I usually have to spend money to get this frustrated.

40bc3d17d1a6a3c2d2802060749a8ba6?s=140&d=retro lexi_bacon123 almost 4 years ago

you write . You can just use what I used. This is what I put : . That's it! I got the img, id and src stuff from the given information above. All you have to do is find the website. :D


2 votes

permalink

OK, I figured it out, and I am soooooooooooooooo mad!!!! ALL YOU HAVE TO DO IS LEAVE IT BLANK!!! I tried everything and then I was like FORGET IT!!! Then I just deleted it then hit save & submit, and it was like way to go! And there was a start next lesson button! So, to answer your question,

just keep position: absolute; as it is and continue with your coding! Just leave it blank!

P.S. You should vote for my answer because it's the only one that actually works!!!

23 points
40bc3d17d1a6a3c2d2802060749a8ba6?s=140&d=retro
Submitted by
lexi_bacon123
almost 4 years ago


0 votes

permalink

Does anybody know the solution to this?

15 points
B77f9ee12281e502c081d06076682656?s=140&d=retro
Submitted by
Azimii
about 4 years ago

2 Comments

Ae1345825ad70ae1cc269f9dab038c5a?s=140&d=retro kenkon over 3 years ago

your not good enough for this yet. Learn the basics first.

52ed86cf7c82cacde60037f9_938551755 fizzy :* over 3 years ago

lol;P^ whz it to yhu?


0 votes

permalink

Help! "absolute" same problem.

43 points
A9800901cc09b9a0b95fbaa6cc5a6882?s=140&d=retro
Submitted by
mrizzi
about 4 years ago

2 Comments

Ae1345825ad70ae1cc269f9dab038c5a?s=140&d=retro kenkon over 3 years ago

your not good enough for this yet. Learn the basics first.

52ed86cf7c82cacde60037f9_938551755 fizzy :* over 3 years ago

puddh*kaa


0 votes

permalink

I had the same problem, I just went on and ignored the error and it worked.

298 points
53bc5bb69c4e9d7695000474_522027711
Submitted by
JoJokid120
about 4 years ago

5 Comments

A9800901cc09b9a0b95fbaa6cc5a6882?s=140&d=retro mrizzi about 4 years ago

I think that I have it... Click on the css tab on the top left, then add in the code. I was attempting to add it into the html tab....obviously a mistake

48892afb8221edbd5436e79369c5a38f?s=140&d=retro SweLabel almost 4 years ago

remove any blanks between ":" and "absolute"

Picture Veronica Helen Moon almost 4 years ago

Although you can totally make it work if you are using the HTML codes.... >_<

754e023c538261b0a05cc1b13a6ea814?s=140&d=retro Code Buster 1623 almost 4 years ago

thanks,Mrizzi

754e023c538261b0a05cc1b13a6ea814?s=140&d=retro Code Buster 1623 almost 4 years ago

!!!


0 votes

permalink

Some bug?

139 points
A95732025f7172e929acdcb9ee7df14c?s=140&d=retro
Submitted by
Jakub Skala
almost 4 years ago


0 votes

permalink

that happened to me as well!!!

214 points
52acc93e7c82cacb870073d7_622594380
Submitted by
Ibrahim Zaman
almost 4 years ago


0 votes

permalink

Now work well

139 points
A95732025f7172e929acdcb9ee7df14c?s=140&d=retro
Submitted by
Jakub Skala
almost 4 years ago


0 votes

permalink

how on earth did you get the code for the sun?

"

103 points
Ffbf58a9524c8a3694fbb889a9c681c3?s=140&d=retro
Submitted by
DominicR90
almost 4 years ago

1 Comment

52ca03f48c1ccc5fe300039b_979264823 Egzon Mustafa almost 4 years ago

Just take a look right there absolute and you will chack it


0 votes

permalink

I tried all the suggestions here. None of them worked. PLEASE HELP!!!

43 points
571fd72e5917ecd3b9000499_59502631
Submitted by
Sarah Lasair Berry
almost 4 years ago


0 votes

permalink

nothing works btw.. same problem

2 points
F1e2556f3f99f1bda6a745b7087ca5fc?s=140&d=retro
Submitted by
zahramirza
almost 4 years ago


0 votes

permalink

i need help with step 5/7 in orbit with style

52 points
52ebd985548c3580c3000cd0_353190154
Submitted by
Obed Aguilar
almost 4 years ago


-4 votes

permalink

kk here is a link to AWESOMENESS!!! video

309 points
52d45f9c9c4e9dd9a400510b_354082081
Submitted by
StampyCatFan101
almost 4 years ago

1 Comment

A155cddbccb2d3613249aa7706414f24?s=140&d=retro tactus72 over 3 years ago

what does this have to do with anything???