js/main.js
// object lookup for current state's hex values, renders/updates to DOM
object lookup for current state's hex values, renders/updates to DOM
object lookup for current state ' s hex values renders / updates to DOM
function updateCurrentHexToDOM() {
  let curr_state = store.getState();
  let left_color = cultures[curr_state.culture][curr_state.first_value];
  let right_color = cultures[curr_state.culture][curr_state.second_value];
  document.getElementById('left_color_hex').innerText = left_color;
  document.getElementById('right_color_hex').innerText = right_color;
}
function updateCurrentHexToDOM ( ) { let curr_state = store . getState ( ) ; let left_color = cultures [ curr_state . culture ] [ curr_state . first_value ] ; let right_color = cultures [ curr_state . culture ] [ curr_state . second_value ] ; document . getElementById ( 'left_color_hex' ) . innerText = left_color ; document . getElementById ( 'right_color_hex' ) . innerText = right_color ; }
object lookup for current state's hex values, renders/updates to DOM
object lookup for current state ' s hex values renders / updates to DOM