I couldnt tell the difference between the two lines of code. <a href="http://codepen.io/NerdBurglur/full/Vmrmqj/" <img src="https://s5.postimg.org/nf5nxyf93/15304182_1649919398638867_8795896090019587196_o.jpg>< /a>
i explained it the best i couldā¦ i was looking for a possible difference in the code. When i cut and pasted the 2 bits of code i was referring toā¦ it just posted it as working code i.e the images(idk if the links worked i didnt try).
btw thanks for the link to forum codeā¦ still learning. i will use triple ticks next time. And i also realize i wasnt specifc on what i was talking about. Im in the process of making a portfolio page, thats where i was trying to insert the code.
But it wasnāt working, and then you cut and pasted the example:
<a href="#"><img src="#"></a>
And switched the # for actual links, and then it worked, but you donāt know why?
Without seeing the originals, itās hard to say for certain why it happened, but it is pretty easy to sometimes accidentally write something like
<a href"=#">
and not noticed youāve switched the quote and the equals no matter how many times you look at itā¦If the copy and paste fixed it, Iād guess it was some small invisible typo like that causing the issue
You could try reading your code backwards to check for small invisible typos. It is a trick writers use to check their papers for grammatical and spelling errors. Small errors seem to be the death of new coders.
When you write your message you can use the </> icon to the right of the quotation marks and it will show the ābracketsā. { }, [ ], < > alternatively just use back ticks.
When you write your message you can use the </> icon to the right of the quotation marks and it will show the ābracketsā. { }, , < > alternatively just use back ticks.