Created
November 14, 2020 11:56
-
-
Save MarcL/0561c83e8445f3ffc801a5a13415abef to your computer and use it in GitHub Desktop.
Example code gist for my blog post on pretty code screenshots
This file contains 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
function helpMe(question) { | |
return { | |
question, | |
response: 'Look here...', | |
url: 'https://marclittlemore.com/create-pretty-code-screenshots' | |
}; | |
} | |
// Help me! | |
const answer = helpMe("How do I make pretty code screenshots?"); | |
// Redirect to find out more | |
window.location.href = answer.url; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment