#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Location
    NYC
    Posts
    16
    Rep Power
    0

    Having trouble with a codecademy course on CSS


    The first part of the lesson. Using the "class" attribute to change the color of a whole short paragraph is easy enough, but I'm having trouble with the second task. Which is instructing I only change part of a paragraph.

    Here's the link to the lesson: http://www.codecademy.com/courses/css-coding-with-style/2#!/exercises/1
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    867
    Rep Power
    275
    to only change part of the paragraph, you would use the span tag around the part of the paragraph you want to change. [along with your class="blue" inside the span tag]
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Location
    NYC
    Posts
    16
    Rep Power
    0
    Originally Posted by DonR
    to only change part of the paragraph, you would use the span tag around the part of the paragraph you want to change. [along with your class="blue" inside the span tag]
    Thanks I ended up working it out

IMN logo majestic logo threadwatch logo seochat tools logo