Portfolio Project Help Anchor tags

Portfolio Project Help Anchor tags
0.0 0

#1

Hi everyone, hoping to get a little help turning an image into a link in my portfolio project. I’ve tried nesting it in an anchor tag (as it sits currently) but it doesn’t seem to work. Here is my project https://codepen.io/MarcelPenn/pen/QroGmd and I’ve separated the piece of code I believe is giving me trouble, which is the GitHub icon…


#2

Add the target attribute to the anchor tag and assign it the value “_blank”. Codepen does not like direct links inside the frame, so the “_blank” opens a new window with the link.


#3

Problem solved in less than ten minutes lol. Worked perfectly, thanks!