Skip to content

Turbo Drive: Add knowledge check questions #29803

@Monatric

Description

@Monatric

Checks

Describe your suggestion

Knowledge check is almost a staple for every lesson. However, the Turbo Drive lesson is oddly missing that important element.

I am proposing to add a knowledge check section in this lesson. Here are my few suggestions to include in knowledge check:

  1. What is page navigation defined by Turbo Drive?
  2. What is the default visit action that adds a new entry to the browser history?
  3. How do you change the action of a Turbo Drive link?
    • Answer within the TOP lesson: <%= link_to "Edit Article", edit_article_path(@article), data: { turbo_action: "replace" } %>
  4. How do you disable Turbo Drive?
  5. What is the HTTP status code that Turbo cannot handle?
  6. How do you require confirmation for a visit?
  7. How does Turbo speeds up perceived link navigation latency?

My thought process with this selection is to further reinforce the understanding around link navigation, as forms are covered later in the course. This also aligns with the goal of the lesson's assignment.

Path

Ruby / Rails

Lesson Url

https://www.theodinproject.com/lessons/ruby-on-rails-turbo-drive

(Optional) Discord Name

Koko

(Optional) Additional Comments

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions