Two more examples
This commit is contained in:
parent
321c590180
commit
f9e0d43aec
BIN
images/00/fightclub.jpg
Normal file
BIN
images/00/fightclub.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 111 KiB |
BIN
images/00/jamesbond.jpg
Normal file
BIN
images/00/jamesbond.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
@ -38,3 +38,44 @@ while not prince.comes_along():
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user