Can someone please help me? I’m starting to get frustrated here lol. It seems like I’m constantly running into new issues with CodeAlly. It first started when I couldn’t get the check mark for Mario Database course, but after searching the forums for a while I was able to resolve that. Now I’m on the Learn Bash by Building 5 Applications course and I started noticing I would have to reset the test just about EVERY SINGLE time I passed the previous section in order for the test to acknowledge I had the correct answer. Then I come up to test 1610 and it would not accept my answer as correct no matter what. Even if I copy and past exactly what it told me to add into the file, it would tell me it’s incorrect. I’ve been searching the forums and I still have yet to find a solution. I’ve tried resetting the progress, Exit terminal and opening a new one, refreshing the page and soft reset the VM. Here’s the one I’m stuck on:
And here’s my countdown.sh file
#!/bin/bash
# Program that counts down to zero from a given argument
echo -e "\n~~ Countdown Timer ~~\n"
if [[ $1 -gt 0 ]]
then
: '
for (( i = $1; i >= 0; i-- ))
do
echo $i
sleep 1
done
'
else
echo Include a positive integer as the first argument.
fi
Thanks in advance