ReferenceError: fontFamily is not defined


#1

https://www.codecademy.com/courses/react-102/lessons/style/exercises/styles-multiple-components


/home/ccuser/workspace/learn-react-06-03-06d/styles.js:4
fontFamily: fontFamily,
^
ReferenceError: fontFamily is not defined


module.exports = {
  fontFamily: fontFamily,
  background: background,
  fontSize:   fontSize,
  padding:    padding,
  color:      color
};


#2

styles.js should have a number of definition statements. Are they present in your code?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.