treehouse : what would you like to learn today?
Web Design Web Development iOS Development

trouble getting text to display properly

  • I am very new at this... ...okay, now that that's out of the way, here are my troubles:

    How do I display the value from class "time" to show up beneath the value from class "type"? (Eventually, I will need to display a row of icons beneath class "type". examples would be hand-weights, kettle-ball, jump-rope etc...)

    http://codepen.io/realcardio/full/Blthn

    Also, feel free to suggest a better way of how I am displaying this content.

    Thanks! Derek

  • @n2learning, your VERY first step should be to be closing those span tags, you've left all of them open, and that's not right..should look more like <span class="time">5:00</span>

  • The tags are closed (thanks) and the 'time' values are showing up, but it's not formatted properly.

  • @n2learning, you'll also need to close the <span class="play" /> tag..first of all, span's don't self close like that, and if I were in your shoes, I'd do <div class="play"> instead of span..but still close it after the "type" and "time" span's regardless