Two more examples

This commit is contained in:
Amma 2019-04-17 10:12:51 +02:00
parent 321c590180
commit f9e0d43aec
3 changed files with 41 additions and 0 deletions

BIN
images/00/fightclub.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
images/00/jamesbond.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -38,3 +38,44 @@ while not prince.comes_along():
</p>
</div>
</div>
---
---
## Another example
```
hero = new Spy;
hero.catchphrase =
"My name is %s, %s %s".format(hero.name, hero.firstname, hero.name)
```
---
<div class="two-columns">
<div class="column" style="width:60%"><img src="images/00/jamesbond.jpg" /> </div>
<div class="column" style="width:40%">James Bond<br/>
<p class="source">
source: https://en.wikipedia.org/wiki/Dr._No_(film)#/media/File:Dr._No_-_UK_cinema_poster.jpg
</p>
</div>
</div>
---
## One more example
```
const c = new Club();
console.log(c); // prints nothing
```
---
<div class="two-columns">
<div class="column" style="width:60%"><img src="images/00/fightclub.jpg" /> </div>
<div class="column" style="width:40%">Fight Club (1999)<br/>
<p class="source">
source: https://en.wikipedia.org/wiki/Fight_Club#/media/File:Fight_Club_poster.jpg
</p>
</div>
</div>