Project

Simple Chat Bot (JavaScript)

Easy
2426 completions
~ 3 hours
4.2

Get to know the basic syntax of JavaScript and write a simple program using variables, conditions, loops, and functions.

Provided by

JetBrains Academy JetBrains Academy

About

Here, at the beginning of your programmer’s path, creating a simple console chat bot will do wonders to guide you through the basics of coding. During this journey you will also play some word and number games that you are going to implement all on your own. Pack up and let’s hit the road, my friend!

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Teach your assistant to introduce itself in the console.
Introduce yourself to the bot.
Use your knowledge of strings and numbers to make the assistant guess your age.
Your assistant is old enough to learn how to count. And you are experienced enough to apply a for loop at this stage!
At this point, the assistant will be able to check your knowledge and ask multiple-choice questions. Add some functions to your code and make the stage even better.

Reviews

Juan Esteban Serrano Aldana
4 months ago
The exercise proposed here is a great way to explore the behavior of a text interface and the dialogue itself—to think about how to request information, how to interpret it, store it, and transform it to produce an appropriate response for the user. Its simplicity makes it a fun project.
Lars Roesicke avatar
Lars Roesicke
6 months ago
This project was really simple. It is good if you want to get your first experience with loops and basic arithemic operation.
David Alves avatar
David Alves
7 months ago
I had some problems with the IDE, but I don't give up and figure out how to solve this problems and complete the project. The project it self was easy, but good to practice.

4.2

Learners who completed this project within the Frontend Developer course rated it as follows:
Usefulness
4.1
Fun
4.2
Clarity
4.2