Learn Bash Scripting by Building Five Programs - Build Five Programs

Tell us what’s happening:

what did I do wrong ?

#!/bin/bash
QUESTION1="What's your name?"
echo $QUESTION1
read NAME
QUESTION2="Where are you from?"
echo $QUESTION2
read LOCATION
echo Hello $NAME from $LOCATION.
echo -e "\n~~ Questionnaire ~~\n"

Warning: Your script should "echo" the suggested text correctly.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0

Challenge Information:

Learn Bash Scripting by Building Five Programs - Build Five Programs

Welcome back to the forum @lamto20050505

Try placing the echo for the title as the first echo.

Happy coding

1 Like