Text inside <a>
tag is blue and underlined. How to switch it off? I use JSX.
Asked
Active
Viewed 50 times
1 Answers
0
This is a pretty simple question. All you need to do is add CSS on the tag.
text-decoration: none;
color: black;
& if you want to use it in React it can go in the style tag like so
style={{
textDecoration: 'none',
color: 'black'}}

Amanda
- 239
- 1
- 5
-
-
-
@Quentin ye it does, as to why I put the second part, because I mixed css and jsx styling together. also i did correct the error AFTER i commented (which stack overflow also tracks) and i just didnt go back and edit my comment. Also you could've had a more helpful comment *shrugs* – Amanda Dec 23 '21 at 20:49