JetBrains Academy logo
Free courseby JetBrains s.r.o.

Kotlin Onboarding: Introduction

This course is designed for novices in programming and focuses on the basic concepts of the Kotlin language. In the learning process you will be creating small pieces of your project step by step.

LevelBeginner
Time commitment6 days

You'll take this course in your JetBrains IDE.
Just install JetBrains Toolbox, and we'll handle the rest!

About this course

There's also plenty of room for individual creativity: at the end of each lesson, an additional similar project will be offered. It includes all the lesson topics but does not contain the theory part.

All topics will be accompanied by links to the official Kotlin documentation, which you can read later. After this course, you will be ready to write basic console applications in the Kotlin-like style.

This course runs directly in your JetBrains IDE

Learn more

Content

  1. Introduction
  2. Program entry point
  3. Built-in Functions
  4. Variables
  5. Read user input
  6. Project
  1. Creating a "chat" application
  1. Types of variables
  2. Custom functions
  3. Loops
  4. if operator
  5. Collections
  6. Random
  7. Finishing base game
  1. Creating the game
  2. Game core
  3. Finishing the game
  1. Multi row strings
  2. when expression
  3. String functions
  4. Null-safety
  5. Finishing the game
  1. Patterns generator project
  2. Helpers
  3. Canvas generator
  4. Canvas gaps generator
  5. Finishing the app

Note

This course does not provide a detailed explanation of the basic concepts, like variables: it just shows how to use them in Kotlin and can briefly remind you of the definitions.

How it looks like

Getting started

  • 1

    Install the JetBrains Toolbox App

    This is an IDE course, and we’ve already taken care of the settings. Just install JetBrains Toolbox, and we'll handle the rest.

    Download Toolbox
  • 2

    Start the course in your JetBrains IDE

    Press the button below and click Allow to open the Toolbox App. Once your IDE is open, click Start to begin your course.

    Open course
For additional help, check out our Troubleshooting guide

FAQ

Yes, you will need the JetBrains Toolbox App and a JetBrains IDE.

But don’t worry! Just click the Open course button and then select Allow in the resultant popup to install the JetBrains Toolbox App. We've taken care of all the necessary settings, and the app will handle the rest of the setup for you.

The JetBrains Toolbox App checks which IDE is compatible with your course and whether it is installed on your computer. If you have the necessary IDE installed, the app will open it. If not, JetBrains Toolbox will initiate the installation, prioritizing free community editions.

Yes, the JetBrains Toolbox App is essential even if you already have a JetBrains IDE. It automatically prepares your IDE for studying by installing the essential plugins and updating the IDE if necessary.

Please make sure your version of the JetBrains Toolbox App is 1.28 or newer. To update, open the app and click Update Toolbox App to 2.x.x., or download the latest version here.

Yes, the course is free, and it does not require a licensed version of the IDE. For further details, see our Subscription Options and Pricing page.
    • Enable the Kotlin plugin:
    • Go to Settings/Preferences | Plugins | Installed.
    • Make sure that the Kotlin plugin is enabled.
    • Add an SDK:
    • From the main menu, select File | Project Structure | Platform Settings | SDKs.
    • To add an SDK, click +, select the necessary SDK, and specify its home directory in the popup dialog.
    • Download JDK (if needed):
    • If you don't have the necessary JDK on your computer, select Download JDK.
    • In the next dialog, specify the JDK vendor and version, change the installation path if required, and click Download.

For more information, see our Help article.

Learn next