How do I complete this challenge

Tell us what’s happening:

  **Your code so far**

const reducer = (state = 5) => {
return state;
}
const yourVariableName = Redux.createStore();


// Redux methods are available from a Redux object
// For example: Redux.createStore()
// Define the store here:
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36.

Challenge: Create a Redux Store

Link to the challenge:

Hi @abaviawe3 !

Welcome to the forum!

A couple of things.

This is the first part of the instructions:
Declare a store variable

You wrote this

Once you change the name then there is the second issue to clean up.

FCC instructions:
passing in the reducer as an argument.

Right now you are not passing in anything.

Once you fix those two issues then the test will pass.

1 Like