diff --git a/.DS_Store b/.DS_Store index 63069b7..606f2ee 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/part1/1.1/build/static/js/main.04eb9072.chunk.js.map b/part1/1.1/build/static/js/main.04eb9072.chunk.js.map deleted file mode 100644 index 99ae3bd..0000000 --- a/part1/1.1/build/static/js/main.04eb9072.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["App.js","index.js"],"names":["Header","props","course","Content","part","excercise","Total","exercises","App","ReactDOM","render","document","getElementById"],"mappings":"yIAsBMA,EAAS,SAACC,GACd,OACE,6BAAKA,EAAMC,UAITC,EAAU,SAACF,GACf,OACE,8BACE,8BAAIA,EAAMG,KAAV,IAAiBH,EAAMI,gBAMvBC,EAAQ,SAACL,GACb,OACE,qDAAwBA,EAAMM,UAAU,GAAKN,EAAMM,UAAU,GAAKN,EAAMM,UAAU,OAKvEC,EA1CH,WASV,OACE,gCACE,cAAC,EAAD,CAAQN,OAVG,uCAWX,cAAC,EAAD,CAASE,KAVC,wBAUYC,UATP,KAUf,cAAC,EAAD,CAASD,KATC,2BASYC,UARP,IASf,cAAC,EAAD,CAASD,KARC,uBAQYC,UAPP,KAQf,cAAC,EAAD,CAAOE,UAAW,CAZH,GAEA,EAEA,UCNrBE,IAASC,OACP,cAAC,EAAD,IACAC,SAASC,eAAe,W","file":"static/js/main.04eb9072.chunk.js","sourcesContent":["import React from 'react'\r\n\r\nconst App = () => {\r\n const course = 'Half Stack application development'\r\n const part1 = 'Fundamentals of React'\r\n const exercises1 = 10\r\n const part2 = 'Using props to pass data'\r\n const exercises2 = 7\r\n const part3 = 'State of a component'\r\n const exercises3 = 14\r\n\r\n return (\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nconst Header = (props) => {\r\n return (\r\n

{props.course}

\r\n )\r\n}\r\n\r\nconst Content = (props) => {\r\n return (\r\n
\r\n

{props.part} {props.excercise}

\r\n
\r\n \r\n )\r\n}\r\n\r\nconst Total = (props) => {\r\n return (\r\n

Number of exercises {props.exercises[0] + props.exercises[1] + props.exercises[2]}

\r\n //

1

\r\n )\r\n}\r\n\r\nexport default App","import ReactDOM from 'react-dom'\r\nimport App from './App'\r\n\r\nReactDOM.render(\r\n , \r\n document.getElementById('root')\r\n)"],"sourceRoot":""} \ No newline at end of file diff --git a/part1/1.2/README.md b/part1/1.2/README.md deleted file mode 100644 index 0c83cde..0000000 --- a/part1/1.2/README.md +++ /dev/null @@ -1,70 +0,0 @@ -# Getting Started with Create React App - -This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). - -## Available Scripts - -In the project directory, you can run: - -### `npm start` - -Runs the app in the development mode.\ -Open [http://localhost:3000](http://localhost:3000) to view it in the browser. - -The page will reload if you make edits.\ -You will also see any lint errors in the console. - -### `npm test` - -Launches the test runner in the interactive watch mode.\ -See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. - -### `npm run build` - -Builds the app for production to the `build` folder.\ -It correctly bundles React in production mode and optimizes the build for the best performance. - -The build is minified and the filenames include the hashes.\ -Your app is ready to be deployed! - -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. - -### `npm run eject` - -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** - -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. - -Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. - -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. - -## Learn More - -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). - -To learn React, check out the [React documentation](https://reactjs.org/). - -### Code Splitting - -This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) - -### Analyzing the Bundle Size - -This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) - -### Making a Progressive Web App - -This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) - -### Advanced Configuration - -This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) - -### Deployment - -This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) - -### `npm run build` fails to minify - -This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) diff --git a/part1/1.2/build/asset-manifest.json b/part1/1.2/build/asset-manifest.json deleted file mode 100644 index 9235f98..0000000 --- a/part1/1.2/build/asset-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "files": { - "main.js": "/static/js/main.663018b4.chunk.js", - "main.js.map": "/static/js/main.663018b4.chunk.js.map", - "runtime-main.js": "/static/js/runtime-main.ed7534be.js", - "runtime-main.js.map": "/static/js/runtime-main.ed7534be.js.map", - "static/js/2.4c95941e.chunk.js": "/static/js/2.4c95941e.chunk.js", - "static/js/2.4c95941e.chunk.js.map": "/static/js/2.4c95941e.chunk.js.map", - "index.html": "/index.html", - "static/js/2.4c95941e.chunk.js.LICENSE.txt": "/static/js/2.4c95941e.chunk.js.LICENSE.txt" - }, - "entrypoints": [ - "static/js/runtime-main.ed7534be.js", - "static/js/2.4c95941e.chunk.js", - "static/js/main.663018b4.chunk.js" - ] -} \ No newline at end of file diff --git a/part1/1.2/build/favicon.ico b/part1/1.2/build/favicon.ico deleted file mode 100644 index a11777c..0000000 Binary files a/part1/1.2/build/favicon.ico and /dev/null differ diff --git a/part1/1.2/build/index.html b/part1/1.2/build/index.html deleted file mode 100644 index ccbd95d..0000000 --- a/part1/1.2/build/index.html +++ /dev/null @@ -1 +0,0 @@ -React App
\ No newline at end of file diff --git a/part1/1.2/build/logo192.png b/part1/1.2/build/logo192.png deleted file mode 100644 index fc44b0a..0000000 Binary files a/part1/1.2/build/logo192.png and /dev/null differ diff --git a/part1/1.2/build/logo512.png b/part1/1.2/build/logo512.png deleted file mode 100644 index a4e47a6..0000000 Binary files a/part1/1.2/build/logo512.png and /dev/null differ diff --git a/part1/1.2/build/manifest.json b/part1/1.2/build/manifest.json deleted file mode 100644 index 080d6c7..0000000 --- a/part1/1.2/build/manifest.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "short_name": "React App", - "name": "Create React App Sample", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "logo192.png", - "type": "image/png", - "sizes": "192x192" - }, - { - "src": "logo512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": ".", - "display": "standalone", - "theme_color": "#000000", - "background_color": "#ffffff" -} diff --git a/part1/1.2/build/robots.txt b/part1/1.2/build/robots.txt deleted file mode 100644 index e9e57dc..0000000 --- a/part1/1.2/build/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# https://www.robotstxt.org/robotstxt.html -User-agent: * -Disallow: diff --git a/part1/1.2/build/static/js/2.4c95941e.chunk.js b/part1/1.2/build/static/js/2.4c95941e.chunk.js deleted file mode 100644 index ef4d78b..0000000 --- a/part1/1.2/build/static/js/2.4c95941e.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.4c95941e.chunk.js.LICENSE.txt */ -(this["webpackJsonp1.1"]=this["webpackJsonp1.1"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(8)},function(e,t,n){"use strict";e.exports=n(5)},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(l){return!1}}()?Object.assign:function(e,t){for(var n,u,i=o(e),s=1;s