This forum is now read-only. Please use our new forums! Go to forums
what am i doing wrong
<html>
<head>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Right below is an image of the sun -->
<img id="sun" src="http://goo.gl/PmbqZa">
<img id="earth" src="http://goo.gl/41IWnf">
#earth {
position: absolute;
top: 25%;
left: 25%;
}
</body>
</html>
because it keeps poping up, Oops, try again. Did you add ‘position: absolute;’ to your #earth style?
Answer 555a4eebe39efef68300069f
4 votes
#earth { position: absolute; top: 25%; left: 25%; } this needs to go in your style.css page not index.html :)
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