Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Stuck on CSS code, please help

Featured Replies

Im learning CSS using codecaedmy, here is the task they have given me:

 

On the CSS tab:

Set your link's text-decoration to "none". Give it whatever color or font type you like!

my code

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-radius: 5px;
    margin: auto;
    text-align: center;
    
}
a{
    text-decoration: none;
    color: #8B6914;
}

 

what is wrong with my link text decoration I think I've put it in right...

Edited by Juelz

Looks right to me... what error are they giving you?

 

Also, they say "give it any colour or font type that you like"... do they require both of these? I know they said "or" but maybe adding a font family might help.

whats you html look like? maybe you're referencing something wrong

post your html ;) as kree8or said may be something wrong with html

 

 

when u ask any help always post full code

 

here in this case html + css

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.