mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-17 16:00:32 -05:00
fix(curriculum): clarify email confirmation message (#64867)
This commit is contained in:
@@ -9,7 +9,7 @@ dashedName: step-45
|
||||
|
||||
Users should get confirmation when they successfully send an email. Let's improve the user experience by adding feedback to the `send_email` method.
|
||||
|
||||
In the `send_email` method of the `User` class, add a print statement after the email is sent that shows confirmation. The message should include both the sender's name and the receiver's name in this format: `Email sent from [sender_name] to [receiver_name]!\n`
|
||||
In the `send_email` method of the `User` class, add a `print` statement after the email is sent that shows confirmation. The message should be `Email sent from [sender_name] to [receiver_name]!\n`, where `[sender_name]` is replaced by the sender's name and `[receiver_name]` is replaced by the receiver's name.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user