I’m failing test 15 (You should display a numbered list of the services you offer before the first prompt for input, each with the format #) . For example, 1) cut, where 1 is the service_id), but here is my output, it matches what was described in another forum post by an instructor. Can you help me understand what I’m doing wrong?
Your code so far
camper: /project$ ./salon.sh
~~~~~ MY SALON ~~~~~
Welcome to My Salon, how can I help you?
1) haircut-short
2) haircut-medium
3) haircut-long
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Safari/605.1.15 Ddg/26.2
Challenge Information:
Build a Salon Appointment Scheduler - Build a Salon Appointment Scheduler
Hi – have you had a chance to look at my repo? My code meets the requirements but doesn’t pass the tests. I’ll be very grateful for any guidance you can provide.
~~~~~ MY SALON ~~~~~
Welcome to My Salon, how can I help you?
1) cut
2) color
3) perm
4) style
5) trim
10
I could not find that service. What would you like today?
1) cut
2) color
3) perm
4) style
5) trim
1
What's your phone number?
555-555-5555
I don't have a record for that phone number, what's your name?
Fabio
What time would you like your cut, Fabio?
10:30
I have put you down for a cut at 10:30, Fabio.
Welcome to My Salon, how can I help you?
1) cut
2) color
3) perm
4) style
5) trim
10
I could not find that service. What would you like today?
1) cut
2) color
3) perm
4) style
5) trim
1
What's your phone number?
555-555-5555
I don't have a record for that phone number, what's your name?
Fabio
What time would you like your cut, Fabio?:
10:30
I have put you down for a cut at 10:30, Fabio.
camper: /project$
I think I’ve matched your output exactly, but it’s still failing from here forward:
You should display a numbered list of the services you offer before the first prompt for input, each with the format #) <service>. For example, 1) cut, where 1 is the service_id
Thanks for continuing to work through this with me.
This is the first line of my output, I missed it in the cut-and-paste — and I just pasted it in again and it looks like the formatted text won’t accept the ~~~~ characters, but they’re definitely there.
I got rid of the colon, the output looks good, but it still fails. So frustrating!
Welcome to My Salon, how can I help you?
1) cut
2) color
3) perm
4) style
5) trim
10
I could not find that service. What would you like today?
1) cut
2) color
3) perm
4) style
5) trim
1
What's your phone number?
555-555-5555
I don't have a record for that phone number, what's your name?
Fabio
What time would you like your cut, Fabio?
10:30
I have put you down for a cut at 10:30, Fabio.
Hi Hanaa, have you had a moment to look at my latest code? I’m eager to complete the certification for this course, but can’t take it until I get this project to pass. Thank you kindly.
Hi Hanaa, just checking in — will you be able to review my latest code to see if we can figure out why I’m matching the expected output but not passing the tests?