Back to Freecodecamp

Task 50

curriculum/challenges/english/blocks/learn-about-speculation-and-requests/67efb7e39a3ae7184c508f1b.md

latest1.9 KB
Original Source
<!-- READING -->

--instructions--

Read the text and answer the question below.

--questions--

--text--

Sophie wanted to remind the team about the requirements they must follow. Here's her email:

Subject: Reminder: Follow the Requirements Carefully

Hi team,

I hope you're all doing well! I wanted to send a quick reminder about the key requirements we must follow when submitting our code. To ensure everything runs smoothly, we must be thorough and follow these steps:

1. Use the correct loop structure - In some cases, a while loop should be used instead of a for loop to account for all edge cases. Please review the logic carefully before submitting your code.

2. Include comments - You should add clear comments explaining complex parts of your code. This makes it easier for others to understand and maintain.

3. Run the test suite - Before submission, you must run all tests. This could help catch errors early and save time later.

Let's make sure we follow these guidelines to maintain code quality and avoid unnecessary issues. If you have any questions, feel free to reach out!

Best,

Sophie

How does Sophie encourage the team to maintain code quality?

--answers--

By telling them to write as much code as possible.

--feedback--

More code is not always better — quality matters more than quantity.


By reminding them to follow key guidelines.


By allowing submissions without testing.

--feedback--

Sophie insists that testing is required before submission.


By suggesting that coding rules are optional.

--feedback--

Sophie makes it clear that guidelines must be followed to avoid issues.

--video-solution--

2

--explanation--

Sophie encourages the team to maintain code quality by following specific guidelines, such as using the correct loop structure, including clear comments, and running all tests before submitting.

Focus on the sentence that starts with Let's make sure....