diff --git a/README.md b/README.md index 50e5933d0..719160a55 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # Survey form with React -Replace this readme with your own information about your project. - -Start by briefly describing the assignment in a sentence or two. Keep it short and to the point. +This weeks project was to make a survey with react. I chose to do a imaginary party planning survey. ## The problem -Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next? +I started with technigos react-starter project and played around in that just to try to understand more about how react works. Then I started to plan what my servey would be about and did the basic structure for it in VSCode. +After that I tried out some different designs and I have changed that a lot of times during the week. I might have to plan the design more before I start next time but I also think I learn a lot by trying out different designs during the process. +I also found the JSConfetti that felt like I fun effect to add and it was much easier to add then I thouht. -## View it live +My problem this week was that I didn't had so much time as I needed so I need to go back to this project and work on the acceccibility for example. Also, React is completely new to me so it will take time to learn and understand. -Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about. +## View it live diff --git a/code/README.md b/code/README.md deleted file mode 100644 index 6e1ac173a..000000000 --- a/code/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Technigo React Starter App - -This app has been generated using `create-react-app`, then cleaned up a little so we have a project with just the elements we need to get started. - -Add components in the `src` folder and use them in `src/app.js` to get started. - -## Usage - -1. On GitHub, click the 'use this template' button to create a new repo on your account -1. Clone the new repo to your computer -1. Install required dependencies with npm: `npm install` -1. Start the project: `npm start` - -Alternatively, if you don't want a new git repo on your account; - -1. Download & extract the [latest release](https://github.com/Technigo/react-starter/releases/latest) from GitHub -1. Open the directory in the terminal: `cd /path/to/react-starter` -1. Install required dependencies with npm: `npm install` -1. Start the project: `npm start` diff --git a/code/package-lock.json b/code/package-lock.json index e34d9bb1c..3fb69a781 100644 --- a/code/package-lock.json +++ b/code/package-lock.json @@ -9,13 +9,13 @@ "version": "1.0.0", "dependencies": { "@babel/eslint-parser": "^7.18.9", - "babel-eslint": "^10.1.0", "eslint": "^8.21.0", "eslint-config-airbnb": "^19.0.4", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-react": "^7.30.1", "eslint-plugin-react-hooks": "^4.6.0", + "js-confetti": "^0.11.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, @@ -4637,34 +4637,6 @@ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", "integrity": "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==" }, - "node_modules/babel-eslint": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", - "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", - "deprecated": "babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.7.0", - "@babel/traverse": "^7.7.0", - "@babel/types": "^7.7.0", - "eslint-visitor-keys": "^1.0.0", - "resolve": "^1.12.0" - }, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "eslint": ">= 4.12.1" - } - }, - "node_modules/babel-eslint/node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "engines": { - "node": ">=4" - } - }, "node_modules/babel-jest": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-27.5.1.tgz", @@ -11470,6 +11442,11 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/js-confetti": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/js-confetti/-/js-confetti-0.11.0.tgz", + "integrity": "sha512-Hc7I3VI4r4H0nq5q/oQK+JJwGoYRYVHK72fGk8E9Ay1dbh+aiZ9yl0yFp1K4oYeq7YFDQAndYChwqLPA3QWQuA==" + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -20687,26 +20664,6 @@ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", "integrity": "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==" }, - "babel-eslint": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", - "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", - "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.7.0", - "@babel/traverse": "^7.7.0", - "@babel/types": "^7.7.0", - "eslint-visitor-keys": "^1.0.0", - "resolve": "^1.12.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==" - } - } - }, "babel-jest": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-27.5.1.tgz", @@ -25733,6 +25690,11 @@ } } }, + "js-confetti": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/js-confetti/-/js-confetti-0.11.0.tgz", + "integrity": "sha512-Hc7I3VI4r4H0nq5q/oQK+JJwGoYRYVHK72fGk8E9Ay1dbh+aiZ9yl0yFp1K4oYeq7YFDQAndYChwqLPA3QWQuA==" + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", diff --git a/code/package.json b/code/package.json index 7214c8fde..f2ebce65e 100644 --- a/code/package.json +++ b/code/package.json @@ -10,6 +10,7 @@ "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-react": "^7.30.1", "eslint-plugin-react-hooks": "^4.6.0", + "js-confetti": "^0.11.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/code/public/index.html b/code/public/index.html index e6730aa66..1cda80962 100644 --- a/code/public/index.html +++ b/code/public/index.html @@ -13,12 +13,25 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - Technigo React App + Party Planner + + + + + + + + + + + +
+