Skip to content

Commit ca893ff

Browse files
committed
Change dining room / kitchen table
1 parent d278324 commit ca893ff

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

00 Algorithms/3 Frontend-backend.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,23 @@ Depending on the type of the program, the front-end or back-end part may be domi
1414

1515
Very often you will start writing your program with very simple text-based user interface and later, after you make sure the logic part works well, you create some graphical interface that will be easier to use for the end user. In such case, it is crucial that you separate front-end from the back-end from the very beginning.
1616

17-
| Dining room | Kitchen |
18-
| ---------------------------------------------------------- | ---------------------------------------------------------- |
19-
| <img alt="Dining room" src="dining-room.jpg" width="320"/> | <img alt="Kitchen" src="kitchen.jpg" width="320"/> |
20-
images source: [U.S. National Archives](https://nara.getarchive.net/)
17+
<table>
18+
<thead>
19+
<tr>
20+
<th>Dining room</th>
21+
<th>Kitchen</th>
22+
</tr>
23+
</thead>
24+
<tbody>
25+
<tr>
26+
<td><img alt="Dining room" src="dining-room.jpg" width="320"/></td>
27+
<td><img alt="Kitchen" src="kitchen.jpg" width="320"/></td>
28+
</tr>
29+
<tr>
30+
<td colspan="2">images source: <a href="https://nara.getarchive.net/">U.S. National Archives</a></td>
31+
</tr>
32+
</tbody>
33+
</table>
2134

2235
During the course you will learn about writing functions, modules, and classes, which are great tools to achieve the aforementioned separation. However, you must think about it from the very beginning: for start just put all the user inputs first and the final outputs last and clearly mark these parts of your code as input/output.
2336

0 commit comments

Comments
 (0)