How to make a link: https://my.wealthyaffiliate.com/training/how-to-ma...
Addition: When you grab your link, make sure to grab the http link after the "a href" part. There may be other links that start with http. Sometimes you'll see a link after IMG. That's not your affiliate link. That's a link to an image.
If you are not seeing any links and are just seeing "iframe" then you're probably looking at the wrong code and need to find something that says "text link" or similar in order to get the right thing you're looking for.
If you're dealing with Amazon, do your best to active "Stripe". It'll make everything a lot easier: https://my.wealthyaffiliate.com/training/updated-text-linking-for-amazon-affiliates/how-to-get-text-links-for-your-blog