Tell us what’s happening:
CodeRoad doesn’t seem to recognise I’ve added the code correctly in a step.
The step is: “Now, your function will print one thing if you pass it any argument, and something else if not. In the until loop, add again as an argument to where you call the function.”
I’ve added the code (as below) and it looks exactly like the hint. I’ve even tried copying from the hint. It still says my script should call suggested function correctly.
until [[ $QUESTION =~ ?$ ]]
do
GET_FORTUNE again
done
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0
Challenge Information:
Build Five Programs - Build Five Programs