JavaScript
Article

Watch: Using className to Add Style

By Michael Chan

Building a Stopwatch in React

Today is the epic conclusion of our Building a Stopwatch mini-series. We’ll use className to add nice clean styles to our component. As a bonus, we’ll remove duplication by creating a new Button component and using a special JSX feature called Spread Attributes. Enough jabber, let’s get styling!

This is the fourth and final video in the Building a Stopwatch in React series.

Loading the player…

  • http://careersreport.com Nancy Proffi

    I have to share valuable internet freelancing opportunity… 3-5 h of work /day… Payment each week… Bonuses…Payment of 6-9 thousand bucks /month… Merely few hours of your free time, a computer, basic understanding of internet and trusted internet connection needed…Have a visit to my disqus~~page for more info
    #

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in JavaScript, once a week, for free.