Skip to content

Instantly share code, notes, and snippets.

@arthur-abogadil
Last active February 23, 2021 23:49
Show Gist options
  • Save arthur-abogadil/d1eb5295e7b37ef9f5d1ecad6d5ff908 to your computer and use it in GitHub Desktop.
Save arthur-abogadil/d1eb5295e7b37ef9f5d1ecad6d5ff908 to your computer and use it in GitHub Desktop.
def explanation_score(score)
if score <= 2
"We have a bad and a good news. The bad news is that your website is not doing things properly in terms of marketing at all, you lack many improvements. The good news is that we can help you to fix that. It's actually that simple, just click the green button and you will find it out."
elsif score <= 4
"Excellent! So you know something about web marketing after all, you are doing many stuff the right way, however you can do it better than that! Just give us the chance to lend you a hand and improve your score together. Click the green button to start enhancing your website."
else
"Your website is pretty good in terms of marketing, you have implemented most of the tools that bring visitors to your page. However, no one is perfect and we can always learn new things and get more visitors. Believe us, we are very good on what we do. Contact us and we will prove it to you!"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment