React not rendering (JS calculator)

I’m currently doing the calculator project and it doesn’t render the component to the page, I have no errors, imported everything that has ‘React’ in its name and included JSX proccesing, but it still doesn’t render, also, if i have other issues in my code pls say
thanks in advance :slightly_smiling_face:
link to my pen : https://codepen.io/harel_avv/pen/GRjmRdb

I have not gotten as far as you. I am currently still learning react. But I noticed your code for rendering isn’t quite correct

It should be

ReactDOM.render(<Calculator />, document.getElementById("Calculator") )
1 Like

ohhhh, thanks forgot the order lol
EDit: i fixed that and also some other errors but it still doesn’t render
EDIT 2: i looked up and you need to have arrow functions with no parameters instead of just calling the function with a parameter