Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
teaching:progappchim:testjs [2017/03/06 00:11] – villersd | teaching:progappchim:testjs [2017/05/04 16:13] (Version actuelle) – villersd | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Test Javascript + dokuwiki + DataCamp-ligh ====== | + | ====== Test Javascript + dokuwiki + DataCamp-light ====== |
< | < | ||
https:// | https:// | ||
</ | </ | ||
- | test | ||
< | < | ||
<div class=" | <div class=" | ||
<div class=" | <div class=" | ||
- | < | + | < |
</ | </ | ||
Ligne 18: | Ligne 18: | ||
y = np.sin(x) | y = np.sin(x) | ||
print(x) | print(x) | ||
- | print(y | + | print(y) |
</ | </ | ||
<code data-type=" | <code data-type=" | ||
Ligne 25: | Ligne 25: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | <div data-datacamp-exercise data-lang=" | ||
+ | <code data-type=" | ||
+ | # This will get executed each time the exercise gets initialized | ||
+ | b = 6 | ||
+ | </ | ||
+ | <code data-type=" | ||
+ | # Create a variable a, equal to 5 | ||
+ | |||
+ | |||
+ | # Print out a | ||
+ | |||
+ | |||
+ | </ | ||
+ | <code data-type=" | ||
+ | # Create a variable a, equal to 5 | ||
+ | a <- 5 | ||
+ | |||
+ | # Print out a | ||
+ | print(a) | ||
+ | </ | ||
+ | <code data-type=" | ||
+ | test_object(" | ||
+ | test_function(" | ||
+ | success_msg(" | ||
+ | </ | ||
+ | <div data-type=" | ||
+ | </ | ||
</ | </ |