Although both come from the oral tradition , the legend is a folkloric event adorned with the contributions that the word of mouth entails, but starting from a real base, and the myth is the narration of supernatural and heroic facts or characters that try to explain things as aspects of nature, origins of the world or religious linked to different civilizations.
https://sartimsolutions.com/website-designing/