# Getting questions to pop up after student answers

**URL:** <https://cl.desmos.com/t/getting-questions-to-pop-up-after-student-answers/2554>\
**Category:** Questions\
**Created:** [February 4, 2021, 3:26pm UTC](https://cl.desmos.com/t/getting-questions-to-pop-up-after-student-answers/2554 "2021-02-04T15:26:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faith\_Biggs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/faith_biggs/32/2062_2.png) [@Faith\_Biggs](https://cl.desmos.com/u/Faith_Biggs)\
**Post date:** [February 4, 2021, 3:26pm UTC](https://cl.desmos.com/t/getting-questions-to-pop-up-after-student-answers/2554/1 "2021-02-04T15:26:04Z")

</div>

Good morning!

So, I am trying to create a code, in which, students have a two-part question, but the second part of the question does not show up until they have answered the first part. Any ideas on how I could code that other than using a table?

---

<div class="post-metadata">

**Author:** ![Susan\_Lauer](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/susan_lauer/32/1832_2.png) [@Susan\_Lauer](https://cl.desmos.com/u/Susan_Lauer)\
**Post date:** [February 4, 2021, 4:37pm UTC](https://cl.desmos.com/t/getting-questions-to-pop-up-after-student-answers/2554/2 "2021-02-04T16:37:46Z")

</div>

I’m thinking you want a question, answer, question, answer scenario. If using **Note** , **Math Input** , **Note** , **Math Input** , you can keep notes hidden using **content:** sink in the CL. You can keep Math Input hidden using **hidden:** sink in the CL.

Assuming your first **Math Input** is input1, put this in the CL for the second question:

```auto
content: feedback
feedback = when not(input1.submitted) "" otherwise "Second question here"

```

And this in the CL for the second answer:

```auto
hidden: when not(input1.submitted) true otherwise false

```

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [February 4, 2021, 5:08pm UTC](https://cl.desmos.com/t/getting-questions-to-pop-up-after-student-answers/2554/3 "2021-02-04T17:08:00Z")

</div>

You can use the hidden sink for notes as well, but “” has the result, so doesn’t matter.
