Answer:
Yes, capitalising makes a difference.
Texts within quoted (" ") are referred to as string.
Step-by-step explanation:
When writing strings, capital and small letters are regarded as distinct entities;
Meaning that "boy" is different from "Boy"; irrespective of the programming language.
Similarly, the string "yellow" is not the same as string "Yellow" or "YELLOW".
THIS IS SO, IRRESPECTIVE OF THE PROGRAMMING LANGUAGE.
So, the interface from the question will display "Nope" (without the quotes), if the input string is "YELLOW" or ",YellOW" because these two strings are not the same as "yellow"