Return to Video

Templates and Types - Web Development

  • 0:00 - 0:03
    Why didn't that work? We put n equals 1 in
  • 0:03 - 0:05
    our div parameter but when we checked for it in
  • 0:05 - 0:08
    our template, it was saying n does not equal 1.
  • 0:08 - 0:11
    Is it because n was modified going into the template? Is
  • 0:11 - 0:14
    it because jinja has a different notion of equality? Maybe
  • 0:14 - 0:17
    it evaluates double equals differently? Was it cause we have a
  • 0:17 - 0:21
    syntax error, or is it because n is a string,
  • 0:21 - 0:25
    but we're comparing it as an int. These are plausible situations,
  • 0:25 - 0:28
    see if you can figure out which is the cause of the
  • 0:28 - 0:31
    error in this particular case, because what we just did, should work.
Cím:
Templates and Types - Web Development
Leírás:

more » « less
Video Language:
English
Team:
Udacity
Projekt:
CS253 - Web Development
Duration:
0:32

English subtitles

Felülvizsgálatok Compare revisions