RDB: Build Five Programs workshop gives an invalid hint
#67 605 ouverte le 25 mai 2026
Description
Describe the Issue
The RDB Build Five Programs workshop has a step that fails to give a valid challenge hint when the camper mistypes the command being checked for. Specifically the step that asks this:
Bash has variables, functions, and other things you might be familiar with. You can create a variable with VARIABLE_NAME=VALUE. There cannot be any spaces around the equal (=) sign. If a variable has any spaces in it, place double quotes around it. Create a variable named QUESTION1 and set it's value to "What's your name?".
If the user types in the new variable with an extra quote as below: QUESTION1=""What's your name?"
The hint presented says:
Your script should "echo" the suggested variable correctly
Obviously this hint is invalid as the step doesn't ask us to add an echo statement at all. Please see the screenshot showing the script, the error I made, and the invalid hint displayed.
Affected Page
Your code
#!/bin/bash
QUESTION1=""What's your name?"
Expected behavior
The hint should be talking about "The script should define the variable and it's value correctly." instead of talking about adding an echo statement.
Screenshots
No response
System
tested on codespaces
Additional context
No response