Vinicius Sena Posted December 21, 2022 at 04:35 PM Report Share #629073 Posted December 21, 2022 at 04:35 PM Boa Tarde, Estou começando nos estudos a programação e resolvendo alguns exercícios on-line e não consigo perceber o erro no seguinte exercício proposto... Let's create some more variables. How about your year of birth and how many hours you've been dealing with this code challenge up to now? Remember to use meaningful names, and respect the convention. Go! var YearOfBirth = 1983; var PriceOfBanana = 21; var QuestionsForFinish = 54; var NumberOfHours = 77; console.log(YearOfBirth); console.log(PriceOfBanana); console.log(QuestionsForFinish); console.log(NumberOfHours); porém me retorna o seguinte erro... >>>>Code is incorrect Make sure you are using meaningful names to your variables Imagino que seja algo simples, mas não percebo. Onde estou errando ? Link to comment Share on other sites More sharing options...
Solution Zex Posted December 21, 2022 at 05:03 PM Solution Report Share #629080 Posted December 21, 2022 at 05:03 PM Os correctores automáticos exigem que se obedeça a todos os pormenores do enunciado. Quantas variáveis é que refere no enunciado? Link to comment Share on other sites More sharing options...
Vinicius Sena Posted December 21, 2022 at 05:21 PM Author Report Share #629085 Posted December 21, 2022 at 05:21 PM perfeito, presumi errado, fiz um novo código com apenas duas variáveis como sugerido no enunciado seguindo o padrão e funcionou. Obrigado Link to comment Share on other sites More sharing options...
jsWizard Posted December 21, 2022 at 08:21 PM Report Share #629101 Posted December 21, 2022 at 08:21 PM variáveis com camel case normalmente têm a primeira letra minúscula. 1 Report Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now