8. Design a button for your website


#1

on exercise 5/6 of Design a Button for your website, I have text between my attributes, but it says to add text. However, the text does show up in the text editor. I signed in through safari as sometimes that works, but that didn't work either. Any suggestions?


#2

Hi,

can you post the code? When you paste it in the box, you have to highlight the code and click the </> button to format it correctly

Thanks

Keith


#3

I tried the following:


Link 1

Still saying no text between the !!!!!!


#4

Over it - going back to Code School. I know the code is typed in correctly, but it won't let me go past to the next lesson no matter what I try. Also, the CSS is set to text-decoration: none; Completely baffled.


#5

can you post the code like I mentioned above? Unfortunately I cannot see it so cannot advise you

Thanks

Keith


#6
<div>
 <a href="http://www.google.com/">Link 1</a>			
 </div>

#7

OK that looks right, can you post your CSS? It should be like this -

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;
    border-radius: 5px;
    background-color: #BCD2EE;
    margin: auto;
    text-align: center;
}

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

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

}

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

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

div a {
text-decoration: none;
color: #6495ED;
font-family: Arial;
}


#9

that is working for me, can you try refreshing your browser, and if that doesnt work quickly switch to a different browser and try it. Sometimes there is a cache issue with some browsers

Thanks

Keith


#10

THANK YOU -- I was sooo stuck!