Tell us what’s happening:
I passed this redux challenge in fcc but cannot get the output in codepen
Your code so far
const reducer = (state = 5) => {
return state;
}
// Redux methods are available from a Redux object
// For example: Redux.createStore()
// Define the store here:
const store = Redux.createStore(reducer);
I passed the fcc challenge for this redux test but cannot pass on codepen. I put most of the stuff behind the hood of codepen file but does not work even then, Please advise. Thanks.This is my codepen link here: [https://codepen.io/meeramenon07/pen/MWWvwvK?editors=1010]
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
.
Challenge: Create a Redux Store
Link to the challenge:
https://www.freecodecamp.org/learn/front-end-libraries/redux/create-a-redux-store