Anagram: Tell the user if we found no anagrams.

master
gdrooid 2014-07-11 17:58:33 +02:00
parent 334f504f3c
commit 8d25f5c0dc
2 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,7 @@ handle remainder => sub {
my @chars = shuffle split (//, $word);
$w = join '', @chars;
} while ($w eq $word);
return $word, html => html_output ("\"$word\" scrambled", $w);
return $word, html => html_output ("Sorry, we found no anagrams for \"$word\". We scrambled it for you:", $w);
}
my $response = join ', ', @output;

View File

@ -8,5 +8,6 @@
}
.zci--anagrams .text--secondary {
font-weight: 400;
font-size: 1.1em;
}