Shouldn't this HREF work?

Shouldn't this HREF work?


I want you to click the fa icon and go to my IG.

              <a href"">
                 <i class="fas fa-camera-retro fa-2x"> </i>


like i did here put to external pages instead

 <a href="#projects" type="button" class="btn btn-primary"><i class="fa fa-2x fa-suitcase">  Projets</i></a>


you forgot the = between href and "


yup…yup i did…

tx @KoniKodes


Now it’s purple though? lol how?
guess i’ll have to style it.


I’m not sure what is purple? you can style in css to say text-decoration: none. This will remove the link color and underline.


I used

a {
color: whitesmoke;


Sometimes the browser by default turns a visited link to purple. A link that hasn’t been visited is sometimes colored blue. This has to do with the browser’s default styling. You can change it by using pseudo-classes eg.

a:link {
  color: blue;

a:visited {
  color: pink;

a:hover {
  color: red;

For more on pseudo-classes check out MDN website below.

I hope that helps and happy coding!


I like that hover stuff.
I’m gonna check the docs on that lol
Tx @daiolupo


You welcome and yeah, :hover is pretty neat, you can also try it on a <p> element as well. Or any element. lol!