Skip to content

Fix sample code in tutorial text to match the exercise solution #463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

gorisanson
Copy link
Contributor

This commit fix sample code in the-form-element tutorial text, which is 01-the-form-element /README.md, to match the exercise solution, which is 01-the-form-element/app-b/src/routes/+page.svelte.

In the-form-element tutorial page,
I found that the sample code in the text was not matched the exercise solution as we can see in the following:

Sample code in the text:

<h1>Todos</h1>

<form method="POST">
  <label>
    add a todo:
    <input
      name="description"
      autocomplete="off"
    />
  </label>
</form>

{#each data.todos as todo}

Exercise solution:

<h1>todos</h1>

<form method="POST">
  <label>
    add a todo:
    <input
      name="description"
      autocomplete="off"
    />
  </label>
</form>

<ul class="todos">
  {#each data.todos as todo (todo.id)}

This PR fix this mismatch.

This commit fix sample code in the-form-element tutorial text, which is `01-the-form-element
/README.md`, to match the exercise solution, which is `01-the-form-element/app-b/src/routes/+page.svelte`.
@vercel
Copy link

vercel bot commented Aug 5, 2023

@gorisanson is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dummdidumm dummdidumm merged commit 10bdf8d into sveltejs:main Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants