1. What is React j.s React is a free and open source JavaScript library. It's used for Building user interfaces(UIs) specifically for single-page Applications(SPA). Created by Facebook(now meta) in 2013,it's allows Developers create large web application that can change data without Reloading the page. React helps developers create: Websites Single Page Applications (SPA) Dashboards E-commerce apps Social media apps Mobile apps (with React Native) Why React was Created React was created to solve problems developers faced while building larger and dynamic web applications. Before React, developers updated HTML manually using JavaScript. Example: document.getElementById("title").innerHTML = "welcome"; When the application become larger: Code became messy Updating UI became difficult Performance issues happened React solving this by introducing : Components,Virtual DOM,State management,Reusable UI 2. What is the different between library and Framework ?…