Question 1: Please run node Q1.js in terminal, when in the Q1 directory to see output of file.
Question 2: Project is created with Create React App scaffold. Please run npm install when in project directory. Then npm run start and open localhost:3000 to see it in the browser.
React entry point is index.js and it renders App.js. Trade Executions grid has features such as pagination (including page size), sorting, and dark mode.