Back to Freecodecamp

Task 119

curriculum/challenges/english/blocks/learn-how-to-describe-places-and-events/66c4f5b8af397f89ed09ac4c.md

latest1.1 KB
Original Source

--instructions--

This task doesn't have audio. Read the question and select the correct answer.

--questions--

--text--

Which of these situations best shows how auto-completion works?

--answers--

You finish writing a line of code, and the tool checks for errors.

--feedback--

Think about whether auto-completion helps as you type or after you finish typing.


You write some code, and the tool automatically saves your work.

--feedback--

Consider if auto-completion is about suggesting code while you type, or saving your work.


You press a button, and the tool generates code for you without any input.

--feedback--

Auto-completion is more about assisting you than generating code on its own.


You start typing a function name, and a list of suggestions appears to complete it.

--video-solution--

4

--explanation--

Imagine you're writing code and want to quickly find the right function or variable without typing everything out.

Auto-completion helps by suggesting what you're likely trying to write based on what you've already typed. This makes coding faster and reduces errors.