Skip to content

Instantly share code, notes, and snippets.

@jaylandro
Created April 9, 2022 23:12
Show Gist options
  • Save jaylandro/6d4b0077433539024c7c91b55dc13e32 to your computer and use it in GitHub Desktop.
Save jaylandro/6d4b0077433539024c7c91b55dc13e32 to your computer and use it in GitHub Desktop.
Javascript object map of weather conditions and emoji
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