These are chat archives for FreeCodeCamp/Help
get help in general - we have more specialized help rooms here: https://gitter.im/FreeCodeCamp/home
showPreviewin state, but in toggle method you have
showPreviewin state but having
showPrevin the toggle method is an oversight of some sort. It eventually worked the way I wanted it to so it seems I was too excited to re-check to code. I initially tried one state to toggle both of them but it was not working for me though then someone suggested the 2 states and it clicked that maybe i should approach it in that manner. Still open to more suggestions though.