curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Ruby on Rails: Stimulus: Fix a faulty example

Open RolandStuder opened this issue 3 years ago • 0 comments

Complete the following REQUIRED checkboxes:

  • [x] I have thoroughly read and understand The Odin Project Contributing Guide
  • [x] The title of this PR follows the location of change: brief description of change format, e.g. Intro to HTML and CSS lesson: Fix link text

Complete the following checkboxes ONLY IF they are applicable to your PR. You can complete them later if they are not currently applicable:

  • [x] I have previewed all lesson files included in this PR with the Markdown preview tool to ensure the Markdown content is formatted correctly
  • [x] I have ensured all lesson files included in this PR follow the Layout Style Guide

1. Because:

The example code for targets has several errors, switching target, having invalid closing input tags, it just plain won't work, when people try to copy it.

2. This PR:

Puts correct code, that can be put into your application and will work.

3. Additional Information:

example of a confused person: https://discord.com/channels/505093832157691914/514204607770001411/1015910188190011402 they were not the first person to be confused by this.

RolandStuder avatar Sep 05 '22 21:09 RolandStuder