Skip to content

Commit 73dadc9

Browse files
committed
Inspecting the starter code
1 parent ad10c29 commit 73dadc9

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

docs/src/learn/get-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ You can fetch data from a variety of sources and directly embed it into your com
112112
{% include "../../examples/python/quick_start/displaying_data.py" end="# end" %}
113113
```
114114

115-
=== "stylesheet.css"
115+
=== "styles.css"
116116

117117
```css
118118
{% include "../../examples/css/quick_start/displaying_data.css" %}
@@ -220,7 +220,7 @@ If you render the same component multiple times, each will get its own state. Cl
220220
{% include "../../examples/python/quick_start/updating_the_screen.py" end="# end" %}
221221
```
222222

223-
=== "stylesheet.css"
223+
=== "styles.css"
224224

225225
```css
226226
{% include "../../examples/css/quick_start/updating_the_screen.css" %}
@@ -284,7 +284,7 @@ When you click the button, the `on_click` handler fires. Each button's `on_click
284284
{% include "../../examples/python/quick_start/sharing_data_between_components.py" end="# end" %}
285285
```
286286

287-
=== "stylesheet.css"
287+
=== "styles.css"
288288

289289
```css
290290
{% include "../../examples/css/quick_start/sharing_data_between_components.css" %}

docs/src/learn/tutorial-tic-tac-toe.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ You can see what it will look like when you're finished here:
3333
{% include "../../examples/python/tutorial-tic-tac-toe/tic_tac_toe.py" end="# end" %}
3434
```
3535

36-
=== "stylesheet.css"
36+
=== "styles.css"
3737

3838
```css
3939
{% 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
6262
{% include "../../examples/python/tutorial-tic-tac-toe/setup_for_the_tutorial.py" start="# start" %}
6363
```
6464

65-
=== "stylesheet.css"
65+
=== "styles.css"
6666

6767
```css
6868
{% 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!
9393

9494
### Inspecting the starter code
9595

96-
In CodeSandbox you'll see three main sections:
96+
In Jupyter you'll see three main sections:
9797

98-
![CodeSandbox with starter code]()
98+
<!-- TODO: Add screenshot -->
99+
![TODO: screenshot of Jupyter]()
99100

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
103104

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:
105106

106-
```jsx
107-
export default function Square() {
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" %}
110109
```
111110

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:
113112

114-
![x-filled square]()
113+
<!-- TODO: Add screenshot -->
114+
![TODO: x-filled square]()
115115

116116
Now let's have a look at the files in the starter code.
117117

0 commit comments

Comments
 (0)