I am new here, so I am not familiar with the appropriate ways.
I am also danish, so pardon my english … 
I am also a totally newby to JavaScript.
https://jsfiddle.net/lars1959/0wmuzs8o/4/
I have two conditional elements, that I can only get working in two different scripts, IT THAT REALLY RIGHT???
Is there now way, I can get this to work in one script???
Hello @Lars_Jensen
your code is fine there different way also but not sure if you learned about ternary statement or not so the if can be replaced by this
hjem.textContent = (home === 'København') ? 'Du er københavner' : 'Du bor på "landet"';
not sure what you mean with 2 different scripts
you can use your native language if you like i guess the translator would help me or maybe someone from the community who called speak your language could help to translate it
if you have link to the task even if it not part of Mozilla course it’s fine we would help with it
and have a nice day 
1 Like