Return to Video

If Statements Solution - JavaScript Basics

  • 0:00 - 0:05
    So first, we check to see if our list of skills has a length that's greater
  • 0:05 - 0:06
    than 0.
  • 0:06 - 0:12
    If it does, we start by appending our HTMLskillsStart.
  • 0:12 - 0:15
    We can see here that we have a formatted skill,
  • 0:15 - 0:20
    which is created by taking HTMLskills and calling the .replace method,
  • 0:20 - 0:27
    and replacing the data place holder with the first in the list of skills.
  • 0:27 - 0:29
    Lastly, we append that skill to the page.
  • 0:30 - 0:32
    And for the remaining three items,
  • 0:32 - 0:36
    we repeat that same code, only changing the index.
タイトル:
If Statements Solution - JavaScript Basics
概説:

more » « less
Video Language:
English
Team:
Udacity
プロジェクト:
ud804 - Javascript Basics
Duration:
0:37

English subtitles

改訂 Compare revisions