The AI might continue it with words like jelly, jam, banana, and so on. Each time you run that prompt, you might get a slightly different answer. That’s prediction in action.
Here’s another example. I asked ChatGPT to list different ways someone could respond to “Hello.” It gave me a variety of options—casual, friendly, formal, funny, energetic, sarcastic, short, and more.
So, when you prompt a language model with “Hello,” you could get any one of these variations, depending on the context and randomness involved.
Again, this shows that it's not about calculating the "right" answer, but about predicting a plausible one.
So why is this important to understand?
Because later on, as you gain more experience, you might want to build your own generative AI model trained on a custom dataset.
Why would you do that? Maybe you’re building a chatbot for a company or creating a code generation tool for specific technologies—like Nuxt.js, Next.js, or even C++—where you need precise, domain-specific responses.
To make that happen, you’d train your AI model on relevant material—documentation, books, and example code related to your specific domain.
So yeah, understanding this foundation is key if you want to go deeper in the future.
Lesson 2.
Popular general-purpose AIs
Hello, and welcome to Lesson Two!
In this lesson, we’re going to explore some popular general-purpose AIs. By "general-purpose," I mean AIs that can handle a wide variety of tasks, not just coding.
The first and most famous one is ChatGPT. It was probably the first AI model of its kind to hit the market, which is why it's so well-known. So, here we are inside ChatGPT.
In the center, we usually have the input field where we enter our prompts, along with some additional features like uploading files, searching the web, and using reasoning models for more advanced tasks. You can even use voice mode for voice recognition.
Let’s try something with ChatGPT. We’ll ask it to generate a basic HTML boilerplate.
As you can see, it successfully completes the task, and now we have a basic HTML structure that we can copy if needed. It also often includes helpful comments for better understanding.
Next up is Claude—another AI tool that’s known to be a great option for web developers and coding professionals. Many coding assistants and AI-powered code editors actually use Claude under the hood.