.bottom line there is only one

so i clicked </> and it didnt add the 3 backticks on top but only 1?
there is only one bottom line, so why is it" .bottom-line" and not “bottom-line”

body {
  background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg);
  font-family: sans-serif;
  padding: 20px;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}

.established {
  font-style: italic;
}

h1, h2, p {
  text-align: center;
}

.menu {
  width: 80%;
  background-color: burlywood;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  max-width: 500px;
}

hr {
  height: 2px;
  background-color: brown;
  border-color: brown;
}

.bottom-line{
  margin-top: 25px;
}

h1, h2 {
  font-family: Impact, serif;
}

.item p {
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 18px;
}

.flavor, .dessert {
  text-align: left;
  width: 75%;
}

.price {
  text-align: right;
  width: 25%

}

Its really hard to understand what you are referring to or even asking. All you have shown is css. I am assuming its

.bottom-line

Because theres a bottom-line class in your html. If thats what you are asking?

Do you have any html to show us? is this a challenge?

I’ve edited your code 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 it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

I’m sorry, its a dumb question i think i know the answer to. sometimes i dont think before i fire stuff off.
if there is only 1 “bottom-line” property of an element in the code why is the period used before to indicate plural? thats what the period does , right ? indicates all selectors with the property of “bottom-line”?

a class of selectors, right. but there is only 1? so it doenst need the dot right? im starting to feel like i should just leave this question alone before I sound any more incompetent lol. thank you for your time

The blinking cursor needs to be on a line of its own when you do this. If there is already text on the line then the editor thinks you want to add inline code instead of a block of code and only gives you single backticks.

1 Like

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