You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/learn/tutorial-tic-tac-toe.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ You can see what it will look like when you're finished here:
33
33
{% include "../../examples/python/tutorial-tic-tac-toe/tic_tac_toe.py" end="# end" %}
34
34
```
35
35
36
-
=== "stylesheet.css"
36
+
=== "styles.css"
37
37
38
38
```css
39
39
{% include "../../examples/css/tutorial-tic-tac-toe/tic_tac_toe.css" %}
@@ -62,7 +62,7 @@ In the code example below, click **Run** to open the editor in a new tab using t
62
62
{% include "../../examples/python/tutorial-tic-tac-toe/setup_for_the_tutorial.py" start="# start" %}
63
63
```
64
64
65
-
=== "stylesheet.css"
65
+
=== "styles.css"
66
66
67
67
```css
68
68
{% include "../../examples/css/tutorial-tic-tac-toe/setup_for_the_tutorial.css" %}
@@ -93,25 +93,25 @@ Now that you're set up, let's get an overview of React!
93
93
94
94
### Inspecting the starter code
95
95
96
-
In CodeSandbox you'll see three main sections:
96
+
In Jupyter you'll see three main sections:
97
97
98
-
![CodeSandbox with starter code]()
98
+
<!-- TODO: Add screenshot -->
99
+
![TODO: screenshot of Jupyter]()
99
100
100
-
1. The _Files_ section with a list of files like `App.js`, `index.js`, `styles.css` and a folder called `public`
101
-
1. The _code editor_where you'll see the source code of your selected file
102
-
1. The _browser_ section where you'll see how the code you've written will be displayed
101
+
1. The _Files_ section with a list of files like `tic-tac-toe.ipynb`
102
+
2. The _interactive code notebook_where you'll see the source code for each step
103
+
3. The _run button_ located on top of the notebook in the command strip
103
104
104
-
The `App.js` file should be selected in the _Files_ section. The contents of that file in the _code editor_ should be:
105
+
The `tic-tac-toe.ipynb` file should be selected in the _Files_ section. Click on the first code box, where the contents of that_code editor_ should be:
105
106
106
-
```jsx
107
-
exportdefaultfunctionSquare() {
108
-
return<button className="square">X</button>;
109
-
}
107
+
```python linenums="0"
108
+
{% include "../../examples/python/tutorial-tic-tac-toe/setup_for_the_tutorial.py" start="# start"%}
110
109
```
111
110
112
-
The _browser_ section should be displaying a square with a X in it like this:
111
+
After clicking the _run button_ the notebook should be displaying a square with a X in it like this:
113
112
114
-
![x-filled square]()
113
+
<!-- TODO: Add screenshot -->
114
+
![TODO: x-filled square]()
115
115
116
116
Now let's have a look at the files in the starter code.
0 commit comments