I’m stuck for good since yesterday, I don’t know what else to do. I’ve tried all the possibilities:
<p>Click here to view more <a href="https://freecodecamp.com">cat photos</a>.</p>
I’m stuck for good since yesterday, I don’t know what else to do. I’ve tried all the possibilities:
<p>Click here to view more <a href="https://freecodecamp.com">cat photos</a>.</p>
The same here, I couldn’t pass step 12
please post a link to the step
Hi @SamZ7
<p>
This is text, <a>this is text inside a p element and is also a link</a>
</p>
<p>
This is another text, <img src="workplace.jpg" alt="Workplace">the image before is also a link</a>. I hope this examples will help you to understand the anchor element syntax.
</p>
The p element is a block element (it sits in a new line, because it takes all the available space, from left to right)
and the anchor, a, element is an inline element (like a word or a white space, it sits side by side with other words and inline elements, and only takes the space that its content needs).
References:
Happy coding!