I need help passing tribute page tests

Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.

Tu código hasta el momento

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Desafío: Construye una página tributo

Enlaza al desafío:

Hi @paooof !

We can’t assist without a link to your project.

Make sure to read the FULL error messages.
It will tell you what the problem is and how to fix it.

Before we get to the tests we need to fix two things.

No.1: Please keep the test suite in your html page.
No2: You are missing an end main tag and an end div tag.

Your starting code should look like this.

<main>
  <h1>bjork</h1>
  <div>
    <a> <img src=https://www.alohacriticon.com/wp-content/uploads/2004/09/bjork-foto-biografia.jpg alt="bjorkandbubbles"></a>
  </div>
</main>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

Now for the tests.

Test no.4:
Within the “img-div” element, I should see an <img> element with a corresponding id=“image”.

Inside this image tag you need an id="image"

<img  src=https://www.alohacriticon.com/wp-content/uploads/2004/09/bjork-foto-biografia.jpg alt="bjorkandbubbles">

Test no.6:
I should see an element with a corresponding id=“tribute-info”, which contains textual content describing the subject of the tribute page.

I would suggest googling
html element for sections of text

That will link you to the documentation for the element to use.
Look at the examples on how to use that element and place the id="tribute-info" in there.


I know you asked about just those two tests but I would suggest starting with test no.1 and working you way in order.

It will be much easier that way instead of jumping to different tests.

Hope that helps!

1 Like

excuse me for my intense here is tehe rest and the last step i don have idea our i lost https://codepen.io/fuentesp160/pen/MWmgEQz?editors=1111

Remember to keep the script tag in your page at all times. :grinning:

<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

Are you asking about test no.6?

i asking for 9 now haha ,how can keep in my profile because i don see that

For the test suite,

Place that code at the end of your html.

For your css, please do not use style tags.
Delete this in your html.

<style>
.responsive-img {


}

img {
  width: 300px;
}
</style>

And move this code to your css.

img {
  width: 300px;
}

I would also delete this

.responsive-img {
}

because you haven’t created a class by that name.
So right now it is not doing anything.


Here is test no.9
The img element should be centered within its parent element.

If you google
how to center an image css

then the first results will give you the answer you are looking for.

A big part of these projects is to learn how to research. :grinning:


But also, as I mentioned earlier, I would suggest going back to test no.1 and working in order.

It will be easier to go through the tests in order instead of jumping around.

Hope that makes sense!

1 Like

thanks a lot jessica , :slightly_smiling_face:

1 Like

hi again . i need help with the last step https://codepen.io/fuentesp160/pen/MWmgEQz

All of the tests are passing on my end.

Screen Shot 2021-06-30 at 10.31.13 AM

yes i just repeat the before challence , how do you tell me

.The tribute page I helped you with earlier is currently passing 2/10 tests.
And the survey form, is currently passing 3/17 tests.

I moved your last posts over here.

Whenever you have questions about the tribute page please write your replies in this post.

If you have questions about the survey form, then write your replies in your other posts.

It confuses forum users, if you are asking questions for different projects in the same discussion thread.

Hopefully that makes sense!

I’m having trouble with adding an atl to image on the src what am I doing wrong?

Hi @lawrencebrandonjr !

Welcome to the forum!

Please create your own post with a link to your codepen and people can assist you there.

Thanks!

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