├── .codesandbox └── workspace.json ├── .gitignore ├── README.md ├── package.json ├── public └── index.html └── src ├── App.js ├── index.js └── styles.css /.codesandbox/workspace.json: -------------------------------------------------------------------------------- 1 | { 2 | "responsive-preview": { 3 | "Mobile": [ 4 | 320, 5 | 675 6 | ], 7 | "Tablet": [ 8 | 1024, 9 | 765 10 | ], 11 | "Desktop": [ 12 | 1400, 13 | 800 14 | ], 15 | "Desktop HD": [ 16 | 1920, 17 | 1080 18 | ] 19 | } 20 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Test-React-Fetch-API-GoogleMap 2 | Created with CodeSandbox 3 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react", 3 | "version": "1.0.0", 4 | "description": "React example starter project", 5 | "keywords": ["react", "starter"], 6 | "main": "src/index.js", 7 | "dependencies": { 8 | "react": "18.2.0", 9 | "react-dom": "18.2.0", 10 | "react-scripts": "4.0.0" 11 | }, 12 | "devDependencies": { 13 | "@babel/runtime": "7.13.8", 14 | "typescript": "4.1.3" 15 | }, 16 | "scripts": { 17 | "start": "react-scripts start", 18 | "build": "react-scripts build", 19 | "test": "react-scripts test --env=jsdom", 20 | "eject": "react-scripts eject" 21 | }, 22 | "browserslist": [">0.2%", "not dead", "not ie <= 11", "not op_mini all"] 23 | } 24 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 | 12 | 13 | 14 | 23 |First Name | 20 |Last Name | 21 |Company | 22 |Address | 23 |
{user.name.split(" ")[0]} | 27 |{user.name.split(" ")[1]} | 28 |{user.company.name} | 29 |30 | {user.address.suite} , {user.address.street} ,{" "} 31 | {user.address.zipcode} 32 | | 33 |