Write and test the validateCampsite() function to validate a string received representing the users requests campsite name. This function, alongside the validateDate and validateEmail functions, will ultimately be called by the ReceivePost method: validatePost(). It will take a string as an argument, and return the normalized version of that string if valid.
Write and test the validateCampsite() function to validate a string received representing the users requests campsite name. This function, alongside the validateDate and validateEmail functions, will ultimately be called by the ReceivePost method: validatePost(). It will take a string as an argument, and return the normalized version of that string if valid.