Help! White screen problem when i click on the my facebook icon


#1

I am building a personal portfolio webpage using Codepen. I created a facebook round shape icon with a href link of my facebook profile. When I clicked on the facebook icon, the response show white screen. I have tried to put other link address, the problem still exist. Anyone knows how to fix this problem?


#2

Can you add a link to your codepen?


#3

You will have to add target="_blank" to <a> tag


#4

here is my portfolio codepen link


#5

the problem still exist after adding target="_blank"


#6

You have target:"_blank" instead of target="_blank". (Equals sign = instead of colon :)

That works for me, but you should also make the icon the clickable text inside the <a> tag too:

<a href="https://www.facebook.com/YourFacebookPage" target="_blank">
  <i class="fa fa-facebook"></i>
</a>

#7

it really works. thanks a lot!