Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Framework Basics Prototyping with Foundation Build an Orbit Content Slider

Challenge Task 3 of 3

Challenge Task 3 of 3

Finally, we want to change the 'Hire Me!' button's background color to green. Give it Foundation's class for creating green buttons.

I dont know what i am supposed to do help please? my code is below

<!DOCTYPE html>
    <title>My Website</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/normalize.css" rel="stylesheet" media="screen">
    <link href="css/foundation.min.css" rel="stylesheet" media="screen">
    <link href="css/my-styles.css" rel="stylesheet" media="screen">

    <!-- Content Slider -->
    <div class="row">
      <div class="large-12 columns" data-orbit> 
          <h1>I am a Front-end Designer</h1>
          <p class="lead">I design beautiful user interfaces, then bring them to life with HTML, CSS, and JavaScript.</p>
          <p class="radius button-group">
            <a class="button" href="#">See my work</a>
            <a class="button">Hire me!</a>
          <h1>I Also Write About the Web</h1>
          <p class="lead">I love teaching others about all the latest web in technology.</p>
          <p><a class="button radius" href="#">Read my posts</a>   
          <h1>Photography is My Favorite Hobby</h1>
          <p class="lead">I love photographing nature, people, and everyday things.</p>
          <p><a class="button radius" href="#">See my work</a></p> 
    </div><!-- End Content Slider -->

      document.write('<script src=' +
      ('__proto__' in {} ? 'js/vendor/zepto' : 'js/vendor/jquery') +
    <script src="js/foundation.min.js"></script>

1 Answer

Jason Desiderio
Jason Desiderio
21,811 Points

Here is the documentation on buttons and if you scroll down a bit, you'll see "Button Colors" with the classes listed and their corresponding color. http://foundation.zurb.com/docs/components/buttons.html

You'll want to add the class "success" to the hire me button so it turns green:

<a class="button success">Hire me!</a>