Created
April 9, 2022 23:12
-
-
Save jaylandro/6d4b0077433539024c7c91b55dc13e32 to your computer and use it in GitHub Desktop.
Javascript object map of weather conditions and emoji
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const emojiMap = { | |
'cloudy': 'βοΈ', | |
'fog': 'π«', | |
'lightrain': 'π¦', | |
'partlyCloudy': 'π€', | |
'rain': 'π§', | |
'snow': 'π¨', | |
'sunny': 'βοΈ', | |
'thunderstorms': 'β', | |
'wind': 'π¨' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment