CoursesCSS StudioExamplesGATECompaniesPrepMentora
Programs/JavaScript/Mini Projects

17 / 20

Next
1. Todo List2. Calculator3. Stopwatch4. Countdown Timer5. Quiz App6. Weather App7. Image Carousel8. Modal/Lightbox9. Tabs/Accordion10. Autocomplete Search11. Shopping Cart12. Tic-Tac-Toe13. Snake Game14. Memory Game15. Drag and Drop List16. Form Builder17. Chat Application18. Data Table with Sort/Filter19. Progress Bar20. Infinite Scroll

Mini Projects

  1. 01Todo List
  2. 02Calculator
  3. 03Stopwatch
  4. 04Countdown Timer
  5. 05Quiz App
  6. 06Weather App
  7. 07Image Carousel
  8. 08Modal/Lightbox
  9. 09Tabs/Accordion
  10. 10Autocomplete Search
  11. 11Shopping Cart
  12. 12Tic-Tac-Toe
  13. 13Snake Game
  14. 14Memory Game
  15. 15Drag and Drop List
  16. 16Form Builder
  17. 17Chat Application
  18. 18Data Table with Sort/Filter
  19. 19Progress Bar
  20. 20Infinite Scroll

Chat Application in JavaScript

Create a chat application

AdvancedMini ProjectsExample 17 of 20
chat-application.js
1class Chat {
2 constructor() { this.messages = []; }
3 send(message) { this.messages.push({text: message, time: Date.now()}); }
4 getMessages() { return this.messages; }
5}

Output

// Chat functionality

What's going on

Chat Application enables messaging.

PreviousForm BuilderNextData Table with Sort/Filter

On this page

CodeOutputExplanation
Up nextData Table with Sort/Filter
Schoolabe

Learn, Practice, Ace Coding

ExamplesCompaniesTutorialsCSS StudioDSA VisualizersQuizInterview PrepMentoraCareer QuestGATE CS prepGATE CS 2027 study planJob ReadyInternships
AboutContactCareersAffiliate programBlog
DocumentationAPI ReferenceCommunitySupport
Privacy PolicyTermsRefund PolicyCookie Policy

© 2026 Schoolabe