Systems of Inequalities Checking Tool

Thanks to the help of this forum, I have been able to create a checker for the graphs of a system of inequalities with 1, 2, and 3 constraints (inequalities).

Question: Let’s say I only gave them slide 3 with 3 possible constraints. If a student used it on a problem with just 2 constraints, how can I get the activity to either hide or disregard the blank/empty latex input and line on the graph (i.e if the student leaves inputC blank can I hide the line and get the correctness check to still work?)

https://teacher.desmos.com/activitybuilder/custom/677fe18a3eefc6b6a4cd958a

Ok, I added in a new slide at the end that I think deals with both the issue of only showing the lines for equations that have been entered, as well as letting them enter either equations or inequalities. Let me know if you find any bugs. [Copy of] [In progress] Check My Work Tool • Activity Builder by Desmos Classroom

This is amazing!

I did notice one thing. Let’s say a student starts with the inequality y>3x-1. They make the graph with a dashed line. But let’s say they go back to change it to y=3x-1. It took away the shading but also kept the dashed line AND wouldn’t let me click to change it. It also said the dashed line was correct (which it’s not).

I was thinking it might help to edit line 17 in graphA to an and statement including the equation.
solidA = when ineqA.isStrict 0 otherwise 1

Thoughts?