< Return to Video

RailsConf 2014 - Elements of Design: A Developer's Primer by Jenn Scheer

  • 0:18 - 0:22
    JENN SCHEER: All right. Good? Good. Welcome.
  • 0:22 - 0:25
    Welcome. I was just at the Sandi Metz talk.
  • 0:25 - 0:26
    Really awesome. Really excited to
  • 0:26 - 0:28
    follow up with no code.
  • 0:28 - 0:32
    There will be no code in this. I'm sorry.
  • 0:32 - 0:35
    I'm Jenn, and I'm here to tell you about
  • 0:35 - 0:39
    some elements of design. I always hear from
    developers
  • 0:39 - 0:41
    that they don't know how to design. But I
  • 0:41 - 0:45
    don't think it's true. You're incredibly smart
    people and
  • 0:45 - 0:47
    you can figure it out. And I'm here to
  • 0:47 - 0:48
    help.
  • 0:48 - 0:50
    Currently I'm a designer and frontend developer
    at Rap
  • 0:50 - 0:56
    Genius. Perfect website. Designed it all myself.
    That's not
  • 0:56 - 0:58
    true at all.
  • 0:58 - 1:01
    So, I think that we know, by now, you
  • 1:01 - 1:03
    know, we're living in a world of design. A
  • 1:03 - 1:07
    culture of design. Apple is number one, and
    everyone
  • 1:07 - 1:09
    loves it. So, I think we have an idea
  • 1:09 - 1:12
    of why design is important, but we have to
  • 1:12 - 1:14
    remember that we're building these things,
    all of the
  • 1:14 - 1:16
    things that we're programming every day. We're
    building them
  • 1:16 - 1:19
    for people. And people have to be able to
  • 1:19 - 1:23
    use them as easily and as pleasantly as possible.
  • 1:23 - 1:28
    So, designing will set you apart from other
    people.
  • 1:28 - 1:30
    It will buy you good will and trust from
  • 1:30 - 1:32
    users when they know that your site is well-designed.
  • 1:32 - 1:35
    It's easy to use and it's pleasant and it's
  • 1:35 - 1:38
    an enjoyable experience. Design can serve
    as marketing for
  • 1:38 - 1:41
    you. You can use it to sell yourself to
  • 1:41 - 1:45
    people and have them trust you.
  • 1:45 - 1:47
    And I would say that design is not just
  • 1:47 - 1:51
    aesthetics. Design is also function. Form
    follows function, and
  • 1:51 - 1:54
    we know this in programming. We program around
    it,
  • 1:54 - 1:58
    and you have to use this to, to sell
  • 1:58 - 2:00
    your purpose. You can use design.
  • 2:00 - 2:04
    So, I also, as a developer, I don't want
  • 2:04 - 2:05
    you to feel like you have to throw things
  • 2:05 - 2:07
    over the wall to designers and say, I don't
  • 2:07 - 2:09
    have any say in this. I don't know what
  • 2:09 - 2:12
    I'm talking about. Because you do. And I want
  • 2:12 - 2:14
    to empower you to do so.
  • 2:14 - 2:19
    So, today I have seven principles here. Hierarchy,
    contrast,
  • 2:19 - 2:23
    repetition, proximity, flow, typography, and
    color. And with these
  • 2:23 - 2:26
    seven principles, I think that you can have
    a
  • 2:26 - 2:28
    great base for, for working your way into
    design
  • 2:28 - 2:30
    conversations.
  • 2:30 - 2:33
    So, a loose flow here is I'm gonna define
  • 2:33 - 2:36
    each principle. Look at some bad examples
    countered with
  • 2:36 - 2:38
    some good examples. And then use these examples
    to
  • 2:38 - 2:41
    give you some rules to use and fall back
  • 2:41 - 2:42
    on.
  • 2:42 - 2:47
    All right. So number one is hierarchy. Hierarchy
    is
  • 2:47 - 2:50
    all about priority in your layouts. So you
    can
  • 2:50 - 2:52
    see, from this slide itself, I'll use all
    of
  • 2:52 - 2:56
    these slides to, to show you how hierarchy
    works.
  • 2:56 - 2:59
    The word hierarchy is number one. It's bigger.
    It's
  • 2:59 - 3:02
    greener. It's, it's the first thing that you're
    gonna
  • 3:02 - 3:03
    look at on this page. And it is the
  • 3:03 - 3:06
    most important. It's what we're about to talk
    about.
  • 3:06 - 3:11
    So, you can see, there's like a flow of
  • 3:11 - 3:13
    hierarchy. You look at this big thing at the
  • 3:13 - 3:15
    top. You look at the next biggest thing. You
  • 3:15 - 3:17
    look at the smaller things. You, before you
    even
  • 3:17 - 3:19
    look at the browser, at the phone or whatever
  • 3:19 - 3:21
    you're designing, you want to ask yourself,
    what am
  • 3:21 - 3:24
    I doing here? Why is someone coming to my
  • 3:24 - 3:26
    site? You have to ask these hard questions
    so
  • 3:26 - 3:29
    you can have great answers and be prepared.
  • 3:29 - 3:34
    So, bad example. This site. There's no clear
    hierarchy
  • 3:34 - 3:35
    here. The first thing that you see is the
  • 3:35 - 3:38
    logo. A good technique that you can use is
  • 3:38 - 3:41
    to blur out your site and see if anything
  • 3:41 - 3:42
    pops out. And the only thing we see here
  • 3:42 - 3:46
    is the logo. Because everything else, this
    is the
  • 3:46 - 3:49
    reason that someone is coming to your site.
    You,
  • 3:49 - 3:51
    you know, the headlines, the tags, the sidebar.
    All
  • 3:51 - 3:55
    of those have the same priority. Totally boring.
  • 3:55 - 4:00
    So, better example of hierarchy is this site.
    The
  • 4:00 - 4:03
    first thing that we see here when we're blurred
  • 4:03 - 4:06
    out is this knowledge headline. The content
    the people
  • 4:06 - 4:08
    are coming to the site for. The number one
  • 4:08 - 4:10
    most important article. We do see the logo
    here,
  • 4:10 - 4:12
    and it's important to let people know that
    this
  • 4:12 - 4:15
    is where they are. So that they feel comfortable
  • 4:15 - 4:17
    here. And then the third thing that we see.
  • 4:17 - 4:19
    So we've got the headline, the logo, and then
  • 4:19 - 4:21
    the other actions that you can do on page.
  • 4:21 - 4:23
    Say, I don't want to do that one thing.
  • 4:23 - 4:25
    Give people another option. It's the second
    thing that
  • 4:25 - 4:28
    they see. Third thing that they see. They
    see
  • 4:28 - 4:30
    lots of things all at the same time.
  • 4:30 - 4:32
    BuzzFeed. They definitely see lots of things
    all that
  • 4:32 - 4:36
    the same time. It's so much going on. There's
  • 4:36 - 4:37
    nowhere to look. I mean, you have these big
  • 4:37 - 4:41
    pictures, but they're everywhere. Everything
    is asking for your
  • 4:41 - 4:43
    attention, and if you tell the user that everything
  • 4:43 - 4:45
    is the number one priority, then what you're
    really
  • 4:45 - 4:48
    saying is that nothing is important. You're
    saying that
  • 4:48 - 4:49
    this is all throwaway.
  • 4:49 - 4:51
    And, of course, BuzzFeed, you know, they have
    to
  • 4:51 - 4:54
    go down this rabbit hole. That's. They're
    looking for
  • 4:54 - 4:57
    the page views. But I don't think that's the
  • 4:57 - 4:58
    way to get users to trust your brand. And
  • 4:58 - 5:02
    I don't think people trust BuzzFeed. They
    know what
  • 5:02 - 5:04
    BuzzFeed's doing.
  • 5:04 - 5:06
    So I would go. I would go look at
  • 5:06 - 5:11
    the stalwart. Like, New York Times, for better
    hierarchy.
  • 5:11 - 5:14
    You know, you blur this out. There are fewer
  • 5:14 - 5:16
    things catching your eye. We're humans. We're
    gonna look
  • 5:16 - 5:19
    at photographs. These look like, oh, these
    look like
  • 5:19 - 5:23
    things I know. We, we sort of are tuned
  • 5:23 - 5:27
    to, to blur out ads. We don't look at
  • 5:27 - 5:29
    ads anymore. So you've got these two pieces
    of
  • 5:29 - 5:32
    content. And then we're going to look at the
  • 5:32 - 5:35
    text that is associated with the images. And
    then
  • 5:35 - 5:37
    we're going to look at the big headlines,
    which
  • 5:37 - 5:40
    is, you know, the biggest stories of today.
    And
  • 5:40 - 5:42
    then sort of everything else. But there's
    a path
  • 5:42 - 5:45
    here and there is a flow that they use
  • 5:45 - 5:49
    to, to guide you around the page.
  • 5:49 - 5:51
    And by telling people that, you know, like,
    our
  • 5:51 - 5:55
    priority here is news. And we want to be
  • 5:55 - 5:58
    serious here. You tell a great story for the
  • 5:58 - 5:59
    user.
  • 5:59 - 6:04
    Contrast. So contrast creates interest on
    the page. And
  • 6:04 - 6:07
    by creating interesting differences for a
    reason, you engage
  • 6:07 - 6:09
    the audience. So there is some contrast here.
    You
  • 6:09 - 6:12
    know, we have the bigger text. The greener
    text.
  • 6:12 - 6:15
    It could be a lot more blinged out, but
  • 6:15 - 6:17
    this is just an intro slide. It's not that
  • 6:17 - 6:19
    important.
  • 6:19 - 6:22
    So we can use things like line, shape, texture,
  • 6:22 - 6:26
    color, and patterns to create contrast on
    the page.
  • 6:26 - 6:28
    So here we have lines versus shape. WE have
  • 6:28 - 6:30
    opposite colors on the color wheel. We have
    this
  • 6:30 - 6:34
    textured pattern versus a blank space.
  • 6:34 - 6:37
    And there's also contrast with typography.
    So we have
  • 6:37 - 6:41
    a huge headline, colorful, balanced by a much
    smaller
  • 6:41 - 6:43
    piece of text.
  • 6:43 - 6:47
    So, some, like, this site I would not say
  • 6:47 - 6:52
    has great contrast. It's GitHub. Great website.
    But they're
  • 6:52 - 6:54
    not really pushing it to the limit. And, of
  • 6:54 - 6:56
    course, it's not maybe in GitHub's best interest
    to
  • 6:56 - 6:59
    really worry about that. But they're going
    with some
  • 6:59 - 7:02
    defaults. Black, white, and blue links. Not
    very exciting.
  • 7:02 - 7:04
    And this I think is a bigger problem. You
  • 7:04 - 7:07
    know, there's the contrast of these examples
    that they're
  • 7:07 - 7:08
    trying to show you, but they're too small
    to
  • 7:08 - 7:12
    really sell themselves to you. You know, you
    can't
  • 7:12 - 7:14
    see the actual features. So you want to be
  • 7:14 - 7:16
    really bold.
  • 7:16 - 7:18
    I think this is a better example of contrast.
  • 7:18 - 7:22
    They're using this bright blue background,
    this actual photograph
  • 7:22 - 7:25
    paired with sort of geometric text. So we
    have
  • 7:25 - 7:29
    like the geometric layout and this organic
    thing happening
  • 7:29 - 7:33
    next to it. And we have flat white shapes
  • 7:33 - 7:36
    versus blue and brown colors. It makes a really
  • 7:36 - 7:39
    compelling argument for the idea that this
    product has
  • 7:39 - 7:42
    their shit together. And they know what they're
    trying
  • 7:42 - 7:46
    to sell you. They know how to sell you
  • 7:46 - 7:47
    something.
  • 7:47 - 7:51
    This isn't, this is a Yahoo widget section.
    It
  • 7:51 - 7:53
    doesn't have great contrast. The headlines
    barely stand out.
  • 7:53 - 7:55
    There are a lot of different types of content
  • 7:55 - 7:58
    here but they all look the same, and you
  • 7:58 - 8:00
    can't really interact with them in different
    ways.
  • 8:00 - 8:03
    So, you know, you could, you can push it
  • 8:03 - 8:05
    a lot further than this, I think. This is
  • 8:05 - 8:08
    an evernote screen where the different types
    of action
  • 8:08 - 8:10
    that you can take have totally different designs.
    They
  • 8:10 - 8:13
    have this dark background with the lighter
    green color.
  • 8:13 - 8:16
    It's a good contrast.
  • 8:16 - 8:18
    You can tell that they, they give better love.
  • 8:18 - 8:21
    You know, the section for creating content
    looks different
  • 8:21 - 8:22
    than the section for looking through the content
    you've
  • 8:22 - 8:27
    already created. And there's a new way to
    look
  • 8:27 - 8:29
    at each thing.
  • 8:29 - 8:34
    So, another not great example of contrast.
    There is
  • 8:34 - 8:36
    some stuff here, you know. There's big, you
    know,
  • 8:36 - 8:40
    there's big text, there's small text. There's
    colorful buttons.
  • 8:40 - 8:41
    But it's sticking to the defaults and it's
    not
  • 8:41 - 8:44
    really engaging the user in a way that they're,
  • 8:44 - 8:48
    that's either new, fresh, or memorable to
    them.
  • 8:48 - 8:50
    So I'm gonna say that they're falling into
    the
  • 8:50 - 8:53
    Bootstrap Trap. We all know it. We all love
  • 8:53 - 8:56
    it. It's great. I mean, no. It's. It is
  • 8:56 - 9:00
    great. No, I messed the joke up. The Bootstrap
  • 9:00 - 9:02
    Trap, it's terrible! I'm just kidding. It's
    awesome.
  • 9:02 - 9:06
    I am saying that you can use it wisely.
  • 9:06 - 9:09
    There are basics there. There are tons of
    key
  • 9:09 - 9:12
    and amazing design features there that you
    don't have
  • 9:12 - 9:14
    to worry about. That you can go on to
  • 9:14 - 9:17
    build the fun parts of your product. But I'm
  • 9:17 - 9:20
    saying that this is also a Bootstrap site,
    and
  • 9:20 - 9:22
    they've done a ton more work here to make
  • 9:22 - 9:24
    it really memorable.
  • 9:24 - 9:26
    They use a lot of different elements. They
    use
  • 9:26 - 9:29
    texture. They use an illustrated background.
    They use this
  • 9:29 - 9:34
    yellow color and the scale to set themselves
    apart
  • 9:34 - 9:37
    from other services that you might want to
    use.
  • 9:37 - 9:39
    And you can still use Bootstrap if it's really
  • 9:39 - 9:41
    important to you.
  • 9:41 - 9:43
    It's really important to build on top of it
  • 9:43 - 9:45
    to make. This is also a Bootstrap site. But
  • 9:45 - 9:47
    they use this, like, image in the background.
    They
  • 9:47 - 9:50
    sort of break out of a grid to call
  • 9:50 - 9:53
    out certain elements of their product. It
    makes it
  • 9:53 - 9:57
    much more compelling for people.
  • 9:57 - 10:01
    Number three is repetition. Repetition creates
    patterns and expectations,
  • 10:01 - 10:04
    which unify and strengthen your message. So,
    here we
  • 10:04 - 10:08
    have a bullet list. We have an ordered list.
  • 10:08 - 10:12
    This is something that we're, is a tool that
  • 10:12 - 10:15
    we're familiar with grouping things together.
    Everything looks the
  • 10:15 - 10:16
    same except for the one thing that we're calling
  • 10:16 - 10:18
    out, which is the section we're about to start.
  • 10:18 - 10:22
    So there are different things that you can
    use
  • 10:22 - 10:27
    to create repetition, like spatial relationships,
    bullets, similar colors,
  • 10:27 - 10:30
    formatting. And all of these great patterns
    that let
  • 10:30 - 10:33
    people know that they are, you know, safe
    in
  • 10:33 - 10:37
    your, in your website. In your website? On
    your
  • 10:37 - 10:37
    website?
  • 10:37 - 10:40
    So we all know, don't repeat yourself. But
    that's
  • 10:40 - 10:42
    not true with design. And it's not really
    true
  • 10:42 - 10:46
    with code either. You do need to repeat yourself,
  • 10:46 - 10:49
    but in ways that are purposeful and ways that
  • 10:49 - 10:51
    you can, you know, you can do it once
  • 10:51 - 10:52
    and then you never have to do it again.
  • 10:52 - 10:54
    You set up a system and it's like, oh,
  • 10:54 - 10:56
    we have a new button. I guess it needs
  • 10:56 - 10:58
    to be a different color because it's more
    important.
  • 10:58 - 10:58
    No.
  • 10:58 - 11:01
    I mean, set up, set up some basics and
  • 11:01 - 11:04
    then never have to code them again. Well,
    you
  • 11:04 - 11:07
    know, that's, that's always the dream, right.
    So this
  • 11:07 - 11:09
    is a Best Buy list of products. But they
  • 11:09 - 11:11
    have a ton of different ways that you can
  • 11:11 - 11:16
    interact here. There's so many different buttons
    and dropdowns
  • 11:16 - 11:19
    and check boxes. And imagine having to code
    this,
  • 11:19 - 11:20
    and every time you try to add this new
  • 11:20 - 11:22
    feature, you have to design a new way to
  • 11:22 - 11:23
    put it on there. And you tack it on
  • 11:23 - 11:25
    and it doesn't really fit.
  • 11:25 - 11:30
    So, it's, it's confusing for these. Whereas
    this site,
  • 11:30 - 11:32
    you know, you see the links across the top.
  • 11:32 - 11:34
    They all look the same. If you have to
  • 11:34 - 11:36
    add a new one it just goes in there.
  • 11:36 - 11:41
    It's using a grid, which is comfortable for
    users.
  • 11:41 - 11:44
    And they use similar elements to create consistency.
    So
  • 11:44 - 11:45
    they have these icons that are all the same
  • 11:45 - 11:49
    design, the same matching typography, one,
    two, three, four.
  • 11:49 - 11:52
    We know what we're doing. We're not surprised
    here.
  • 11:52 - 11:56
    This is an old version of the Facebook feed.
  • 11:56 - 11:58
    And they figured it out by now. They figured
  • 11:58 - 12:00
    it out a lot better. But you can see
  • 12:00 - 12:01
    here when you drill into this content, it's
    really
  • 12:01 - 12:03
    hard to see what the pattern is. It's like,
  • 12:03 - 12:06
    I think this is a link that's attached, but
  • 12:06 - 12:08
    there's so many different things going on
    that users
  • 12:08 - 12:11
    can't learn the pattern, and then as they
    flow
  • 12:11 - 12:16
    down the feed, move smoothly down it.
  • 12:16 - 12:19
    And this is an alternate example, where, where
    it's
  • 12:19 - 12:22
    a much better sense, there's a much better
    sense
  • 12:22 - 12:25
    of repetition here. We have this bar along
    the
  • 12:25 - 12:27
    top. You know where you are. You're in this
  • 12:27 - 12:31
    context. And then each headline looks exactly
    the same.
  • 12:31 - 12:33
    Each set of metadata looks exactly the same,
    and
  • 12:33 - 12:36
    they use icons and alignment and different
    colors to
  • 12:36 - 12:40
    create a pattern and stick to it.
  • 12:40 - 12:47
    So number four is proximity. One second.
  • 12:48 - 12:50
    So delicious. OK.
  • 12:50 - 12:53
    Proximity is about grouping related elements
    together by using
  • 12:53 - 12:56
    space to create associations between them,
    or using empty
  • 12:56 - 13:00
    space to disconnect unrelated elements. So
    here we have
  • 13:00 - 13:04
    one concrete group of elements. We have a
    list.
  • 13:04 - 13:06
    That's all there is on the page. There's nothing
  • 13:06 - 13:08
    else distracting you. You know that we're
    in the
  • 13:08 - 13:10
    section and we're about to start something
    new.
  • 13:10 - 13:14
    So, some, some tools that you can use to
  • 13:14 - 13:18
    create proximity are using columns. You can
    group, you
  • 13:18 - 13:21
    need to group similar action items together.
    And using
  • 13:21 - 13:24
    white space to separate space. So, this is
    an
  • 13:24 - 13:29
    example where proximity is not being used.
    It's overwhelming.
  • 13:29 - 13:32
    There's too much information on this ESPN
    site. There's
  • 13:32 - 13:34
    all different kinds of information just packed
    on top
  • 13:34 - 13:38
    of each other. And it's, it's very, it's very
  • 13:38 - 13:41
    confusing to parse. There's no white space
    here. They're
  • 13:41 - 13:44
    just trying to shove it all in your face.
  • 13:44 - 13:46
    And a place where proximity is really important
    is
  • 13:46 - 13:48
    for forums. So this is a much better and
  • 13:48 - 13:51
    clear way to sort of get some information
    and
  • 13:51 - 13:54
    input some information. So it tells you what
    section
  • 13:54 - 13:57
    you're in. There are, you know, some basic
    form
  • 13:57 - 14:00
    patterns. All of these fields are required.
    You know,
  • 14:00 - 14:04
    lining the labels up together. And they use
    white
  • 14:04 - 14:08
    space and they're grouping elements in the
    small number
  • 14:08 - 14:10
    to make it easy to use.
  • 14:10 - 14:16
    So, we're all familiar with Craigslist. Great
    website. We've
  • 14:16 - 14:19
    all gotten, you know, maybe your apartment
    on Craigslist.
  • 14:19 - 14:21
    You know you can get there and it gets
  • 14:21 - 14:23
    the job done. But when you drill down, it's
  • 14:23 - 14:25
    like, what am I looking for? There are so
  • 14:25 - 14:27
    many things here and they're all jumbled together.
    This
  • 14:27 - 14:31
    is forty things, and they're not alphabetically
    ordered even
  • 14:31 - 14:35
    top to bottom. They're ordered left to right.
    Very
  • 14:35 - 14:40
    hard to see where, what you're looking for.
  • 14:40 - 14:43
    A good rule is to only group elements together
  • 14:43 - 14:45
    in groups of three to five. It's the easiest
  • 14:45 - 14:49
    way for humans to understand and it's going
    to
  • 14:49 - 14:53
    make users much more happy to use your product.
  • 14:53 - 14:58
    Craigslist, you know, the listings all have
    a ton
  • 14:58 - 15:01
    of information right here. They're all jumbled
    in together.
  • 15:01 - 15:03
    It's really important stuff, you know. It's
    something that's
  • 15:03 - 15:06
    going to, you just need to skip this whole
  • 15:06 - 15:09
    listing because it doesn't apply to you. But
    this
  • 15:09 - 15:11
    is all different kinds of information. There's
    information about
  • 15:11 - 15:14
    the apartment. There's information about the
    listing on the
  • 15:14 - 15:16
    site. The price, which is the most important
    thing.
  • 15:16 - 15:17
    But they all look the same and they're all
  • 15:17 - 15:19
    grouped together.
  • 15:19 - 15:21
    So a better example of this is Air B
  • 15:21 - 15:24
    and B's site ??. They separate these things
    out
  • 15:24 - 15:27
    in them, in a better way. At the top,
  • 15:27 - 15:29
    they have the information about the booking,
    the comments.
  • 15:29 - 15:31
    You can book it now. And then below they
  • 15:31 - 15:34
    have the information about the apartment.
    So it makes
  • 15:34 - 15:36
    it much more pleasant to scan down. And they
  • 15:36 - 15:40
    also have the big images. That helps. And
    it
  • 15:40 - 15:44
    makes better use of proximity here.
  • 15:44 - 15:46
    And I would say, a word of warning, is
  • 15:46 - 15:50
    to really make sure that your forms are fun
  • 15:50 - 15:54
    and very straightforward to use. And proximity
    is the
  • 15:54 - 15:57
    best way to make sure that's happening. You
    know,
  • 15:57 - 16:00
    put the credit card information in a different
    place
  • 16:00 - 16:02
    than the, than the shipping address. You know,
    you
  • 16:02 - 16:06
    don't want. You don't want to overload users
    or
  • 16:06 - 16:09
    have them be unclear, like, how much further
    they
  • 16:09 - 16:12
    have to go, how much they've already completed.
    Proximity
  • 16:12 - 16:16
    is a great way to use that.
  • 16:16 - 16:19
    Number five is flow. So, flow, you're flowing
    down
  • 16:19 - 16:22
    this list. You're not paying attention to
    the things
  • 16:22 - 16:25
    you've already learned, and then you hit flow.
    And
  • 16:25 - 16:28
    that's where you stop and you're excited for
    the
  • 16:28 - 16:31
    new section. And that's an example of flow.
  • 16:31 - 16:34
    So site's are not pages. They are experiences
    with
  • 16:34 - 16:36
    many states and possibilities. So you think
    of where
  • 16:36 - 16:38
    you want the user to end up, and you
  • 16:38 - 16:40
    let that influence design.
  • 16:40 - 16:43
    So, I would say there are two types of
  • 16:43 - 16:45
    flow, and we're just going to talk about one
  • 16:45 - 16:47
    today. There's flow within one page. So what
    the
  • 16:47 - 16:49
    user does on just one page. And then there's
  • 16:49 - 16:53
    flow between many pages, like in an Amazon
    checkout
  • 16:53 - 16:55
    process. You go through many different pages
    but they
  • 16:55 - 16:58
    make that as smooth as possible so they don't
  • 16:58 - 16:59
    lose you along the way.
  • 16:59 - 17:03
    So, we'll talk about flow within one page
    today.
  • 17:03 - 17:07
    It's a little simpler. So, one sample idea
    for
  • 17:07 - 17:09
    flow, is that you're looking at a product,
    you're
  • 17:09 - 17:11
    looking at the details, and then you add to
  • 17:11 - 17:13
    cart. So this is the first step of the
  • 17:13 - 17:16
    checkout process. And it's most important
    for you, as
  • 17:16 - 17:18
    the seller, to make sure that they click that
  • 17:18 - 17:20
    buy button. So you don't want to put anything
  • 17:20 - 17:24
    that's going to distract them in between the
    beautiful
  • 17:24 - 17:26
    image and the headline and the buy button.
  • 17:26 - 17:29
    And it's customer service. It's customer service
    that makes
  • 17:29 - 17:33
    it easy and fun for someone and that people
  • 17:33 - 17:35
    have trust that they know how to get there
  • 17:35 - 17:39
    and there's good will when something goes
    wrong.
  • 17:39 - 17:42
    Another example of flow is, you're reading
    a story
  • 17:42 - 17:44
    on a site and you want someone to read
  • 17:44 - 17:48
    another story. I would say that a bad example
  • 17:48 - 17:51
    is Hacker News. We all love it and we're
  • 17:51 - 17:53
    all there all the time, but what happens when
  • 17:53 - 17:55
    you click a link. You leave the page. It
  • 17:55 - 17:59
    overwrites the page you're writing on. You're,
    you're sitting
  • 17:59 - 18:00
    on.
  • 18:00 - 18:02
    You read this. You click away. Every single
    thing
  • 18:02 - 18:05
    takes you away from the site. And I, instead
  • 18:05 - 18:08
    of incentivizing you to stay on the site or,
  • 18:08 - 18:11
    or to leave and come back, it just incentivizes
  • 18:11 - 18:13
    you to leave. I mean, you know to come
  • 18:13 - 18:15
    back because of the freshness, but I think
    there
  • 18:15 - 18:17
    are better flow options there.
  • 18:17 - 18:18
    Something that we're starting to see a lot
    more
  • 18:18 - 18:20
    often is that you get to end, to the
  • 18:20 - 18:23
    end of a story and then you go immediately
  • 18:23 - 18:25
    to a new story. And it makes that flow
  • 18:25 - 18:27
    seamless so you don't even have to think about
  • 18:27 - 18:29
    it.
  • 18:29 - 18:32
    Another, you know, not great flow, is like
    I'm
  • 18:32 - 18:34
    looking at this infograph, and I'm like, where
    do
  • 18:34 - 18:36
    I go? Do I go from one to six?
  • 18:36 - 18:40
    Am I supposed to read down? It's pretty aesthetically
  • 18:40 - 18:43
    pleasing, but it's very contradictory in the
    ways that
  • 18:43 - 18:46
    you're supposed to scan the information.
  • 18:46 - 18:48
    A better way for flow is to give people
  • 18:48 - 18:51
    one path. One path that they have to follow,
  • 18:51 - 18:54
    and make sure that's very clear. So we're,
    we're
  • 18:54 - 18:57
    familiar with this idea of timelines. With
    this, you
  • 18:57 - 18:59
    know, you're zigzagging down the page, which
    is not
  • 18:59 - 19:01
    sort of the normal flow of just going straight
  • 19:01 - 19:04
    down or straight to the side. But they make
  • 19:04 - 19:06
    it very clear with the icons, with the, with
  • 19:06 - 19:11
    the marks along this timeline. And so you
    feel
  • 19:11 - 19:15
    very comfortable and you know where you're
    going next.
  • 19:15 - 19:16
    Here's a forum that's missing a ton of the
  • 19:16 - 19:18
    helpers that we've come to know and love in
  • 19:18 - 19:22
    forms. And you, there's no special stylings
    here. But
  • 19:22 - 19:24
    the worst part of this flow, that it gives
  • 19:24 - 19:26
    you the information and instructions for how
    to fill
  • 19:26 - 19:28
    out the form two-thirds of the way down the
  • 19:28 - 19:29
    form.
  • 19:29 - 19:32
    So you have to go back and, and revisit
  • 19:32 - 19:34
    all of the stuff that you've already done
    and
  • 19:34 - 19:37
    be like, did I do this right? The best
  • 19:37 - 19:39
    way to do these sorts of things is to
  • 19:39 - 19:42
    give feedback, too. You, you can give feedback
    for
  • 19:42 - 19:44
    when someone's filling out a password. You
    say this
  • 19:44 - 19:47
    is a terrible password. Keep going, keep going,
    you're
  • 19:47 - 19:50
    getting there. And then you've reached the
    end and
  • 19:50 - 19:54
    you're ready to go.
  • 19:54 - 19:59
    So number six is typography. A whole generation
    of
  • 19:59 - 20:01
    designers on the web have made it very easy
  • 20:01 - 20:04
    to access good typography and good web fonts.
    And
  • 20:04 - 20:06
    there are really small changes that you can
    make
  • 20:06 - 20:09
    to default settings that make a big difference
    and
  • 20:09 - 20:13
    a big impact on readers and readability.
  • 20:13 - 20:15
    This is a simple presentation. I'm using one
    type
  • 20:15 - 20:19
    face the whole time. I would recommend one
    or
  • 20:19 - 20:22
    two type faces are a really great start for,
  • 20:22 - 20:25
    for defining your, your product and your sort
    of
  • 20:25 - 20:27
    personality that you want to give for, give
    to
  • 20:27 - 20:30
    people. Show to people.
  • 20:30 - 20:32
    So this is, this is a condensed typeface.
    It's
  • 20:32 - 20:35
    very load. Trying to like throw all these
    things
  • 20:35 - 20:39
    in your face really quickly. It was originally
    designed
  • 20:39 - 20:42
    for highway signs and industrial machines.
    So you can
  • 20:42 - 20:45
    sort of think about these and what, what impact
  • 20:45 - 20:48
    that might have. So there's a, you know, a
  • 20:48 - 20:51
    sexier headline on the left and a sillier
    headline
  • 20:51 - 20:53
    on the right. It's, you know, you can be
  • 20:53 - 20:55
    very playful with typography, too.
  • 20:55 - 20:59
    A couple of services you are perhaps familiar
    with.
  • 20:59 - 21:03
    Google web fonts. Typekit. Myfonts. Some things
    are free.
  • 21:03 - 21:05
    Some are paid. But it's not that much money
  • 21:05 - 21:06
    and it makes a big difference.
  • 21:06 - 21:12
    So, another, love to, no. Love to love. Wikipedia
  • 21:12 - 21:15
    actually. Tons of information. Spent hours
    and days of
  • 21:15 - 21:17
    my life reading it. But it's so hard to
  • 21:17 - 21:21
    read sometimes. The lines are so long across.
    You
  • 21:21 - 21:22
    get to the end of the line and you
  • 21:22 - 21:24
    lose your place. How do I get back to
  • 21:24 - 21:26
    the beginning? They have the footnotes, which
    can be
  • 21:26 - 21:28
    distracting sometimes.
  • 21:28 - 21:34
    So, a better way to look at typography is,
  • 21:34 - 21:37
    is set some rules. You know, the base line
  • 21:37 - 21:44
    length is thirty-five. Sorry. Thirty-five
    to sixty-five characters long.
  • 21:45 - 21:48
    Just count them. And that's, that's the best
    human
  • 21:48 - 21:52
    readable length for people. And the minimum
    font size
  • 21:52 - 21:54
    to line height ratio is about one to one
  • 21:54 - 21:57
    and a half. This is, these are just, write
  • 21:57 - 21:59
    it down and don't worry about doing anything
    else
  • 21:59 - 22:02
    because this is the best way. And if you're
  • 22:02 - 22:03
    going to have a lot of reading on your
  • 22:03 - 22:07
    site, look at other sites that do reading
    experiences
  • 22:07 - 22:07
    in a great way.
  • 22:07 - 22:10
    This is readability. They have a lot of different
  • 22:10 - 22:14
    styles going on so that they can, they can
  • 22:14 - 22:20
    handle different kinds, types of content.
    And you know,
  • 22:20 - 22:22
    just, just a little love goes a long way
  • 22:22 - 22:26
    with typography. An example. I've just, like,
    I love
  • 22:26 - 22:27
    these like, love to hate things.
  • 22:27 - 22:31
    Drudge Report. Drudge Report. Impossible to
    read. Everything looks
  • 22:31 - 22:36
    exactly the same. There's the headlines. There's
    sections or
  • 22:36 - 22:39
    categories. There's social links. You can't
    even tell what
  • 22:39 - 22:42
    you're looking at or why any of them are
  • 22:42 - 22:44
    different. Why something should call, should
    be called out
  • 22:44 - 22:45
    to you.
  • 22:45 - 22:47
    I'll bring up the New York Times, again, as
  • 22:47 - 22:51
    a great example. There is tons of information
    here.
  • 22:51 - 22:52
    As much as there was on the Drudge Report
  • 22:52 - 22:55
    page. But they've broken it up into different
    sections
  • 22:55 - 22:57
    and they do a lot of different typographic
    treatments
  • 22:57 - 23:00
    that tell you how, how important or how not
  • 23:00 - 23:01
    important something is.
  • 23:01 - 23:05
    They have section headlines to differentiate
    this section. They
  • 23:05 - 23:09
    call out certain articles. They have whole
    category overviews
  • 23:09 - 23:11
    with a different style, and then they have
    listings
  • 23:11 - 23:14
    which is user-generated content. They're all
    something different, and
  • 23:14 - 23:17
    they do use a custom type face. They're a
  • 23:17 - 23:19
    site for reading and they, they need to make
  • 23:19 - 23:24
    sure that they give that love.
  • 23:24 - 23:28
    So, this is another site you can use. You
  • 23:28 - 23:30
    can use typography in interesting ways. You
    can layer
  • 23:30 - 23:33
    things, you know, in a way to create a
  • 23:33 - 23:35
    personality. This is, you know, it seems like
    a
  • 23:35 - 23:39
    very elegant site. And just think of some
    adjectives
  • 23:39 - 23:41
    that you want to convey to people and, and
  • 23:41 - 23:43
    go from there.
  • 23:43 - 23:49
    So the last element, principle for today,
    is color.
  • 23:49 - 23:52
    I would say color with an asterisk, because
    I,
  • 23:52 - 23:54
    I don't think you should rely on color too
  • 23:54 - 23:56
    heavily, and I think it's one of the lesser
  • 23:56 - 24:00
    important things. There are accessibility
    reasons. Like, if you
  • 24:00 - 24:03
    have colorblind users or you, you know, your,
    your
  • 24:03 - 24:05
    user base is on a ton of different monitors.
  • 24:05 - 24:08
    The colors could look super wacky.
  • 24:08 - 24:10
    And semantic reasons. Colors mean different
    things to different
  • 24:10 - 24:13
    people. We have a lot of sort of like,
  • 24:13 - 24:15
    western culture. Green means go, red means
    stop, white
  • 24:15 - 24:18
    means this, black. You know. You want to be
  • 24:18 - 24:22
    sensitive about your target audience, and
    play up, play
  • 24:22 - 24:23
    into that.
  • 24:23 - 24:27
    So, three ways that you can adjust color to
  • 24:27 - 24:30
    stand out are hue. The actual color it is.
  • 24:30 - 24:32
    Saturation - how bold it is. And value -
  • 24:32 - 24:35
    how light or dark it is. And I would
  • 24:35 - 24:39
    recommend using all three together to create
    different color
  • 24:39 - 24:40
    combinations.
  • 24:40 - 24:45
    So, Facebook. We're all familiar with the
    Facebook blue.
  • 24:45 - 24:48
    It's so boring. It's so sterile. It's not
    that
  • 24:48 - 24:51
    exciting, and, and we, we're not there for
    the
  • 24:51 - 24:54
    color. We're not, you know, Facebook has to
    target
  • 24:54 - 24:57
    every person in the world. Facebook is for
    everyone.
  • 24:57 - 24:59
    And so they can't, you know, they can't go
  • 24:59 - 25:06
    bright orange. And, or purpose, or whatever
    color. Blue
  • 25:06 - 25:08
    is a very generic color and that's what they
  • 25:08 - 25:10
    have to do because that's, that's targeting
    their audience.
  • 25:10 - 25:13
    So I'd say it's bad color, but it's, you
  • 25:13 - 25:15
    know, you have to be thoughtful of that. So,
  • 25:15 - 25:17
    a site to counter it is V-Files which is
  • 25:17 - 25:23
    a shopping offshoot of V-Magazine. So it's
    very fashion-related.
  • 25:23 - 25:26
    Very young audience. Very urban. So they have
    yellow
  • 25:26 - 25:30
    as their, as their color that they use everywhere.
  • 25:30 - 25:33
    And they use that to entice themselves to
    their
  • 25:33 - 25:33
    target audience.
  • 25:33 - 25:36
    If they did the Facebook blue, people would
    not
  • 25:36 - 25:39
    think it was as cool or as interesting. So
  • 25:39 - 25:42
    you can use a color to, to be bold,
  • 25:42 - 25:45
    and pick one or two and go with them.
  • 25:45 - 25:51
    Don't pick ten. You're gonna look like BuzzFeed
    probably.
  • 25:51 - 25:58
    So, other color concepts are to use cultural
    colors
  • 25:59 - 26:01
    that people are familiar with. Like I said,
    red
  • 26:01 - 26:04
    and green. For some reason, Reddit uses orange
    and
  • 26:04 - 26:06
    purple for their up and down votes. It's kind
  • 26:06 - 26:09
    of cute and it's, it's Reddit, where, I'm
    not
  • 26:09 - 26:11
    surprised. But in a lot of cases, that could
  • 26:11 - 26:13
    be very confusing for users.
  • 26:13 - 26:16
    And they also use the sort of basic standard
  • 26:16 - 26:18
    blue link. And I think we can do better
  • 26:18 - 26:24
    than that. So here's an Etsy listing. Etsy,
    I
  • 26:24 - 26:27
    would say, is like a pleasant, easy to use
  • 26:27 - 26:32
    website. It's not super edgy. But that's,
    that's to
  • 26:32 - 26:34
    their advantage. That's what they're trying
    to do.
  • 26:34 - 26:36
    So they have these blue links. You know, that
  • 26:36 - 26:38
    is the sort of standard. You sort of skim
  • 26:38 - 26:40
    over that because you're used to seeing that.
    And
  • 26:40 - 26:42
    then they have the green around the actual
    product
  • 26:42 - 26:46
    information, and the green, go buy this button.
    Green
  • 26:46 - 26:49
    means give you my money.
  • 26:49 - 26:51
    So, it's enticing. You know, a red button
    would
  • 26:51 - 26:53
    be like, oh, maybe this is not good to
  • 26:53 - 26:58
    do. I work for Rap Genius. Rap Genius has
  • 26:58 - 27:02
    a black background and our, our bold color
    is
  • 27:02 - 27:07
    this sort of marygold yellow orange gold color.
    It's
  • 27:07 - 27:10
    very bold. But we think that it makes a
  • 27:10 - 27:13
    big impact to have a black background and
    stick
  • 27:13 - 27:15
    with a black background. And we have this
    argument
  • 27:15 - 27:17
    all the time, like, is it too much? Are
  • 27:17 - 27:21
    we, are we alienating people? But we're, we're
    gonna
  • 27:21 - 27:22
    continue on with it and keep trying to do
  • 27:22 - 27:25
    it. And I think that it, it sets us
  • 27:25 - 27:28
    apart in a really incredible way.
  • 27:28 - 27:32
    I might be biased.
  • 27:32 - 27:39
    So. So now what? Very fast, maybe too fast.
  • 27:39 - 27:41
    It's hard. It's hard. There's a lot to design
  • 27:41 - 27:42
    and you kind of have to think of all
  • 27:42 - 27:44
    of these things at the same time. But I
  • 27:44 - 27:46
    really do want you to be in these design
  • 27:46 - 27:50
    conversations and feel like you know what
    you're talking
  • 27:50 - 27:52
    about, because you do. You're on the internet
    every
  • 27:52 - 27:55
    day. You see things. You like things. You
    don't
  • 27:55 - 27:57
    like things. And you might not know why, but
  • 27:57 - 27:59
    I hope that this gives you a little bit
  • 27:59 - 28:02
    more vocabulary to talk about it and engage
    in
  • 28:02 - 28:03
    these conversations.
  • 28:03 - 28:07
    So, every, every design that you work on is
  • 28:07 - 28:09
    going to have elements of all seven, and you
  • 28:09 - 28:11
    can sort of twist the knobs on, on things
  • 28:11 - 28:15
    to turn them up, turn them down. And, and
  • 28:15 - 28:18
    say, like, you know, we, we don't need that
  • 28:18 - 28:21
    much contrast because we have a really great
    flow
  • 28:21 - 28:23
    and we want it to be really easy and
  • 28:23 - 28:25
    we just want someone to go down the page
  • 28:25 - 28:27
    and spend the rest of their lives on our
  • 28:27 - 28:30
    website.
  • 28:30 - 28:32
    You can use intuition. You know, you might
    code
  • 28:32 - 28:34
    something and put it in the browser, and it's
  • 28:34 - 28:37
    like, oh. Maybe this, this, you know. Technically
    speaking,
  • 28:37 - 28:39
    this has the right amount of padding all around
  • 28:39 - 28:42
    it. But something about it looks off. Like,
    there's
  • 28:42 - 28:43
    a lot of tweaking and a lot of love
  • 28:43 - 28:48
    that is worth giving that shows to people
    that's
  • 28:48 - 28:50
    it's very well put together.
  • 28:50 - 28:53
    And that's it. Thank you.
Title:
RailsConf 2014 - Elements of Design: A Developer's Primer by Jenn Scheer
Description:

more » « less
Duration:
29:22

English subtitles

Revisions