Ask Greg

Ask Greg

Description

Ask Greg is an alternative to a traditional portfolio. It consists of a simple user interface where you can type or say a question directed at me. If there is an answer, it will give it to you.

What I Did

I created the design using simple HTML and CSS. I also wrote the JavaScript which parses the question and returns the answer. After getting the basic framework down, I added the voice-to-speech capability using the Web Speech API for Chrome. You must be using Chrome to use this feature. While most of the questions that currently have an answer are simple, there are some questions which provide current information related to me; such as “What is the weather like where you live?” or “How old are you?”. These are questions which have variable answers, and will provide the current answer based on online APIs or a simple mathematical calculation such as the one to calculate my age.

Live Demo

http://greghare.me/ask