ngSwitch Structural Directive

Exercise
Correct!
False!
Define a variable `x` equal to 10.
var x =

sd

Exercise
Correct!
False!
Define a variable `x` equal to 10.
var line1 = "<li *ngFor='let str of stringArray; let num= index'>" var line2 = " {{num+1}}" var line3 = "</li>"

Here is the introduction for the quiz

This is Question 1:

  • [x] This is the proposition 1 (the correct one)
  • [ ] This is the proposition 2

This is a help message when the answer to question 1 is wrong

This is Question 2:

  • [ ] This is the proposition 1
  • [x] This is the proposition 2 (correct)
  • [x] This is the proposition 3 (correct)

This is a help message when the answer to question 2 is wrong

<li *ngFor="let str of stringArray; let num= index">
  {{num+1}} {{str}}
</li>

results matching ""

    No results matching ""