Return to Video

02-11 Taking Html Apart Solution

  • 0:00 - 0:04
    Let's go through it together, and this first one starts with a left angle bracket,
  • 0:04 - 0:07
    which looks super promising, but then it has this slash
  • 0:07 - 0:11
    which we don't see reflected up here, so this one doesn't match,
  • 0:11 - 0:14
    could not have produced this sequence of 5.
  • 0:14 - 0:17
    Over here we have a left angle bracket, a b, a right angle bracket.
  • 0:17 - 0:19
    Looking great. Salvador, looking good.
  • 0:19 - 0:22
    Dali, looking great. Oh, yeah, this totally matches.
  • 0:22 - 0:25
    Down here we have almost the same sentence, but there's no space
  • 0:25 - 0:28
    between salvador and dali.
  • 0:28 - 0:32
    This is very close, but instead of getting 2 separate words at the end,
  • 0:32 - 0:36
    it would break down into just one word at the end, salvadordali,
  • 0:36 - 0:38
    so this one doesn't match.
  • 0:38 - 0:42
    Over here we start with a bold tag, have salvador and then dali,
  • 0:42 - 0:46
    but then we have a few more characters that aren't shown in this list of 5,
  • 0:46 - 0:48
    so this doesn't match exactly.
  • 0:48 - 0:51
    Here we have salvador followed by the bold tag.
  • 0:51 - 0:56
    That's getting the order wrong, and the order of this breakdown is really going to matter.
  • 0:56 - 0:59
    We really need to know the order of words in a sentence.
  • 0:59 - 1:01
    Super important, it is.
  • 1:01 - 1:05
    Finally, over here we start with bold, and we have salvador dali again.
  • 1:05 - 1:08
    This looks great. No problems there.
  • 1:08 - 1:10
    Notice the spacing was a little different.
  • 1:10 - 1:14
    Here we had a space between the bold tag and salvador.
  • 1:14 - 1:16
    Here we had kind of a space over here.
  • 1:16 - 1:18
    These spaces don't matter very much.
  • 1:18 - 1:23
    Salvador Dali was a Spanish artist famous for his surrealist paintings,
  • 1:23 - 1:27
    probably most famous for painting The Persistence of--
  • 1:27 -
    I can't remember. Let's just go on.
Cím:
02-11 Taking Html Apart Solution
Leírás:

more » « less
Video Language:
English
Team:
Udacity
Projekt:
CS262 - Programming Languages
Duration:
01:30
Amara Bot hozzáadott egy fordítást

English subtitles

Felülvizsgálatok