No css.file in the wohle lesson, stuck at background-repeat


#1


https://www.codecademy.com/en/courses/learn-html-css/lessons/adding-images/exercises/background-repeat


Unfortunately I do not see any css code. Till now I just could insert the demanded code but now it is stuck at "background-repeat: no-repeat". But the code should be correct, right?


.cover {
  background-repeat: no-repeat;
  }


#2

Close!

  1. In style.css, make sure that the background image of #cover element does not repeat.

This is what you're trying to link in the HTML document:

<div id="cover">

In CSS, an id always gets an " # ", whereas a class gets a " . "

Had the html code been <div class="cover"> , your answer would have been correct.


#3

D'oh! Thanks, that solves at least the problem with the progress. Anyway it is curious that there is no css...


#4

Hey scriptmaster78024, it appears some sort of system malfunction has occurred. The CSS files are missing for a few clients. They are working on the problem.

please file a bug report!


#5

Css missing for me too, this is annoying, when will it be fixed??


#6

Is it back for anyone? I got the code now:

body {
  background-color: #FFF;
  margin: 0;
  padding: 0;
}

#cover {
  height: 900px;
  position: relative;
  top: -55px;
  width: 100%;
  background: url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-8/htmlcss1-img_bicycles.jpeg") no-repeat center bottom;
  background-size: cover;
  background-attachment: fixed;
}

.navigation {
  background-color: rgba(255, 255, 255, 0.9);
  overflow-y: auto;
  position: fixed;
  left: 0;
  top: 0;
  text-align: center;
  width: 100%;
  z-index: 10000;
}

ul {
  padding: 0;
}

li {
  color: #14213D;
  display: inline-block;
  font-family: 'Abel', sans-serif;
  font-size: 16px;
  font-weight: 300;
  margin: 16px 20px;
  text-transform: uppercase;
}

#logo {
  color: #FCA311;
  font-family: 'Amatic SC', cursive;
  font-size: 32px;
  padding: 0px 50px;
}

.cover-content {
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  text-align: center;
  top: 280px;
  width: 70%;
}

h1 {
  color: #FFF;
  font-family: 'Amatic SC', cursive;
  font-size: 72px;
  line-height: 60px;
  padding: 20px 10px;
  text-align: center;
}

h2 {
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-size: 42px;
  font-weight: 300;
  text-align: center;
}

h3 {
  color: #14213D;
  font-family: 'Abel', sans-serif;
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
}

h4 {
  color: #FCA311;
  font-family: 'Abel', sans-serif;
  font-size: 24px;
  margin: 0px 0px 50px 0px;
}

p {
  color: #333;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 300;
}

a {
  text-decoration: none;
}

.btn {
  background-color: #14213D;
  color: #FFF;
  font-family: 'Amatic SC', cursive;
  font-size: 26px;
  padding: 14px;
  background-image: -webkit-linear-gradient(#FFD194, #BC1324);
}

.products {
  background: #EEEFF1;
  box-sizing: border-box;
  width: 90%;
  margin: 20px auto;
  padding: 20px 0px;
  text-align: center;
}

.product {
  display: inline-block;
  margin: 0px 2% 80px 2%;
  text-align: center;
  width: 45%;
}

.product img {
  width: 100%;
}

.blue {
  color: #14213D !important;
}

That's for Section 8, lesson "Adding Images, exercise 5 background: repeat"


#7

@scriptmaster78024 @mckennap_98 You should be able to see CSS again in your exercises. We had a slight mishap and just pushed out a fix.

Thanks for reporting!


#8

Thank you for fixing!


#9

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