Hint matches existing structure and solution #8915
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the discussion there's a hint-- a bit of code that, when added to the existing code, gives the solution to the problem. The bit of code in the hint does not match the pre-existing code or the solution in these ways: 1) different variable name-- number vs. value
2) what transition to use
3) whether to use the transition attribute or the in attribute I have just changed the markup so that the suggested code matches what needs to be added to most quickly arrive at the solution. Otherwise the learner has to also fix/grapple with these other differences.
Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.Tests and linting
pnpm test
and lint the project withpnpm lint