Design a Button for your website


#1

Can someone help me with my code? I keep getting the error message oops, try again did you remember to set your link's text-decoration to none;? I will post the URL because Code Academy is not letting me copy and paste my code, and the website doesn't want to upload my screenshots

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


#2

but the exercise url is the same for everyone?

you surely must be able to copy paste code to the forum


#3

Try switching to Firefox/IE.


#4

For some reason Chrome wasn't letting me copy and paste, but I have no issues with Safari. Here is my code.

HTML

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>About Me</title>
	</head>
	<body>
		<img src="https://s3.amazonaws.com/codecademy-blog/assets/46838757.png"/>
		<p>We're Codecademy! We're here to help you learn to code.</p><br/><br/>
		<div>
<a href="https://facebook.com">Friend us on <span>Facebook!</span></a>
		</div>
	</body>
</html>


CSS

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

/*Start adding your CSS below!*/

div {
height: 50px;
width: 120px;
border-color: #6495ED;
background-color: #BCD2EE;
border-style: solid;
border-width: 2px;
border-radius: 5px;
margin: auto;
text-align: center;
}

a {
text-decoration: none;
color: red;
font-family: Arial;
}


#5

Did it worked!?
Do reply :slight_smile:


#6

Today when I submitted my code it worked. I didn't have to make any changes to my code. I guess it was just the browser.


#7

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