samples tutorial for web