Create Floating HTML CSS JS Website Browser Chatbot - Powered by OpenAI GPT


In this interactive course, participants will learn how to build a floating chatbot for websites using HTML, CSS, and JavaScript, powered by OpenAI's GPT models. Starting with code basics sourced from GitHub, you will gain hands-on experience in integrating cutting-edge AI technology into a web-based chatbot. The course covers essential steps from obtaining an OpenAI API key and understanding API documentation, to practical implementation and testing in a browser environment. Transform your web projects by embedding intelligent conversational agents that can interact dynamically with users.

What You will Learn?

  • Download essential HTML, CSS, and JS code from GitHub to start your project.
  • API Integration: Learn how to obtain and use an OpenAI API key for powering your chatbot.
  • Understanding AI Documentation: Gain insights into OpenAI documentation to utilize GPT models effectively.
  • Code Refactoring: Convert CURL commands into JavaScript to enable AI functionalities directly from the browser.
  • Real-world Testing: Test and debug your chatbot in a browser setting to ensure seamless user interactions.


  • Basic knowledge of HTML, CSS, and JavaScript.
  • Familiarity with API usage and web development tools.
  • An interest in AI technologies and application development.


  • Web Development Proficiency: Enhance your ability to construct and style web components.
  • API Mastery: Become proficient in handling API integrations, crucial for modern web applications.
  • AI Application Knowledge: Understand the practical applications of AI in web interfaces and the ability to implement conversational AI models.
  • Problem-solving: Develop troubleshooting and debugging skills in a real-world project context.
    This core section of the course will guide participants through the entire process of building a floating chatbot using HTML, CSS, and JavaScript, powered by OpenAI GPT models. Beginning with the initial setup of downloading and configuring the necessary code from GitHub, the course will delve into obtaining and configuring an OpenAI API key essential for powering the chatbot. Participants will also explore how to understand and utilize OpenAI's API documentation effectively. The journey continues with hands-on exercises where students will refactor provided CURL commands into JavaScript, allowing for AI functionalities to be executed directly from the browser. The section culminates with rigorous testing and debugging practices to ensure the chatbot operates smoothly and efficiently, providing a real-time interactive experience on any website. This practical and immersive approach ensures learners not only grasp the technical details but also apply them to create innovative, AI-driven web solutions.

Tutor: Bertha Kgokong

Software Programmer And Tech Entrepreneur

Software Programmer and Tech Entrepreneur, i have extensive experience in Software Development - end-to-end in most platforms, Business Processes and Entrepreneurship. I am a fully qualified Engineer, with a Bachelors Degree and Masters in Business Administration - with over 17 years of professional experience. I am also an entrepreneur with a couple of award winning ventures and projects in Software Development.