# Tribute Project question - links acting weird

**URL:** <https://forum.freecodecamp.org/t/tribute-project-question-links-acting-weird/278365>\
**Category:** General\
**Created:** [May 19, 2019, 6:49pm UTC](https://forum.freecodecamp.org/t/tribute-project-question-links-acting-weird/278365 "2019-05-19T18:49:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luckyemma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/luckyemma/32/115957_2.png) [@luckyemma](https://forum.freecodecamp.org/u/luckyemma)\
**Post date:** [May 19, 2019, 6:49pm UTC](https://forum.freecodecamp.org/t/tribute-project-question-links-acting-weird/278365/1 "2019-05-19T18:49:38Z")

</div>

I finished making my tribute page, and i’ve pass all the tests…but there’s something weird going on with my links. All the way on the bottom are my links, but I can’t figure out why it’s not on the same line as the text preceding the link. It’s acting as if I put a break or a hard return.

Here is the page: [https://codepen.io/luckyemma/full/YbQBWX](https://codepen.io/luckyemma/full/YbQBWX)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![ThomasCtnt](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/thomasctnt/32/113449_2.png) [@ThomasCtnt](https://forum.freecodecamp.org/u/ThomasCtnt)\
**Post date:** [May 19, 2019, 7:24pm UTC](https://forum.freecodecamp.org/t/tribute-project-question-links-acting-weird/278365/2 "2019-05-19T19:24:38Z")

</div>

Hey @luckyemma,

First of all congrats on completing the Tribute project, nice work ! 🙂

For your links issue, try putting a tag to contain around your link to contain it, like a `<p>` tag. This should solve your problem 😉

Cheers,

---

<div class="post-metadata">

**Author:** ![bradyvossler](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@bradyvossler](https://forum.freecodecamp.org/u/bradyvossler)\
**Post date:** [May 19, 2019, 7:45pm UTC](https://forum.freecodecamp.org/t/tribute-project-question-links-acting-weird/278365/3 "2019-05-19T19:45:51Z")

</div>

I would second this and take it a step further by putting each block of text (along with it’s relevant link) in a `<p>` tag like so:

```auto
<p>This timeline came from: <a id="tribute-link" href="https://myfriendmarie.weebly.com/timeline.html" target="_blank">myfriendmarie.weebly.com</a>.</p>
<br />
<p>If you have time, you should read more about this incredible human being on her <a id="tribute-link" href="https://en.wikipedia.org/wiki/Marie_Curie" target="_blank">Wikipedia entry</a>.</p>

```

this should make sure the link stays in the same line with the non-link text

---

<div class="post-metadata">

**Author:** ![luckyemma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/luckyemma/32/115957_2.png) [@luckyemma](https://forum.freecodecamp.org/u/luckyemma)\
**Post date:** [May 19, 2019, 8:33pm UTC](https://forum.freecodecamp.org/t/tribute-project-question-links-acting-weird/278365/4 "2019-05-19T20:33:39Z")

</div>

Thank you very much for the help! This indeed solved my problem. I had a feeling I needed something like this. I was thinking of adding a `<div>` tag instead of `<p>`, but my husband said, “you don’t just add divs wherever you want.” I shouldn’t have listened to him because `<div>` fixed the problem too (right after I tried `<p>`). I’m keeping `<p>` though since it makes it looks nicer. 🙂  
Again, thanks!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 9:50am UTC](https://forum.freecodecamp.org/t/tribute-project-question-links-acting-weird/278365/5 "2021-01-17T09:50:36Z")

</div>


