So I\'m rather new to JavaScript and I would love some help getting this code to work. I\'ve looked at multiple other posts talking about session storage as well as if/else
You can pass sessionStorage as as query string at href of element; use location.search at window.onload event at Page2.html
Page1.html
Set color to red
Set color to blue
Set color to green
at Page2.html
plnkr http://plnkr.co/edit/eNVXr4ElXRzrxlZ7EY0a?p=preview