MODULO Full Stack Web Development: The Ultimate Master SagaTHEORY
Render two cards from the same component
Make a WeatherCard taking city and temperature as props. Render Pune at 26 degrees and Kochi at 29. Change only the Pune prop and inspect both cards.
Check your work
Each instance should display its own values. If both change, inspect shared variables outside the component. Keep formatting in the component and pass the city data in from the parent.
