Linux first task, crete a user with UID

My task was
a. Create a user named ravi on App server 2 within the Stratos Datacenter.

b. Assign a unique UID 1393 and designate the home directory as /var/www/ravi.

As first step i navigate to server 2
command : ssh [email protected]
(now i am in app server 2)

As second step I have create the directory by
sudo mkdir -p /var/www

As third step i have create a user with UID
sudo useradd ravi -u 1393 -m /var/www/ravi -s /bin/bash

user does not created why i dont understand??
please explain.

(Note: All steps are done as mentioned)

-m flag tells to create the home directory, it doesn’t take any argument.
-d option sets the home directory path based on the argument passed.

So you would have to use those options accordingly for this task.