Here is my code:
<a href=https://freecatphotoapp.com>cat photos</a>
After running the test, I keep getting the following message, ‘You need an a element.’ I have modeled this code after the examples, watched the video and read other forums, which explain that there needs to be an ‘a’ or a ‘:’ after https, which there is. What is missing? Thanks, I appreciate any help, I am new at this.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>
) will also add backticks around text.
Note: Backticks are not single quotes.
a link to the challenge would be much useful, but I think that your url doesn’t match the provided one - it is the most common occurrence
Okay thanks, here is the link to the challenge, sorry about that: https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements/
You are so very right! I double checked the URL and it didn’t match, thank you!
I’m experiencing the same challenge now. Please what should i do if my URL doesn’t match?
copy and paste the one in the challenge description instead of typing it?
Create an
a
element that links tohttp://freecatphotoapp.com
and has “cat photos” as itsanchor text
.
just copied it but there’s no option for paste on that text column
are you using a touch screen? then it is because the editor is not made to be used with a touchscreen, but it is iptimised for desktop. At this point you will just have to type each character carefully
My laptop is a touchscreen but i’m not using it for this coding. i carefully typed the link: http://freecatphotoapp.com
(just to be sure) but i’m still stuck
then your issue is not that. but it is impossible to see without seeing your whole code