Just started and already stuck


#1

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>

#2

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.


#3

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

Thats what I put last.


#4

Any body got any ideas please?


#5

Hey,

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

Thanks


#6

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


#7

Paste in ALL your HTML code


#8

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


#9

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


#10

you’ve lost me
Say again?


#11

You’re on this lesson: correct?

https://www.codecademy.com/courses/learn-css-selectors-visual-rules/lessons/css-setup-selectors/exercises/add-css-file?action=lesson_resume&course_redirect=learn-css


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


#12

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


#13

Okay,

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

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


#14

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


#15

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:


#16

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


#17

Thanks,
Am now stuck again !

This time its,

CSS SETUP AND SELECTORS
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

#18

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


#19

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:


#20

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.

<body>
   <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>