Code Monkey home page Code Monkey logo

project-chatbot's Introduction

Project Name

The task was to create a simple chatbot that will respond and react to user’s input

The chat should display questions from the bot and responses from the user.

The problem

We have solved the task using the following methods: a. Created a set of global DOM variables that fetch the html elements with getElementbyID() b. Set up a questionHandler function that uses questionNumber variable to invoke different functions depending on the number of the question. c. Set up a series of functions that modify the html file’s form element with InnerHTML method to display various options for user’s input. d. Within each function we have also set up eventListeners to fetch the user’s input and pass it to the next function

View it live

You can have a look at our chat live on Netlify: https://blissful-villani-8a009f.netlify.app/.

project-chatbot's People

Contributors

klimenko3007 avatar emmabartl avatar jenniedalgren avatar hippiekick avatar

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.