Skip to content

Commit 6b00ac1

Browse files
authored
Merge pull request #59 from pyscript/basic-css
Ensure PyScript core CSS is referenced in the beginner's guide code examples.
2 parents e62054a + 05ef1fd commit 6b00ac1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/beginning-pyscript.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ module in the document's `<head>` tag:
106106
<meta charset="utf-8" />
107107
<meta name="viewport" content="width=device-width,initial-scale=1" />
108108
<title>🦜 Polyglot - Piratical PyScript</title>
109+
<link rel="stylesheet" href="https://pyscript.net/releases/2024.1.1/core.css">
109110
<script type="module" src="https://pyscript.net/releases/2024.1.1/core.js"></script>
110111
</head>
111112
<body>
@@ -156,6 +157,7 @@ In the end, our HTML should look like this:
156157
<meta charset="utf-8" />
157158
<meta name="viewport" content="width=device-width,initial-scale=1" />
158159
<title>🦜 Polyglot - Piratical PyScript</title>
160+
<link rel="stylesheet" href="https://pyscript.net/releases/2024.1.1/core.css">
159161
<script type="module" src="https://pyscript.net/releases/2024.1.1/core.js"></script>
160162
</head>
161163
<body>
@@ -234,7 +236,7 @@ account and change it to your satisfaction.
234236

235237
### From a web server
236238

237-
Just host the three files (`pyscript.toml`, `index.html`
239+
Just host the three files (`pyscript.json`, `index.html`
238240
and `main.py`) in the same directory on a static web server somewhere.
239241

240242
Clearly, we recommend you use [pyscript.com](https://pyscript.com) for this, but any

0 commit comments

Comments
 (0)