- Clone this branch
- Run
$ yarn install
- Than start serving with:
$ yarn serve
- Everything you need is in the src directory
- Push your results to your public repo
- Give access to [email protected] and [email protected]
- Clean and readable code
- Good refactoring skills
- Reusable code fragments
Your task is to fix the broken chatbot and write as many features properly as you can.
- You should fix the broken iteration process:
- Display the chatbot messages
- Allow to answer the questions asked by the chatbot, for example:
- What's your name?
- How was your day?
- Where are from?
- How old are you?
- What's your favorite hobby?
- Show each of your message in a blue bubble
class="me"
and the chatbot messages in a gray bubbleclass="him"
. - At the start of a new chat (example: reloading the site), the button message should write: Let's chat, after that the text changes to: Send Message.
- After the chat ends, you should disable the button.
- Try to refactor and clean up the code as much as possible.
- Load the messages via Axios from a json file
- Use Vue Composition API
- Be creative and add nice features
- Add vue-typed-js for type animations
- Scroll always to the last message