@0xabdulkhaliq
Posted
Hello there π. Congratulations on successfully completing the challenge! π
- I have other recommendations regarding your code that I believe will be of great interest to you.
JAVASCRIPT π‘:
- The way you declared variables are need to be well structured and organized
- Take a look at the following example code which describes a better way of declaring variables to have a well structured code
const firstName = "Your";
const lastName = "Name";
const emailAddress = "[email protected]";
const password = "supersecret";
- instead try this,
const firstName = "Your",
lastName = "Name",
emailAddress = "[email protected]"
β’β’β’
β’β’β’ // n number of declarations
password = "supersecret"; // make sure to add a semicolon at end of last declaration
- This single line declaration with separated commas will helps you to have a better structured code and improves readability though
.
I hope you find this helpful π Above all, the solution you submitted is great !
PS : Glad to hear that I'm your mentor π
Happy coding!
Marked as helpful
@HassanMak29
Posted
@0xAbdulKhalid thank you very much for your feedback, I updated my code!