# AI & Machine Learning 21.6c

**URL:** <https://forum.code.org/t/ai-machine-learning-21-6c/40700>\
**Category:** AI Curriculum Topics\
**Created:** [April 25, 2025, 1:43pm UTC](https://forum.code.org/t/ai-machine-learning-21-6c/40700 "2025-04-25T13:43:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drew.fulkerson](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@drew.fulkerson](https://forum.code.org/u/drew.fulkerson)\
**Post date:** [April 25, 2025, 1:43pm UTC](https://forum.code.org/t/ai-machine-learning-21-6c/40700/1 "2025-04-25T13:43:47Z")

</div>

Please provide code examples for 21.6c in the AI & Machine Learning course. Most importantly, we need assistance with the conditional and value variable section.

---

<div class="post-metadata">

**Author:** ![drew.fulkerson](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@drew.fulkerson](https://forum.code.org/u/drew.fulkerson)\
**Post date:** [May 6, 2025, 2:41pm UTC](https://forum.code.org/t/ai-machine-learning-21-6c/40700/2 "2025-05-06T14:41:45Z")

</div>

I believe we figured out the issue. Some students were deleting the ‘Predict’ button and the output box that states the suggested club. I advised students to make the Predict button and the outbox box its own page after the question pages. Once the Predict button is clicked, the value==“Club Name” conditions should lead to pages that state the club name and a corresponding image.
