Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Newbie problem with linking stylesheet

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #277965
    terjemk
    Participant

    Hi!

    I am trying to code my very first html document from scratch and link an external stylesheet to it. After several hours trying to figure it out I need some help. No matter what I do I can not get the styles to effect my html file. When I post the html and css over at codepen, the styles are implemented. See: https://codepen.io/Terjemk/pen/BqOMqK

    I have set up my files in a folder called “test” where I have put the style.css in a folder called “css” and the image in a folder called “img”. The html file itself is in the top level folder “test”

    What am I doing wrong?

    Regards
    Terjemk

    #277966
    Paulie_D
    Member

    Sounds like a path issue.

    Codepen resolves these automatically so it’s not a good example.

    See: https://www.codecademy.com/en/forum_questions/553bcfc6d3292f7e1b000760

    #277967
    terjemk
    Participant

    Hi

    I found the answer:

    I had forgotten the closing bracket on the title element.

    Regards
    Terjemk

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.