Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMegan Gorbet
9,427 PointsI can't make my h2 text dark green when it's selected. My code is exactly the same as Nick's.
It's the same for hovering over the text. My code is correct, but it won't go through.
3 Answers
Nathaniel Satriya
2,560 PointsTry something like this?
h2:hover{
color: darkgreen /*or whatever hex value*/
}
Unless you mean the navigation (links), for which Nick's code is more like:
nav a.selected, nav a:hover{ /*Remember to give a link the selected class*/
color: /*your color*/
}
If you already have this in your code, then perhaps try refreshing the preview page.
Krishnendu Banerjee
1,005 Pointsuse this
h2 {
font-size: 0.75em;
margin: -5px 0 0;
font-weight: normal;
}
coder5837
1,535 Pointscan you answer my question now
Krishnendu Banerjee
1,005 Pointswell i need to see ur coding first to answer you back. i sent this code because it worked for me.
coder5837
1,535 Pointshttps://w.trhou.se/ng5g3x4qmq
this is my code
./com/teamtreehouse/KaraokeMachine.java:55: error: cannot find symbol
Song artistSong = promptSongForArtist(artist);
^
symbol: method promptSongForArtist(String)
location: class KaraokeMachine
1 error
and this is my error message
mitchell jordan
5,744 Pointsmake sure you create the class in "index.html"