How can someone create a clickable button without it being underlined with nice background? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How can someone create a clickable button without it being underlined with nice background?

I created one; -The text was underlined -blue background does not work with white text Please help me solve these 2problems l'm still a beginner https://code.sololearn.com/WHG4j5qqdC03/?ref=app

9th Apr 2020, 5:03 PM
Sobi Mohammed
Sobi Mohammed - avatar
5 Answers
+ 3
button{ background-color: blue; font-size: 30px; border-radius: 10px; } a{ color: white; text-decoration: none; }
9th Apr 2020, 5:23 PM
ionuț cosmin
ionuț cosmin - avatar
+ 6
Mohamadou Dahirou , To remove underline you can use text-decoration property. By default anchor will have underline. a{ text-decoration:none; }
9th Apr 2020, 5:22 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 5
Please who can help me with this one
9th Apr 2020, 5:04 PM
Sobi Mohammed
Sobi Mohammed - avatar
+ 5
Big thanks to all
10th Apr 2020, 7:12 AM
Sobi Mohammed
Sobi Mohammed - avatar
+ 1
What you try to do? How the button should look? Blue bg and white text?
9th Apr 2020, 5:17 PM
ionuț cosmin
ionuț cosmin - avatar