What You Will Learn
- How inputs and rules can create a recommendation.
- Why explanations help users judge suggestions.
- How to test a recommendation with different user choices.
- How to improve a rule when the suggestion feels unfair or confusing.
Lesson 3
Mission: Create a simple recommender that suggests an item and explains the reason.
Students compare preferences and features to recommend a book, game, activity, study strategy, or project idea. The goal is to make the suggestion understandable, not mysterious.
The teacher enters two different sets of preferences and shows how the recommendation and explanation change.
Open the starter program, sign in if required, fork or copy the program, and return to this page for the tasks.
Open CodeHS Starter CodeTry three different user profiles. Write down whether the recommendation feels helpful, surprising, or confusing.
Your recommender should give a clear suggestion, explain the reason, and produce different results when the user's choices change.