use badges to show status of webpage. updates onclick