Tell us what’s happening:
I dont understand what is wrong in my code?? I have included React and Reactdom in JS settings also.
Your code so far Link to my code-
https://codepen.io/shwetasing/pen/gJQOag?editors=1010#0
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36.
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Link to the challenge:
Hi @shweta!
When I remove the inline style you put on the component things work okay! You can check this small tutorial I made I have a section called “Some things to have in mind” where I explain how to style components in React.
Hope this helps!