+ 3

Making the buttons 3d

Hello sololearners, How can I make tge buttons 3d?(f.e.:the buttons "Geographical"or "Cyrus the great ") https://code.sololearn.com/W7v7llaGg97k/?ref=app

30th Jul 2023, 4:24 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
14 odpowiedzi
+ 5
Use css property to change text color. - you can use HTML style attribute to add styles to an element to color - For example: <h1 style="color:red;">This is text</h1> <p style="color:yello;">paragraph.</p> Or -By using internal/external CSS : selector { color: value; } i.e p { color: blue; }
31st Jul 2023, 6:19 PM
Shree
Shree - avatar
+ 3
30th Jul 2023, 8:02 PM
Shree
Shree - avatar
+ 1
*PJ* thank you
30th Jul 2023, 8:21 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
+ 1
Yes the b tags should actually be ps I wanted them to be bold cause I thought it gives them heavier fonts as you said And thanks for another great recommendation
31st Jul 2023, 12:30 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
Why u are laughing. I suggested anything wrong?
30th Jul 2023, 8:26 PM
Shree
Shree - avatar
0
Wrong chat,sorry brother
30th Jul 2023, 8:29 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
I am outside rn so I couldn't concentrate
30th Jul 2023, 8:29 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
Ok. No problem. Happy Learning.
30th Jul 2023, 8:30 PM
Shree
Shree - avatar
0
Ty bro!
30th Jul 2023, 8:30 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
Faraz Haghbayan The only button in your page is the submit button at the bottom of the page. Also, I think you're misusing the <b> tag. There's a lot of them. maybe those should be <p> tags? You can set the font-weight for p tags in your css if you want heavier fonts. <b> tags are used to emphasize words, not as text-containers.
31st Jul 2023, 12:05 PM
Bob_Li
Bob_Li - avatar