Front-end Web Development
      Assignment for Week 2
    
    
      - Follow the steps in Assignment 1, up to where you link a CSS file (or use your work from last week).
- Duplicate the <p>element three times. There should be four<p>elements neighboring each other. You can keep the contents of the original<p>or change it around, but keep the<a>element inside them.
- Add a classattribute to the first and third<p>tag, with the valuestyle_one.
- Add a classattribute to the second<p>tag, with the valuestyle_two.
- Add a classattribute to the fourth<p>tag, with the valuestyle_one style_two.
- Add a classattribute to the<a>tag within the third<p>element, with the valuestyle_two.
- In your CSS file, add a rule that sets the colortogreenfor elements with classstyle_one.
- Add a rule that sets the colortoredfor elements with aclassofstyle_two.
- Add a rule that sets the colortoyellowfor elements with aclassofstyle_twothat are inside elements with aclassofstyle_one.
- Add a rule that sets the colortobluefor elements that have bothclassesstyle_oneandstyle_two.
- When you're done...
        
          - The first paragraph should be green
- The second paragraph should be red
- The third paragraph should be green with a yellow link
- The fourth paragraph should be blue
 
    Extra credit:
    
      - Create a new rule that selects elements that have a classofstyle_one, or elements that have aclassof bothstyle_oneandstyle_two. Add a declaration that sets theirdisplaytoinline. If done properly, paragraphs three and four should appear on the same line, right next to each other.
- Add declarations to your rule for elements with a classofstyle_twothat sets theirmargin-bottomto5em, theirbackgroundtogrey, and theirpaddingto20px.
    Solution