I\'m trying to make second language option to the website. Here are the details for the project :
1) I\'m not trying to use Google translator system or any other aut
Javascript is your best bet. In your tags, you want to add an
onclick
event listener so that you can change the text of an HTML element when you select a list item.
- English
- Korean
Here, the onclick
attribute calls the function: function toggleLanguage(language)
.
Next, create a tag after the body to call your javascript code.
Show English Text