It's / NOT \ in the tags!
First step is separate the 'data input' from the 'append list' function.
Your code in main() should look like
Hopefully, you'll end up with 3 small functions which you can test separately, rather than some 'big bang' function which does everything.
node = create_node();
fill_in_data(node); // this reads from the user
list = append_list( list, node ); // appends node to list, and returns a (modified) list
Note, the list is only really modified when appending a node to an empty list.