When you grow up and enter the world of work, you will not be able to get others to do your work for you.
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
If you post the code that you have (since you have spent 8 hours on it so far you must surely have some code) and let us know what parts you don't understand then perhaps we can explain it to you. That way you actually learn what the homework is intended to teach which is surely much better than paying someone and not learning anything.
When I receive payment I hand over any rights I may have had to the code and it then becomes totally their property and they can claim it as their own, since they purchased ir, and they can do what they like with it.
In addition (since I have no edit button) people can still learn by studying and researching the code if they actually want to try to learn from it.
knightCoder, you are of course allowed to express your opinion but what you are saying is, in the cultural context I assume we all in this thread are and have been growing up, morally and ethically just not a good attitude. If someone would pay you to deliver illegal drugs from A to B, or even just to create a website for something that is totally against your principles, would you still do it without questioning the intention behind it?
Sure, it’s a little far fetched a comparison but the same principle applies. A homework is not issued to be solved by someone else (much less for money) and might even be subject to diciplinary action, so as a person with reason and common sense you should indeed ask what it’s for, even if you just ask it yourself to clarify your own moral standards.
Philip M (04-05-2013)
Many students have "web programming" just as part of some other computer course and so is not their major interest. They just want to pass the subject (even with just a 50% grade) which gives them more time to concentrate on the more important subjects for them in their course. They're not interested in learning web programming well.
Since you have no idea as to what the student is supposed to know and what they haven't covered in their course it is at least 99% certain that it will be obvious to the teacher that the student did not produce the work themselves.
So what happens when the teacher recognises that the student didn't do the homework themselves and adjusts the grade down to zero (or has the person expelled from the course for cheating). Will you then give the money back?
Doing someone's homework for them virtually guarantees that they will fail the course and will then have them extremely annoyed at you (or worse).
I think you just made that up because if it was true then some students wouldn't be coming back to me
Students aren't totally stupid as you seem to imply. They know they can't present work that includes concepts etc that they haven't covered.
Cheating might or might not be illegal, at the very least it's morally wrong (is that even worth discussing?). And fully doing someone's homework, for free or paid, is helping them cheat (in terms of laws there is an equivalent for that), which is just as wrong.
But the latter surely isn't illegal in terms of homework (it might be in the context of an exam). It's just morally wrong.
I typically tell the person asking that it won't help them on the long run. If they decide to ignore that: let them pay and learn that lesson on their own later on. And if someone accepts that money after an appropriate warning... It's imho still wrong, but again, they have been warned. Paying money for what you think will help you is a lesson on its own.
However: yes, you can learn from studying code others wrote. But only a small fraction of what you can learn doing it yourself. Reading code and writing code are completely different things. Plus, from experience, copied homework usually isn't looked at, no matter what they say.
You are making the assumption that the students actually want to become web developers but
Generally, the students who come to me for help have little to no interest in becoming web developers. They are typically network or some other computer science/programming students and "web programming" is just one common unit they need to get out of the way early in their course. They have no intention to ever become web developers after their studies. Most want to have more time available to spend on subjects in their course much more important to them than "web development".