@Ahmad-Akbik-f
Posted
So...Hi there it's me a jounior web dev : I saw your code AND you DID VERY GOOD JOB with IT , But here is some of my tips : 1 - use a static width with the main card so it does not change it's width every time you click for more info. CSS code :
.main-card{
max-width : 600px;
}
2 - about the toggle text I think the best way for it is the jQuery library I know it is old ,but it is good and still working. 3- another tip for react projects : in a small projects like this one use the cdn for react add them in the head of your HTML that gonna make it easier to upload the code "take a look at this website : https://www.w3schools.com/react/react_getstarted.asp " *- and that is it for now. If you have any other questions dont hesitat to ask a tip.
Marked as helpful