-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
45 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"liveServer.settings.port": 5501 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ee09513
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parabéns pela entrega!
Requisitos do projeto ✅
Comentários da pessoa avaliadora
Olá Andreza!
Seu projeto ficou bem legal, as variáveis estão com nomenclaturas que fazem sentido, usando a prática do camelCase corretamente, vi que você tentou usar o localeCompare na questão 12, mas antes de comparar com esse médodo é necessário transformar as strings no mesmo case, minúsculo ou maiúsculo, ela retorna o número
0
caso as strings forem iguais, então você pode fazer uma verificação, se o resultado do localeCompare vier 0, você retorna o valortrue
, caso não, você retornafalse
, exemplo:return string1.toLowerCase().localeCompare(string2.toLowerCase()) === 0 ? true : false
.No mais, parabéns pelo projeto, bons estudos!