Excursion Step 5

In the Excursion exercise I cannot get the binoculars to display. Any ideas? Tried a bunch of different ways and nothing.

https://s3.amazonaws.com/codecademy-content/projects/excursion/index.html1 (binoculars are present in the example)

HTML

    <!-- Second supporting section -->
    <div class="supporting">
      <div class="container">
         <src img="https://s3.amazonaws.com/codecademy-content/projects/excursion/binoculars.png"/>
        <h2> Availble for Iphone and Android </h2>
        <div class="button2"><a href="www.google.com"> Download Excursion </a>
        </div>
      </div>
    </div>


CSS

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

.container {
  max-width: 940px;
  margin: 0 auto;
}

.main {
  position: relative;
}

.main video {
  width: 100%;
}

.main .content {
  position: absolute;
  top: 200px;
  width: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.main h1 {
  font-size: 50px;
  text-shadow: 0 2px 3px rgba(0,0,0,.4);
  color:white;
  text-align:center;
}

.button a{
  color:white;
  text-decoration:none;
}

.button {
    background: blue;
    border: none;
    padding: 15px 32px;
    text-align: center;
    display: table;
    font-size: 20px;
  	margin:auto;
   margin: 0 auto;
  
  	
}



.supporting {
  margin-top: 100px;
  margin-bottom: 130px;
}

.supporting h2 {
  font-size: 48px;
  font-weight: 300;
  text-align:center;
}

.supporting p {
  color: #333;
  font-size: 21px;
  font-weight: 300;
  padding: 0 30px;
  text-align:center;
}

.feature {
  height: 580px;
  background-image: url("https://s3.amazonaws.com/codecademy-content/projects/excursion/camp.png");
  background-size: cover;
  background-repeat:no-repeat;
}

.button2 a{
  color:white;
  text-decoration:none;
}

.button2 {
    background: blue;
    border: none;
    padding: 15px 32px;
    text-align: center;
    display: table;
    font-size: 20px;
  	margin:auto;
   margin: 0 auto;
  	
}

 .container .suttporting img{
  text-align:center;
  height:75px;
  width:50px;
  margin: 0 auto;
}





.footer {
  padding: 30px;
   background:#eeeeee; 
}

.footer p{
  font-size:12px;
  color:grey;
}

@media (max-width: 960px) {
  .main {
    height: 540px; 
  }
  .main video {
    height: 540px; 
    width: 960px;
  }
  .main h1 {
    font-size: 32px;
  }
}

supposed to be

<img src="img-url"/>

wow…Need to be way more attentive. Thank you very much.

1 Like

Hey equis123!

You also need to make a correction in your CSS:

 .container .**suttporting** img{
  text-align:center;
  height:75px;
  width:50px;
  margin: 0 auto;
}

It should be like this:

.supporting .container img
1 Like