Skip to content

Commit 7a03920

Browse files
committed
minor formatting
1 parent 99141c6 commit 7a03920

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

js-dom/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
Create a `SignupRequest` class in the `accounts.mjs` for creating object when user signs up using the html form.
1010

1111
**2. Create a UserAccount class**
12+
1213
Define a class `UserAccount` with attributes -- email, name and password.
1314

1415
**3. Create a method handleSignupRequest**
@@ -19,5 +20,6 @@ if user with that email already exists then return an object of type
1920
Response - `new Response(false, 'User already exists with this email')`
2021
else return `new Response(true, 'You have successfully signed up')`
2122

22-
**3. Create a method handleSignup**
23+
**4. Create a method handleSignup**
24+
2325
In the `handleSignup` function in `portfolio.mjs` you need to create the object of type `SignupRequest` with attribute values extracted from the `form` elements and call the `handleSignupRequest` method of `AccountService` object that is already imported in the `portfolio.mjs` file.

0 commit comments

Comments
 (0)