To assess the impact of a web-based intervention supplemented with text messages to reduce cancer risk linked with smoking , unhealthy diet , alcohol consumption , obesity , sedentary lifestyle and sun exposure .