Just started and already stuck

I just started on CSS and am stuck already,not a good start I know.

Here is the question,
Take a look at index.html. Cut the CSS code in between the opening and closing tags and paste it directly in the new file called style.css.

Make sure to delete the remaining element (now empty) from index.html.

I have tried a few things but I cant get it right.

Any suggestions?

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>


Replace this line with your code.

<do not remove the three backticks above>

They asking you to delete the <style> </style> tags, if you have done that and you are still getting the error then paste in your code.


p {
color: red;
font-size: 20px;

Thats what I put last.

1 Like

Any body got any ideas please?

1 Like


Paste in all your HTML and CSS code along with the error message.


1 Like

P { color: red;
font-size: 20px;

Paste in ALL your HTML code

1 Like

I had to throw in the towel and click the get code button. I just could not work it out.
turns out I was so far off I would never have got it.
This is what is should have been.

p {
font-family: Arial;

I would never have got that

1 Like

I’m not talking about the tab style.css I’m talking about the content of index.html


you’ve lost me
Say again?

You’re on this lesson: correct?


Screenshot from 2017-09-19 13-23-06

see the two tabs ? index.html and style.css

You had to take the code from between the <style> </style> tags and paste it in the style.css tab

If you accidentally deleted ALL your code from index.html (which it sounds like what happened) then reset your exercise.

Screenshot from 2017-09-19 13-27-59
The little refresh like button at the bottom of the page will reset the exercise


no am on Linking the CSS File now.
I had to hit the get code button and give in.
I would never have got it.
I am getting stuck real easy so far on CSS, not good


Next time try and complete the lesson without clicking get code.

Rather take longer but fully understand and know what’s going on.


I get stuck easy as I dont understand half of it.
Took 5 days of mucking about and still couldnt get it.

1 Like

Keep doing your best and ask many questions, talking over a problem lets you understand fully the situation and how to solve it, sometimes in the process of discussing a coding problem with your peers you end up realizing a solution, this is known as “rubber-ducking” or “rubber duck debugging” :+1:

1 Like

Don’t give up! Asking questions is how we learn best! :smiley:

1 Like

Am now stuck again !

This time its,

Multiple Classes
Question is,
Now you can add the class to the title element. Navigate to index.html. On line 11, there is a

element that has a class of title. Add the uppercase class to this element.
Well I looked and on line 11 there aint?
I cant work this one out. Vacation World

Top Vacation Spots

By: Stacy Gray
Published: 2 Days Ago

how do I post the code as its seen? it wont come out right?

Hey @blackie72 so the preformatted coding text is available by highlighting your responses/replies and clicking the following button or surround your text by using backticks `

27 AM

Also the right advice or code review, isnt always this easy or quick, for future reference, share the lesson name, the webpage link, the step you are struggling on, also the code you tried and sometimes the error message that pops up. :thinking:

All of this information is really helpful for you to mull over and it introduces us to the problem so we can point you in the right direction in a timely manner :handshake: :tada:

1 Like

Here is the question,
Now you can add the class to the title element. Navigate to index.html. On line 11, there is a

element that has a class of title. Add the uppercase class to this element.

I have tried lots of things but nothing seems to work. Once again I am stuck with no idea short of giving in again and clicking “get code” to be able to move on.

   <img src="https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-2/explorer.jpeg" />
  <h1 class="title">Top Vacation Spots</h1>
  <h5>By: Stacy Gray</h5>
  <h6>Published: 2 Days Ago</h6>

  <p>The world is full of fascinating places. Planning the perfect vacation involves packing up, leaving home, and experiencing something new.</p>