Tell us what’s happening:
The 1.16 test are not accepting the code, and it does exactly what it asks for. I can’t get a answer for that.
Your code so far
echo -e "\\nWelcome to My Salon, how can I help you?\\n"
SERVICE_MENU () {
echo "$SERVICES" | while read SERVICE_ID BAR NAME
do
echo "$SERVICE_ID) $NAME"
done
read SERVICE_ID_SELECTED
SERVICE_CHOSE=$($PSQL "SELECT name FROM services WHERE service_id=$SERVICE_ID_SELECTED")
if \[\[ -z $SERVICE_CHOSE \]\]
then
echo -e "\\nWelcome to My Salon, how can I help you?\\n"
SERVICE_MENU
It asks that should show the same list if it don’t pick a existing option.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Challenge Information:
Build a Salon Appointment Scheduler - Build a Salon Appointment Scheduler
