Pomodoro Clock need help

Pomodoro Clock need help
0
#1

Tell us what’s happening:
Hello

I am struggling with this challenge. Can someone tell my why my set timer fields are not rendering? my header was working, but I lost it.

Thank you

Your code so far
https://codepen.io/leehunterdev/pen/gyWYwp
Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/front-end-libraries-projects/build-a-pomodoro-clock

#2

To help you debug, I suggest using the latest development versions of the react instead of production. These will show you more user-friendly error messages in the console.

https://cdnjs.cloudflare.com/ajax/libs/react/16.8.6/umd/react.development.js

https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.8.6/umd/react-dom.development.js

Your current issue is that you are not explicitly returning anything. Your setTimer component is missing a valid return statement based on how you have currently written the component.

Extra Hint: You will also need to surround your div element with ( and ).

1 Like
#3

Thanks for the hint. I got it to render… something. but not {type}