Tribute page problems checking the tests at the end!

Tribute page problems checking the tests at the end!
0

#1

Tell us what’s happening:

So i have created the whole page and i am having a hard time understanding the instructions, i have placed all the id’s but i still dont get what they mean by describing with text what the image is!

Your code so far
this is my html code

<link href="https://fonts.googleapis.com/css?family=Lobster+Two|Nosifer" rel="stylesheet" type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet" type='text/css'>

<div id="main">
  <div id="img-div" class="center blur-box">
    <div  id="title" class="text-animation ">
        <h1> Attack on Titan </h1>
    </div>
    <img id="image" src='//discourse-user-assets.s3.amazonaws.com/original/3X/e/7/e7ff1c079403f45549cfb4cf655fec92398ebe87.png' alt="Attack on Titan background"
            onmouseover="this.src='https://preview.ibb.co/gwFPfp/image.jpg'"
        onmouseout="this.src='//discourse-user-assets.s3.amazonaws.com/original/3X/e/7/e7ff1c079403f45549cfb4cf655fec92398ebe87.png'">
  
  <h3> "This world is merciless, and it's also very beautiful." -    Mikasa Ackerman</h3>
  </div>

  <div id="tribute-info" class="text1 blur-box">
    <h2>What is Attack on Titan? </h2>
    <p>Attack on Titan (Japanese: 進撃の巨人 Hepburn: Shingeki no Kyojin, lit. "Advancing Giant") is a Japanese manga series written and illustrated by Hajime Isayama. The series began in Kodansha's Bessatsu Shōnen Magazine on September 9, 2009, and has been collected into 26 tankōbon volumes as of August 2018. It is set in a world where humanity lives in cities surrounded by enormous walls protecting the humans from gigantic humanoids that are referred to as titans. The titans vary in height and endlessly eat humans seemingly without reason.</p>
  
    <h2>What is this anime about? </h2>
    <p>Over 100 years before the beginning of the story on an alternate world, giant humanoid creatures called Titans (巨人 Kyojin) suddenly appeared and nearly wiped out humanity, devouring them without remorse or reason and only targeting them; they completely ignore other wildlife. What remains of humanity now resides within three enormous curtain walls: the outermost is Wall Maria (ウォール・マリア Wōru Maria); the middle wall is Wall Rose (ウォール・ローゼ Wōru Rōze, sometimes pronounced like rosé) and the innermost is Wall Sheena (ウォール・シーナ Wōru Shīna, alt. "Wall Sina"). Inside these walls, humanity has lived in uneasy peace for one hundred years, many people growing up without ever having seen a Titan. This all changes when one day, a giant 60-meter (200 ft)-tall Colossus Titan mysteriously appears after a strike of lightning and breaches the outer wall (which is 50 meters tall) of the Shiganshina district, a town at Wall Maria, allowing the smaller Titans to invade the district. An Armored Titan smashes clean through the gate in Wall Maria, forcing humankind to abandon the land between Wall Maria and Wall Rose, evacuating the remaining population into the inner districts. The sudden influx of population causes turmoil and famine.</p>

    <h2>Titans</h2>
    <p>The Titans are giant humanoid figures ranging between 3 and 15 meters (10 and 50 ft) tall and are usually masculine in body structure but lack reproductive organs. Although they do not appear to need food, they instinctively attack and eat humans on sight; it is mentioned that they derive their energy from sunlight. Furthermore, the Titans also do not have a proper digestive tract; once they have eaten their fill of human prey, Titans will vomit large, slimy balls, derisively referred to as "hairballs", as shown in the episode where the squad retakes Trost, half of a soldier named Marco is found engulfed in slime with several humans in one of these. Finally, their skin is tough and difficult to penetrate, and they regenerate quickly from injuries, except for a weak spot at the nape of their neck. </p>
    <h4>If you have time, you should read more about this incredible ANIME!<a href="https://en.wikipedia.org/wiki/Attack_on_Titan" target="_blank">Wikipedia Entry</a>     </h4>

>   </div>
> </div>
> 
> 
> 
> .blur-box {
>     background-color: #555;
>     box-shadow: 0 0 5px 5px #555;
> }
> p{
>   padding-left: 20px;
>   paddinig-right: 20px;
>   max-width: 950px;
> }
> h2{
>   padding-top: 20px;
>   padding-left: 20px;
> }
> h4{
>   padding-left: 20px;
>   text-align: center;
> }
> p{
>   font-family: 'Raleway', Times New Roman;
> }
> .center{
>   /*picture positioning*/
>   margin-top: 50px;
>   display: block;
>   margin-left: auto;
>   margin-right: auto;
>   width: center;
>   /*text*/
>   text-align: center;
>   background-color: rgb(217, 217, 217);
>   width: 1000px;
>   height: 600px;
> }
> .text1{
>   /*Background color*/
>   background-color: rgb(217, 217, 217);
>   /*Moving the text box*/
>   display: block;
>   transform: translate(-50%, 0%);
>   margin-left: 50%;
>   /*Text aligh*/
>   text-align: left;
>   width: 1000px;
>   height: 750px;
>   margin-bottom: 30px;
> }
> .text-animation{
>   transform: translate(-50%, 0%);
>   margin-left: 50%;
>   width: 1000px; 
> }
> .text-animation h1{
>   margin: 0;
>   padding-bottom: 0;
>   text-transform: uppercase;
>   font-size: 6em;
>   color: transparent;
>   background-image: url("https://preview.ibb.co/c6F389/atack.png");
>   background-repeat: repeat-x;
>   -webkit-background-clip: text;
>   background-position: 500px 150px; 
>   font-family: arial;
>   animation: bloodAnimate 35s linear infinite;
> }
> @keyframes bloodAnimate
> {
>   0%
>   {
>     background-position: left 0px top 0px;
>   }
>   
>   40%
>   {
>     background-position: left 400px top 0px;
>   }  
>     60%
>   {
>     background-position: left 500px top 0px;
>   }  
>   80%
>   {
>     background-position: left 600px top 0px;
>   }  
>   100%
>   {
>     background-position: left 800px top 0px;
>   }
> }

Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
Herer is my page


https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-tribute-page


#2

You are missing the id="img-caption"
You are missing an anchor element with id=“tribute-link” that links outside of the page
Your image should be of max-width relative to its parent

If you clear this you are good to go.


#3

The thing is that i dont want it to be the max width… i just think it looks horrible, if i add the id=“img-caption” it still wont be used anywhere so why do it? same thing with the tribute-link?


#4

Actually those were the requirements of the test,
Add this at the bottom or top of your html content ,

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

After you add this, you can test your page and you will see the errors, you have to pass all that to clear the test,

  1. The element should responsively resize, relative to the width of its parent element, without exceeding its original size.

Try using the “max-width” style property : expected ‘none’ to not equal ‘none’

This is one error


#5

I have added max-width as max-width:none;


#6

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.

Note: Backticks are not single quotes.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

In the future when you have a link to your code (i.e. Codepen or JSFiddle), there is no need to paste all of your code into your post.


#7

It says it should not be none, you should have max-width to 100% and make the image as a block element, then give it margin-left and margin-right to auto, it will position it to the center, try this you will clear two errors