# Extra leading or trailing white spae

**URL:** <https://forum.freecodecamp.org/t/extra-leading-or-trailing-white-spae/651370>\
**Category:** Curriculum Help\
**Created:** [November 18, 2023, 7:37pm UTC](https://forum.freecodecamp.org/t/extra-leading-or-trailing-white-spae/651370 "2023-11-18T19:37:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thobeka](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@Thobeka](https://forum.freecodecamp.org/u/Thobeka)\
**Post date:** [November 18, 2023, 7:37pm UTC](https://forum.freecodecamp.org/t/extra-leading-or-trailing-white-spae/651370/1 "2023-11-18T19:37:28Z")

</div>

```auto
<p>See more <a href="https://freecatphotoapp.com"> cat photos</a> in our gallery.</p>

```

I have this code above, and it says The text inside your anchor element has extra leading or trailing whitespace. The only space in the anchor text should be between the word `cat` and the word `photos`.

---

<div class="post-metadata">

**Author:** ![lasjorg](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lasjorg/32/280761_2.png) [@lasjorg](https://forum.freecodecamp.org/u/lasjorg)\
**Post date:** [November 18, 2023, 8:10pm UTC](https://forum.freecodecamp.org/t/extra-leading-or-trailing-white-spae/651370/2 "2023-11-18T20:10:04Z")

</div>

You do have an extra space in front of the `cat photos` text.

* * *

I’ve edited your code 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 it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (').

* * *

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the **Ask for Help** button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The **Ask for Help** button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [May 19, 2024, 8:10am UTC](https://forum.freecodecamp.org/t/extra-leading-or-trailing-white-spae/651370/3 "2024-05-19T08:10:12Z")

</div>

Closed on May 19, 2024, 8:10am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
