Skip to content

HW 7 / Final Project#8

Open
17kikak wants to merge 1 commit intomasterfrom
Week7
Open

HW 7 / Final Project#8
17kikak wants to merge 1 commit intomasterfrom
Week7

Conversation

@17kikak
Copy link
Owner

@17kikak 17kikak commented Apr 27, 2017

A user form…
@bensussman

Copy link

@bensussman bensussman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thx for submitting

dataType: 'json',
data: {firstname: firstName, lastname: lastName, email: email, username: username, password: password, age: age, location: location},
success: () => {
console.log("success");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe do something with the result?

let username = $('#user').val();
console.log(username);
let password = $('#pass').val();
console.log(password);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for debugging, i like to log: console.log("username: " + username);
Also maybe REMOVE the debugging console logs when you submit, only use it for testing and developing. once it's ready, kill it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants