Failed to get image url from codepen

Hello guys help me,
I failed to get image url from code pen to add in my personal portfolio.
Thanks in advance.

Hi @19alema!

It would help to see your code.
Can you share your code pen link so we can see the problem?

So it sounds like you want to use image thumbnails of your previous projects in your portfolio.

If that is the case then you can take screenshots of your projects and host the images online somewhere and grab the image address from there. For my project I used dropbox because I already had an account but there are plenty of free hosting options.

Here what I did for my project so you can see how I incorporated the image address into my code.

But I would like to know more about how I can add the icon of say facebook in my code and actually how to take the screenshot of the image from code pen.

You can use font awesome icons.
You can use this link in your html

<link rel="stylesheet" href="" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />

You can then choose a facebook icon from their site. Copy the html code for that icon.

There are a few ways to do this but one option is to do it straight from your computer.


  • Codepen creates large and small screen shots of your pens that can be used in your portfolio. Access them from; (for the large screenshot)
    or (for the small screenshot)
    • where you replace userName with your codepen userId and slug with the id of one of your codepen pens and then copy that link into your portfolio
1 Like

codepen generates screenshots of your pens for you, could that be useful?

1 Like

Thank you but where should I access the links you have send me,
or you mean I should copy this link and paste them in a google search box and later change the name and the slug before searching for it , because I have tried all this options but I have still failed to get the image into my project.
What should I exactly need to do with the links you have send me to get the images in my portfolio.

What happened when you did this? I tried looking in your codepen but didn’t see that link in your portfolio.

Did you do something this?

<img src="" alt="Random picture">

 <img src="" alt="Tribute page">


Slug for tribute page:

Actually from there i just used tribute page as the slug because

Did you have an issue getting the other project slugs?

I have no words of how I can thank you, I finally got the trick.
Thank you very much.

1 Like

I thought the instructions (both mine and from the codepen blog) were pretty clear. Good you were able to work it out with some help.

Let us know when you’d like feedback on your portfolio.
Right now a quick looks shows it passes 8/10 user stories and is not responsive.

Thank you for that information.
But to be sincere I still find it hard to make the the page responsive, I mean what should I do to it to make the page responsive?
Thanks in advance.