My HTML tag is this <html lang="en-US">
, When I change language from English to Danish lang tag changed to this <html lang="da-DK">
.
Problem: I want to add a class class="xyz"
when my selected language is <html lang="da-DK">
.
Any possible solution to add a class using javascript.