# Link Issue Unit 2

**URL:** <https://forum.code.org/t/link-issue-unit-2/31465>\
**Category:** Coding and Debugging Help\
**Tags:** csd-unit-2\
**Created:** [October 16, 2019, 7:08pm UTC](https://forum.code.org/t/link-issue-unit-2/31465 "2019-10-16T19:08:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![keisa.carrhudson](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@keisa.carrhudson](https://forum.code.org/u/keisa.carrhudson)\
**Post date:** [October 16, 2019, 7:08pm UTC](https://forum.code.org/t/link-issue-unit-2/31465/1 "2019-10-16T19:08:29Z")

</div>

Below please find the link to my students’ website. We are having issues with her link to her main page (index.html) . I noticed on that page that both the closing body and html tags are pink. However, I do not know why. Please advise.  
[https://codeprojects.org/YSN2TVcJY3YHcLrSjFk4t5j31Td9osRslyWpkWxOD-s](https://codeprojects.org/YSN2TVcJY3YHcLrSjFk4t5j31Td9osRslyWpkWxOD-s)

[Posts in the debugging category need to have the following pieces of information included in order to help other teachers or our moderator team best help you. Feel free to delete everything in brackets before posting your request for debugging help.]

**Link to the project or level:** [replace with link to the curriculum or get the “Share” link to a project]  
**What I expect to happen:** [replace with a detailed description of the behavior you’re trying to create]  
**What actually happens:** [replace with a detailed description of what actually happens when the code runs including any errors or unexpected behavior]  
**What I’ve tried:** [replace with a detailed description of what you’ve already tried to do to solve the problem]

---

<div class="post-metadata">

**Author:** ![edavis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/edavis/32/4927_2.png) [@edavis](https://forum.code.org/u/edavis)\
**Post date:** [October 17, 2019, 12:58am UTC](https://forum.code.org/t/link-issue-unit-2/31465/2 "2019-10-17T00:58:33Z")

</div>

> [@Blank Page/Broken Link](https://forum.code.org/t/blank-page-broken-link/31466/2):
>
> Hello @keisa.carrhudson, It looks like the links are working when you open the site in its own page. Since I can’t see the code, it’s a little hard to see what the issue is. That being said, there is a common problem students have with their links within WebLab. If the student has any problems in their code within the pages linked to or linked from, then the link will go to a blank, white page, but work just fine when opened in its own tab. Have students check for any errors on either page. Tha…

---

<div class="post-metadata">

**Author:** ![asuarez](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@asuarez](https://forum.code.org/u/asuarez)\
**Post date:** [October 30, 2019, 2:38pm UTC](https://forum.code.org/t/link-issue-unit-2/31465/3 "2019-10-30T14:38:27Z")

</div>

I am having a similar issue with one of my students in Unit 2 Lesson 9.7  
I have looked at the pages and we still get the white screen. I have had other students try to debug and at this point, I don’t know how to help the student.  
Ideas on what next?  
Thank you

---

<div class="post-metadata">

**Author:** ![edavis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/edavis/32/4927_2.png) [@edavis](https://forum.code.org/u/edavis)\
**Post date:** [October 31, 2019, 12:28am UTC](https://forum.code.org/t/link-issue-unit-2/31465/4 "2019-10-31T00:28:43Z")

</div>

I’ve had this result when I’ve had errors on either the page I’m linking too as well as the site I’m linking from. It isn’t always pink code that’s causing the problem. You may need to go line by line to look for errors that may not be turning pink. If all else fails, feel free to post the link to the student work. Be sure to use the Share option to get the specific link to the project. We can help you debug! 🙂

---

<div class="post-metadata">

**Author:** ![kammie.dill](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kammie.dill](https://forum.code.org/u/kammie.dill)\
**Post date:** [October 31, 2019, 5:02pm UTC](https://forum.code.org/t/link-issue-unit-2/31465/5 "2019-10-31T17:02:35Z")

</div>

If you are referring to the link to the homepage that is on the Connectors.html page, it looks like the code is not correct. Here is what she has:

```
<a href="Connecters.html">Homepage</a>

```

so when you click on the link to the the Homepage, it is trying to open Connecters.html. You are already viewing Connecters.html. It should be:

```
<a href="index.html">Homepage</a>

```

I couldn’t see the code in [Code.org](http://Code.org), so I didn’t see an error. I was looking at the HTML by using the inspect element tool.

---

<div class="post-metadata">

**Author:** ![melynn](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/melynn/32/4925_2.png) [@melynn](https://forum.code.org/u/melynn)\
**Post date:** [November 1, 2019, 4:07pm UTC](https://forum.code.org/t/link-issue-unit-2/31465/6 "2019-11-01T16:07:57Z")

</div>

@kammie.dill is correct about the link back to homepage. It should go to “index.html”. The tags are pink because there is an extra opening h4 tag. If you close that tag (on line 17), the red disappears.

Here is the link to a remix of the project with the rules.html page corrected: [https://codeprojects.org/UI5V-kP65tyo7urGXiypOOQZsSQh0oD1AYWjeyvRJU0](https://codeprojects.org/UI5V-kP65tyo7urGXiypOOQZsSQh0oD1AYWjeyvRJU0)

Here were the common mistakes on the page.

- Closing tags should have the / first. There are several p/
- You don’t need a paragraph tag around a heading tag. I tell my students, “a text item is either a paragraph OR a heading but not both”
- The body and html should be the last two tags on the page.

Hope these tips help!  
Michelle

---

<div class="post-metadata">

**Author:** ![keisa.carrhudson](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@keisa.carrhudson](https://forum.code.org/u/keisa.carrhudson)\
**Post date:** [November 1, 2019, 6:26pm UTC](https://forum.code.org/t/link-issue-unit-2/31465/7 "2019-11-01T18:26:55Z")

</div>

Here is another one of my students’ websites that is having issues with the links working. Please help!

[https://codeprojects.org/6\_s7XjH4mj\_BRwwB2aEsKGNvuFsOwxjhWF-NQyBBdEE](https://codeprojects.org/6_s7XjH4mj_BRwwB2aEsKGNvuFsOwxjhWF-NQyBBdEE)

---

<div class="post-metadata">

**Author:** ![melynn](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/melynn/32/4925_2.png) [@melynn](https://forum.code.org/u/melynn)\
**Post date:** [November 1, 2019, 6:30pm UTC](https://forum.code.org/t/link-issue-unit-2/31465/8 "2019-11-01T18:30:30Z")

</div>

Hi Keisa,

First, great looking website! When I click on Best Teams and Best Brands they both work and then back to home from each of those pages work.

Was there a specific link not working?

Michelle

---

<div class="post-metadata">

**Author:** ![keisa.carrhudson](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@keisa.carrhudson](https://forum.code.org/u/keisa.carrhudson)\
**Post date:** [November 1, 2019, 7:20pm UTC](https://forum.code.org/t/link-issue-unit-2/31465/9 "2019-11-01T19:20:09Z")

</div>

Thank you!  
In the actual platform they do not work, it just goes to the white screen.

---

<div class="post-metadata">

**Author:** ![melynn](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/melynn/32/4925_2.png) [@melynn](https://forum.code.org/u/melynn)\
**Post date:** [November 1, 2019, 8:37pm UTC](https://forum.code.org/t/link-issue-unit-2/31465/10 "2019-11-01T20:37:17Z")

</div>

I believe the reason your links don’t work in the platform are the errors (red text in the code) that Web Lab is seeing. I think these errors come mostly from missing quotes on those very long web addresses for the images. So, the image tag should read  
 ![13%20PM](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/4/421d53d001fccf018221be6c73c0baf9c1940723.png)  
There are several images to fix. I think that is the primary mistake on those pages. When there is no longer errors in the code, I find the links usually work in Web Lab.

Michelle
