Closed MaxKaye closed 8 years ago
Are you using Chrome's built-in translator?
no- Using mac's translator to get the words
This sounds like it may be a Mac-specific issue, although I'm unsure. Would you mind going to the Genius Bar?
code here: github.com/MaxKaye/project1
and for the last question I am trying to log the chinese here is what I have:
function logCharacters(chinese, english, pinyin) { console.log('a[' + english + '] = ' + chinese); } [你好,早上好,吃饭].forEach(logCharacters);
yes i will
@MaxKaye Made some good headway here. Feel free to re-open this issue if you have any additional questions.
@amaseda thank you! got the refresh function running!
Is there any way that I can create a set of pinyin and english without having to create new functions? How do I get it to flip back and forth without having to refresh the page? when I click translation to English, Chinese character still remains. How do I get it so that “Chinese Character” switches to “English Text”?
My Chinese characters show up as illegal token when I call an array. Anyway to fix this?