Write your first line of Astro
本頁內容尚未翻譯。
Get ready to…
- Make your first edit to your new website
Edit your home page
Section titled Edit your home page-
In your code editor, navigate in the Explorer file pane to
src/pages/index.astro
and click on it to open the file’s contents in an editable tab.The contents of your
index.astro
file should look like this: -
Edit the content of your page
<body>
.Type in the editor to change the heading text on your page and save the change.
-
Check the browser preview and you should see your page content updated to the new text.
Congratulations! You are now an Astro developer!
The rest of this unit will set you up for success with version control and a published website you can show off.