[pt-br] Erro no cógigo #19854
Labels
l10n-pt-br
Issues related to Brazilian Portuguese
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/pt-BR/docs/Learn/Getting_started_with_the_web/JavaScript_basics
What specific section or headline is this issue about?
Adding a personalized welcome message
What information was incorrect, unhelpful, or incomplete?
In number 4.. The code JS is this:
if (!localStorage.getItem("name")) {
setUserName();
} else {
const storedName = localStorage.getItem("name");
myHeading.textContent =
Mozilla is cool, ${storedName}
;}
When translate for "Portuguese", the code is this:
if (!localStorage.getItem("name")) {
setUserName();
} else {
const storedName = localStorage.getItem("name");
myHeading.textContent =
Mozilla é legal, ${storedName
;}
last line: myHeading.textContent =
Mozilla é legal, ${storedName"???????"
;Sorry, I don´t speack english. Is my best way.
What did you expect to see?
Só queria avisar que faltava um caractere.
if (!localStorage.getItem("name")) {
setUserName();
} else {
const storedName = localStorage.getItem("name");
myHeading.textContent =
Mozilla is cool, ${storedName}
;}
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
pt-br/learn/getting_started_with_the_web/javascript_basics
The text was updated successfully, but these errors were encountered: