Code Monkey home page Code Monkey logo

javascript's Introduction

Javascript

Welcome to the webpage of our chatbot!

Link to the chatbot

What

Please see here below the UX Prototyp of our bot. This UX Prototyp has been created in Figma.

UX Prototype

Why

A chatbot is a software application used to conduct an on-line chat conversation via text or text-to-speech, in lieu of providing direct contact with a live human agent. A chatbot is a type of software that can automate conversations and interact with people through messaging platforms.

If you're interested to integrate a chatbot into your daily routine or your business life please check here below some advantages and disadvantages of Chatbots.

Advantages of Chatbots

  1. Gather Customer Insights

  2. Increase Sales

  3. Available 24/7

  4. Save Money

  5. Improve Customer Satisfaction

Disadvantages and Risks of Chatbots

  1. Lack Emotions

  2. Difficult to Create

  3. Made to Handle First-Level Questions

  4. Require Maintenance

Chatbots have a number of advantages and disadvantages. However, with the introduction of new technologies and software solutions such as ours, the advantages clearly outweigh the disadvantages.

When

The first self-learning bot was created by Microsoft, which tweeted the self-learning chat Tay in 2016.

Today chatbots are often used in business to advise and provide information to clients. For these purposes, chatbots are most often used in social networks or applications.

Our project has been started on 15/02/2021 and completed on 17/02/2021.

How

Our chatbot is very intelligent and can talk to you in the following structure:

  1. On loading of the page, the bot welcomes the user with a random greeting message (our bot has 5 different welcoming messages).

  2. Then, our chatbot asks the user "How are you doing? Would you like to talk to me?".

  3. The user can reply freely, and the bot will check in the response if he can find a "yes" or a "no":

     if the script find a "yes" in the message, the bot answers with a random sentence from a specific set 
     if the script find a "no" in the message, the bot answers with a random sentence from a specific set 
     if the script cannot find a "yes" or a "no" in the message, the bot answers something like "I didn't understand, can you please try again"
     if the script cannot find a "yes" or a "no" in the message after three attempts, our bot begins to be mad and use "passive-agressive" answer "Are you serious that you don't know how to read questions carefully. I do not want to talk to you anymore. You know where you can find me. Bye!" 
     if our bot receives an empty message, he will answer in the following way "I receive an empty message. Please try again."
    

According to the mood of our bot, a smurf image will be also changed

If the script finds a "yes" in the message

UX

If the script finds a "no"

UX

If the bot cannot find a "yes" or a "no" in the message

UX

If the bot receives an empty message

UX

  1. After this answer, our bot will finish his routine. He says "bye" to the user and the textarea goes to disabled mode.

Sending a message to the bot has been done by clicking the send button and also by pressing ENTER.

Our bot also suppotrs multi-line messages: by typing SHIFT+ENTER, you can create a new line in the textarea.

Who

Our Project Team consists of

  • Frontend Developer - Adriana Lazurca (@adriana-lazurca)
  • Backend Developer - Frances Joffany Navarro (@frances-joffany-navarro)
  • Project Manager - Yuliya Bochkovskaya (@Yuliya-beCode)

If you have any questions in regards to our project, please do not hesitate to contact us directly on GitHub

Please find here below the Lighthouse Performance Score and notification of W3 Html Checker of our website

Lighthouse

W3Checker

javascript's People

Contributors

yuliya-becode avatar

Stargazers

 avatar  avatar  avatar

Forkers

adriana-lazurca

javascript's Issues

Milestone 1

Hi girls,

as already discussed, we have set our first meeting

on 15.02. at 11h00 am.

Agenda points:

  1. Figma design
  2. html structure
  3. js structure.

It will be a pleasure to meet you on Monday ;-)

Kind regards,
Yuliya

Changing format of images

Hey girls,

I have checked with Lighthouse and we have to change the format of images to get a better score.

For it, it is better to directly insert the link of location of image in our HTML and not save the images in local. As I understood it will save the space and guarantee a better score.

image

@Adriana
Could you please insert the links of images directly in HTML and delete the images from the file "pictures"

I have prepared and already tested. Paragraphs are just to show you which image to which action belongs.

<p>Greeting</p>
<img src="https://banner2.cleanpng.com/20180407/ysw/kisspng-smurfette-gargamel-youtube-papa-smurf-the-smurfs-smurfs-5ac8c89458e6f4.7524528815231079883642.jpg" alt="">

<p>Yes</p>
<img src="https://www.pngjoy.com/pngm/89/1879064_princess-poppy-smurfs-the-lost-village-smurf-blossom.png" alt="">

<p>No</p>
<img src="https://banner2.cleanpng.com/20180528/xca/kisspng-gargamel-the-smurfs-azrael-smurfette-brainy-smurf-smurfs-5b0ba75019a488.002803221527490384105.jpg" alt="">

<p>noAnswer</p>
<img src="https://banner2.cleanpng.com/20180402/lwq/kisspng-grouchy-smurf-brainy-smurf-gutsy-smurf-gargamel-sm-smurfs-5ac28a9f9eb7e2.0511911715226989116501.jpg" alt="">

@frances

For your information: I do not know how it will affect the js part. We should check it.

Thank you girls and see you later

Best.
Yuliya

JS/Array for messages

Dear Frances,

as we have discussed, here is the issue TO DO for setting the array of messages.

List of messages you will find here below.

messages.docx

Best,
Yuliya

html/semantic structure

Dear Andriana,

could you please also check the semantic structure of our HTML?

Thanks a lot ๐Ÿ‘

Best,
Yuliya

Message list

Hey girls,

I just have created the message list for our chatboot ๐Ÿ˜‡ and would like to share it with you.

messages.docx

It would be greate to discuss it, e.g. its integration tomorrow durinng our meeting at 11h00.

Have a good evening & see you tomorrow ๐Ÿ˜‰

Best,
Yuliya

html/pictures additing

Dear Adriana,

as already discussed, herewith the issue TO DO to insert the images below into the HTML file.

I will include them through VSC as soon as possible.

greeting
no
noAnswer
yes

Best,
Yuliya

add the scroll

Dear Adriana,

as already discussed, it would be great, if you could add the scroll to the textbox.

Thanks a lot & have a nice evening

Best,
Yuliya

README complete

  • insert Figma UX Prototype
  • check the link and functionality

JS/function for messages

Dear Frances,

after you create an appropriate arrow for our messages, could you please set an appropriate JS function for them.

If you have any questions, please contact me.

Thanks & best,
Yuliya

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.