Course / 01 Start / Lesson 02 of 09

How a lesson question works, and what a hint does

Estimated time: 10 min reading · 10 min activity

At the end of a lesson, a question asks you to use what you have learned. Read the situation, decide what the evidence supports, and select Check. If your answer does not fit, the feedback gives you a next step.

An attempt is an answer you submit for checking. A hint helps you work toward an answer. To reveal an answer means to make it visible. You will try these actions in a sample that does not change your course progress.

Before you begin

Recommended first
What this website is
Estimated time
10 min reading, 10 min activity. Setup and optional practice may take longer.
Where you work
Work on this lesson page in a desktop or mobile browser, with paper or a text editor for notes. You need no installation, account or terminal. The cases describe invented situations; your task is to read and reason about them.
Without a lab
Every worksheet appears in full on the page. A download saves a copy to your device; it is optional. If you cannot download, copy the fields into your notes. Without JavaScript, predict the decisions and explain your reasons on paper. Answer checking needs JavaScript; keeping the result after you leave also needs browser storage.

After this lesson you can:

  • Predict the next hint after an incorrect answer that contains text.
  • Distinguish revealing an answer from submitting a correct answer.
  • Explain what happens to saved progress when you reload or change devices.

01Example

This invented example follows one sample question. The owner permits opening a practice drawer, so yes answers the sample correctly. Read the lines as a sequence of actions and results; there is nothing to type into a computer program.

Sample question: may you open the practice drawer?
Owner's permission: you may open this drawer.

Enter no and Check -> Not yet; Hint 1 appears
Enter no and Check again -> Hint 2 also appears
Enter no and Check a third time -> Hint 3 also appears
Select Show the answer -> yes is displayed
Enter yes and Check -> Correct

This sample never saves course progress, even after Correct.

02Read the situation

The prompt is the instruction beside the answer box. It tells you which evidence to use and how to answer. If it asks for yes or no, type one of those words. A paragraph explaining your choice belongs in your notes.

In this sample, YES and yes count the same, and spaces before or after the word are ignored. A blank submission contains no answer to check, so it asks you to enter an answer without opening a hint. The required question later on this page describes a different situation; its answer need not match the sample.

03Use a hint as a next step

Each incorrect attempt that contains an answer shows Not yet and opens the next hint. There are three hints. Earlier hints stay visible, so you can use them together: find the idea, identify the relevant evidence, then try a specific step.

After the third such attempt, Show the answer becomes available. Select it if the hints have not resolved your difficulty. Read the explanation and connect it to the evidence before submitting again. Revealing does not submit an answer or save completion, and this course has no point penalty for using help.

04Try the sample

First predict what will happen, then compare the sample's response with your prediction. The deliberately wrong answers below demonstrate the controls. Reset sample restarts this demonstration without erasing a completed lesson.

  1. Read the drawer permission in the example. Write why yes fits it before using the sample box below.
  2. Enter no and select Check. Compare the response with the first line of the sequence. Submit no twice more, reading each new hint.
  3. Select Show the answer. Notice that the answer is visible but the box still lets you type. Predict whether a required question would be complete at this point, and explain why.
  4. Enter yes and select Check. The sample now says Correct and its input becomes read-only. The message also says that this sample does not save course progress. Use Reset sample only if you want to repeat the demonstration.
  5. If checking is unavailable, cover the result after each arrow in the example. Predict it, uncover it, and explain any difference. For an ordinary required question, identify the additional saving step that would follow a correct submission.

Try the sample · no saved progress

The fictional owner says you may open this practice drawer. Is opening it permitted? Type yes or no.

Reset affects only this sample. Your lesson answers stay saved.

Follow the sample form

This display follows the one sample form above. It does not save course progress.

Form status
ready
Hints shown
0
Nonblank misses
0
Answer help shown
no
Sample locked
no
  1. Blank Check

    The form asks for an answer. A blank submission opens no hint and adds no nonblank miss.

  2. First nonblank miss

    Miss count becomes 1 and Hint 1 appears. The form remains available.

  3. Second nonblank miss

    Miss count becomes 2. Hints 1 and 2 remain visible together.

  4. Third nonblank miss

    Miss count becomes 3. All three hints remain visible and a separate Show the answer button becomes available.

  5. Show the answer

    This separate help action displays the answer and moves focus to that help. It does not submit or complete the sample.

  6. Correct sample submission

    Only this sample locks. Its confirmation does not save course progress or complete the lesson’s independent question.

  7. Reset sample

    The existing sample form returns to a blank input: no hints, misses, revealed help or lock. Saved lesson answers are unchanged.

This is the sample’s action/result sequence, separate from the lesson’s independent understanding question. Reveal is help; submission and completion have their own behavior.

05Where progress lives

An ordinary required question records a correct answer in this browser when storage is available. The input becomes read-only after a correct check. Reloading the page restores a saved result. In lessons with several required checks, finish all of them for the lesson to count as complete.

Browser storage is information a site keeps in the browser on your device. This course does not automatically synchronize it through an account. Another device, browser profile or site address may start with different progress. Private browsing may discard saved data when the private session ends.

Hints, incorrect attempts and a revealed answer for an unfinished question restart after a full page reload. They are different from a saved correct result. If a message says the browser could not save, the answer is correct for this visit. You can allow storage for this site and select Retry saving, or keep a private note of where you stopped.

06Optional challenge

Allow about 5 extra minutes. Mina submits a correct required answer and saving succeeds. Predict what she sees after reloading the same browser, then after visiting on a new phone. Explain each prediction using where the result is stored; do not clear browser data to try it.

07Fresh cases for the checks

Use these fictional cases for the checks below. They have different inputs from the worked examples. Read them here or make notes; no installation or external service is needed.

Question case A: ordinary required checkOwned fixture. An original file made for this course. Follow the activity's instructions in your own lab.

Initial state: unfinished, no hints opened. Events: blank submission; incorrect answer containing text; Show the answer is not yet available; another incorrect answer containing text. Saving is available. No correct answer has been submitted.

Question case B: a separate visitOwned fixture. An original file made for this course. Follow the activity's instructions in your own lab.

Tala answers every required check correctly, and saving succeeds. She leaves an optional check unanswered. After reloading the same browser, she sees the saved required results. She then opens a new browser profile without importing progress.

08Describe the sequence

Optional written self-check: Trace a blank answer, a wrong nonblank answer, reveal, correct submission and successful saving. Check that you distinguish opening a hint, displaying information and recording a result. Explain what a reload retains and what the page’s separate sample never saves.

09Common mistakes

If Check opens no hint, inspect the answer box. A blank answer does not count as an incorrect attempt; enter the response you want to check.

If the box becomes read-only after Correct, that is expected. A saved correct result stays completed after a reload. Reset sample affects only the demonstration.

If checking is unavailable, continue with the prediction activity. The site's checker needs JavaScript and a secure connection, normally an address beginning with https://. A local developer preview may use localhost instead.

The sample's yes answers the drawer question. For Mina's question, follow what she has actually done rather than copying that sample answer.

References

  • MDN: Browser storage

    Optional technical detail about saving information between visits, private browsing and settings that prevent storage. The lesson's checking sequence is defined by this site's own controls.