├── .gitignore
├── .vscode
├── c_cpp_properties.json
├── launch.json
└── settings.json
├── AmazonWebPage.html
├── CONTRIBUTION.md
├── Code Of Conduct
├── LICENSE
├── Projects
├── ADSC-Project
│ └── index.htm
├── ATM Project
│ ├── ATM.java
│ ├── ATMCaseStudy.java
│ └── AccountFactory.java
├── Advice generator app
│ ├── app.js
│ ├── images
│ │ ├── favicon-32x32.png
│ │ ├── icon-dice.svg
│ │ ├── pattern-divider-desktop.svg
│ │ └── pattern-divider-mobile.svg
│ ├── index.html
│ └── style.css
├── AngularJS Usage
│ ├── README.md
│ ├── app.js
│ └── index.html
├── Animated text
│ ├── Animated hii.html
│ ├── README.md
│ ├── colourfull.png
│ ├── oranges.jpg
│ ├── script.js
│ └── style.css
├── Bank-KYC-Form
│ ├── .eslintrc.cjs
│ ├── .gitignore
│ ├── .husky
│ │ └── commit-msg
│ ├── commitlint.config.cjs
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── pnpm-lock.yaml
│ ├── postcss.config.js
│ ├── src
│ │ ├── App.jsx
│ │ ├── assets
│ │ │ └── react.svg
│ │ ├── components
│ │ │ ├── Dashboard
│ │ │ │ ├── Header.jsx
│ │ │ │ ├── KycForm
│ │ │ │ │ ├── Form.jsx
│ │ │ │ │ ├── InputFields
│ │ │ │ │ │ ├── DropDown.jsx
│ │ │ │ │ │ ├── FileField.jsx
│ │ │ │ │ │ ├── TextField.jsx
│ │ │ │ │ │ └── index.jsx
│ │ │ │ │ ├── index.jsx
│ │ │ │ │ └── validation
│ │ │ │ │ │ ├── formConfig.js
│ │ │ │ │ │ ├── formSchema.js
│ │ │ │ │ │ └── index.js
│ │ │ │ └── index.jsx
│ │ │ ├── Icons
│ │ │ │ ├── Delete.jsx
│ │ │ │ ├── Verify.jsx
│ │ │ │ └── index.jsx
│ │ │ └── Menu.jsx
│ │ ├── index.css
│ │ └── main.jsx
│ ├── tailwind.config.js
│ └── vite.config.js
├── Bank-Management
│ └── bank_management_system.c
├── Blog-site
│ ├── .gitignore
│ ├── README.md
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ ├── favicon.ico
│ │ └── index.html
│ └── src
│ │ ├── App-v1.js
│ │ ├── App.js
│ │ ├── PostContext.js
│ │ ├── Test.js
│ │ ├── index.js
│ │ └── style.css
├── Bulk_Email_Sender
│ ├── hzshashwat.xlsx
│ ├── script.py
│ └── template
│ │ └── index.html
├── Clock
│ ├── Clock.css
│ ├── Clock.html
│ └── Clock.js
├── Color-Palette-Generator
│ ├── .eslintrc.cjs
│ ├── .gitignore
│ ├── README.md
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── postcss.config.js
│ ├── public
│ │ └── vite.svg
│ ├── src
│ │ ├── App.jsx
│ │ ├── assets
│ │ │ └── react.svg
│ │ ├── components
│ │ │ └── ColorPaletteGenerator.jsx
│ │ ├── index.css
│ │ └── main.jsx
│ ├── tailwind.config.js
│ └── vite.config.js
├── Database_management_system
│ └── main.cpp
├── DiceRollGameAndroid
│ ├── .gitignore
│ ├── .idea
│ │ ├── .gitignore
│ │ ├── .name
│ │ ├── compiler.xml
│ │ ├── gradle.xml
│ │ ├── kotlinc.xml
│ │ └── misc.xml
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle.kts
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── rohitk
│ │ │ │ └── neatroot
│ │ │ │ └── rolldice
│ │ │ │ └── ExampleInstrumentedTest.kt
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_launcher-playstore.png
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── rohitk
│ │ │ │ │ └── neatroot
│ │ │ │ │ └── rolldice
│ │ │ │ │ ├── MainActivity.kt
│ │ │ │ │ ├── PlayersNameActivity.kt
│ │ │ │ │ └── WinningActivity.kt
│ │ │ └── res
│ │ │ │ ├── drawable
│ │ │ │ ├── background_solid_leftcurve.xml
│ │ │ │ ├── background_solid_rightcurve.xml
│ │ │ │ ├── background_solid_round.xml
│ │ │ │ ├── background_solid_white.xml
│ │ │ │ ├── banner1.jpg
│ │ │ │ ├── dice_0.xml
│ │ │ │ ├── dice_1.xml
│ │ │ │ ├── dice_2.xml
│ │ │ │ ├── dice_3.xml
│ │ │ │ ├── dice_4.xml
│ │ │ │ ├── dice_5.xml
│ │ │ │ ├── dice_6.xml
│ │ │ │ ├── ic_launcher_background.xml
│ │ │ │ ├── ic_launcher_foreground.xml
│ │ │ │ ├── ic_logo.xml
│ │ │ │ ├── icon_send_24.xml
│ │ │ │ ├── one.png
│ │ │ │ ├── three.png
│ │ │ │ └── winingimage1.jpg
│ │ │ │ ├── font
│ │ │ │ ├── abeezee.xml
│ │ │ │ ├── arbutus.xml
│ │ │ │ ├── arbutus_slab.xml
│ │ │ │ └── archivo_bold.xml
│ │ │ │ ├── layout
│ │ │ │ ├── activity_main.xml
│ │ │ │ ├── activity_players_name.xml
│ │ │ │ └── activity_winning.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── raw
│ │ │ │ └── confetti.json
│ │ │ │ ├── values-night
│ │ │ │ └── themes.xml
│ │ │ │ ├── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── font_certs.xml
│ │ │ │ ├── ic_launcher_background.xml
│ │ │ │ ├── preloaded_fonts.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── themes.xml
│ │ │ │ └── xml
│ │ │ │ ├── backup_rules.xml
│ │ │ │ ├── data_extraction_rules.xml
│ │ │ │ └── file_paths.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── rohitk
│ │ │ └── neatroot
│ │ │ └── rolldice
│ │ │ └── ExampleUnitTest.kt
│ ├── build.gradle.kts
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle.kts
├── Digital Clock
│ ├── index.html
│ ├── script.js
│ └── styles.css
├── EnglishDictionary-UsingAPI
│ ├── index.html
│ ├── index.js
│ └── style.css
├── Light Bulb
│ ├── Screenshot.JPG
│ ├── images
│ │ ├── lightOff.png
│ │ └── lightOn.png
│ ├── index.html
│ └── style.css
├── Password Generator
│ ├── index.html
│ ├── script.js
│ └── style.css
├── Piano
│ ├── palyMusic.html
│ └── sound
│ │ ├── Ch1.mp3
│ │ ├── Ch2.mp3
│ │ ├── Ch3.mp3
│ │ ├── Ch4.mp3
│ │ ├── Ch5.mp3
│ │ ├── Da.mp3
│ │ ├── Ga.mp3
│ │ ├── Ma.mp3
│ │ ├── Ni.mp3
│ │ ├── Pa.mp3
│ │ ├── Re.mp3
│ │ └── Sa.mp3
├── Quiz-Game
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ ├── favicon.ico
│ │ └── index.html
│ └── src
│ │ ├── App.css
│ │ ├── App.js
│ │ ├── Data
│ │ └── QuizData.js
│ │ ├── components
│ │ ├── Quiz.js
│ │ └── QuizResult.js
│ │ └── index.js
├── SAYAN042-Project
│ ├── image.webp
│ └── modefied index.html
├── Safiya-siddiqui-filtergallery
│ ├── Gallery.css
│ ├── Gallery.html
│ └── Gallery.js
├── Shopping_Cart
│ ├── README.md
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ ├── logo192.png
│ │ ├── logo512.png
│ │ ├── manifest.json
│ │ └── robots.txt
│ └── src
│ │ ├── App.css
│ │ ├── App.js
│ │ ├── App.test.js
│ │ ├── components
│ │ ├── CartList.js
│ │ ├── Header.js
│ │ └── ProductList.js
│ │ ├── index.css
│ │ ├── index.js
│ │ ├── logo.svg
│ │ ├── reportWebVitals.js
│ │ └── setupTests.js
├── Snake.html
├── TanishkaShivhare_Fitness-website
│ ├── README.md
│ ├── banner.jpg
│ ├── boxing.png
│ ├── feature-background.jpg
│ ├── feature.png
│ ├── gym.png
│ ├── index.html
│ ├── logo-white.png
│ ├── logo.png
│ ├── logotitlefitness.png
│ ├── menu-black.png
│ ├── menu-pink.png
│ ├── mma.png
│ ├── run.jpg
│ ├── style.css
│ ├── user1.jpg
│ ├── user2.jpg
│ └── user3.jpg
├── TextAnimation
│ ├── index.html
│ └── style.css
├── The_Calculator-main
│ ├── README.md
│ ├── index.html
│ ├── script.js
│ ├── style.css
│ └── utils.css
├── Todo list app Likeur
│ ├── app.js
│ ├── index.html
│ └── style.css
├── YT-MP3
│ └── index.html
├── abdul-azeez-Sidebar
│ ├── Sidebar.css
│ └── Sidebar.html
├── abdul-azeez060-petAdoptation
│ ├── PetAdoptation.css
│ └── PetAdoptation.html
├── azaba_guess-the-number
│ ├── guess_number.py
│ └── hiscore.txt
├── b0n21en5-taskify
│ ├── .eslintrc.cjs
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ └── favicon.png
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── components
│ │ │ ├── InputField.tsx
│ │ │ ├── SingleTodo.tsx
│ │ │ ├── TodoList.tsx
│ │ │ └── styles.css
│ │ ├── index.css
│ │ ├── main.tsx
│ │ ├── model.ts
│ │ └── vite-env.d.ts
│ ├── tsconfig.json
│ ├── tsconfig.node.json
│ └── vite.config.ts
├── cbmario-master
│ └── cbmario-master
│ │ ├── assets
│ │ ├── castle.gif
│ │ ├── cloud.png
│ │ ├── coin.png
│ │ ├── coin_iormvy.png
│ │ ├── enemy.png
│ │ ├── flag.png
│ │ ├── goomba_nmbtds.png
│ │ ├── grass.png
│ │ ├── ground.png
│ │ ├── mario_wjlfy5.png
│ │ ├── pipe1.gif
│ │ ├── pipe2.gif
│ │ └── tile.png
│ │ ├── game.html
│ │ ├── game.js
│ │ ├── index.html
│ │ ├── index.php
│ │ ├── phaser.min.js
│ │ └── style.css
├── dice-app
│ ├── .eslintrc.cjs
│ ├── .gitignore
│ ├── README.md
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── src
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── Dice.css
│ │ ├── Dice.jsx
│ │ ├── index.css
│ │ └── main.jsx
│ └── vite.config.js
├── jmngandu_GuessingGame
│ ├── README.md
│ ├── guess
│ └── guess.cpp
├── login
│ ├── form.js
│ ├── index.html
│ └── style.css
├── navyapreethamreddy_habittracker
│ ├── .flutter-plugins
│ ├── .flutter-plugins-dependencies
│ ├── .gitignore
│ ├── .metadata
│ ├── README.md
│ ├── analysis_options.yaml
│ ├── hive_storage.iml
│ ├── pubspec.lock
│ ├── pubspec.yaml
│ └── sample.txt
├── portfolio
│ ├── API Weather App
│ │ ├── index.html
│ │ ├── script.js
│ │ └── style.css
│ ├── assets
│ │ ├── Saransh Tripathi.pdf
│ │ ├── about-pic.png
│ │ ├── arrow.png
│ │ ├── checkmark.png
│ │ ├── education.png
│ │ ├── email.png
│ │ ├── experience.png
│ │ ├── github.png
│ │ ├── linkedin.png
│ │ ├── profile-pic-2.png
│ │ ├── profile-pic.png
│ │ ├── project-1.jpg
│ │ ├── project-2.png
│ │ └── project-3.jpg
│ ├── index.html
│ ├── mediaqueries.css
│ ├── rock paper
│ │ ├── index.html
│ │ ├── script.js
│ │ └── style.css
│ ├── script.css
│ ├── script.js
│ ├── style.css
│ └── tip calculator
│ │ ├── index.html
│ │ ├── script.js
│ │ ├── style.css
│ │ └── tip calculator.code-workspace
├── sahdev-project
│ └── marksheet.c
├── tic-tac-toe
│ ├── app.js
│ ├── index.html
│ └── style.css
└── weatherAppUsing-API
│ ├── index.html
│ ├── index.js
│ └── style.css
├── README.md
├── Thanks.md
├── agro.html
├── calculator.html
├── hello
├── package-lock.json
├── package.json
├── public
├── favicon.ico
├── index.html
└── manifest.json
└── src
├── App.js
├── Components
├── Profile.css
└── Profile.jsx
├── Contributer
└── User.js
└── index.js
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # production
12 | /build
13 |
14 | # misc
15 | .DS_Store
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/.vscode/c_cpp_properties.json:
--------------------------------------------------------------------------------
1 | {
2 | "configurations": [
3 | {
4 | "name": "windows-gcc-x64",
5 | "includePath": [
6 | "${workspaceFolder}/**"
7 | ],
8 | "compilerPath": "C:/msys64/ucrt64/bin/gcc.exe",
9 | "cStandard": "${default}",
10 | "cppStandard": "${default}",
11 | "intelliSenseMode": "windows-gcc-x64",
12 | "compilerArgs": [
13 | ""
14 | ]
15 | }
16 | ],
17 | "version": 4
18 | }
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | "name": "C/C++ Runner: Debug Session",
6 | "type": "cppdbg",
7 | "request": "launch",
8 | "args": [],
9 | "stopAtEntry": false,
10 | "externalConsole": true,
11 | "cwd": "c:/Users/ASUS/OneDrive/Desktop/Hactoberfest2023_ADSC2",
12 | "program": "c:/Users/ASUS/OneDrive/Desktop/Hactoberfest2023_ADSC2/build/Debug/outDebug",
13 | "MIMode": "gdb",
14 | "miDebuggerPath": "gdb",
15 | "setupCommands": [
16 | {
17 | "description": "Enable pretty-printing for gdb",
18 | "text": "-enable-pretty-printing",
19 | "ignoreFailures": true
20 | }
21 | ]
22 | }
23 | ]
24 | }
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "C_Cpp_Runner.cCompilerPath": "gcc",
3 | "C_Cpp_Runner.cppCompilerPath": "g++",
4 | "C_Cpp_Runner.debuggerPath": "gdb",
5 | "C_Cpp_Runner.cStandard": "",
6 | "C_Cpp_Runner.cppStandard": "",
7 | "C_Cpp_Runner.msvcBatchPath": "",
8 | "C_Cpp_Runner.useMsvc": false,
9 | "C_Cpp_Runner.warnings": [
10 | "-Wall",
11 | "-Wextra",
12 | "-Wpedantic",
13 | "-Wshadow",
14 | "-Wformat=2",
15 | "-Wcast-align",
16 | "-Wconversion",
17 | "-Wsign-conversion",
18 | "-Wnull-dereference"
19 | ],
20 | "C_Cpp_Runner.msvcWarnings": [
21 | "/W4",
22 | "/permissive-",
23 | "/w14242",
24 | "/w14287",
25 | "/w14296",
26 | "/w14311",
27 | "/w14826",
28 | "/w44062",
29 | "/w44242",
30 | "/w14905",
31 | "/w14906",
32 | "/w14263",
33 | "/w44265",
34 | "/w14928"
35 | ],
36 | "C_Cpp_Runner.enableWarnings": true,
37 | "C_Cpp_Runner.warningsAsError": false,
38 | "C_Cpp_Runner.compilerArgs": [],
39 | "C_Cpp_Runner.linkerArgs": [],
40 | "C_Cpp_Runner.includePaths": [],
41 | "C_Cpp_Runner.includeSearch": ["*", "**/*"],
42 | "C_Cpp_Runner.excludeSearch": [
43 | "**/build",
44 | "**/build/**",
45 | "**/.*",
46 | "**/.*/**",
47 | "**/.vscode",
48 | "**/.vscode/**"
49 | ],
50 | "C_Cpp_Runner.useAddressSanitizer": false,
51 | "C_Cpp_Runner.useUndefinedSanitizer": false,
52 | "C_Cpp_Runner.useLeakSanitizer": false,
53 | "C_Cpp_Runner.showCompilationTime": false,
54 | "C_Cpp_Runner.useLinkTimeOptimization": false,
55 | "C_Cpp_Runner.msvcSecureNoWarnings": false,
56 | "liveServer.settings.port": 7011
57 | }
58 |
--------------------------------------------------------------------------------
/CONTRIBUTION.md:
--------------------------------------------------------------------------------
1 | # Contribution Guidelines
2 |
3 | Thank you for considering contributing to our repository! Here's how you can get started:
4 |
5 | # For Task1
6 |
7 | 1. Fork the Repository: Click on the "Fork" button at the top right of this page to create your own copy of the repository.
8 |
9 | 2. Clone your fork : Clone your forked repository to your local machine:
10 | ```bash
11 | git clone cloned-repo-url
12 | ```
13 |
14 | 3. Create a New Branch: Create a new branch for your feature or task:
15 | ```bash
16 | git checkout -b 'feature-name'
17 | ```
18 | 4. Go to src -> Contributer -> user.js folder and your details:
19 | ```
20 | 'name':'your-name',
21 | 'github_username': 'your-github-username',
22 | 'about':'about-yourself',
23 | 'linkdenProfile':'your-linkden id ',
24 | ```
25 | 5. Commit Your Changes: Once you've completed your task, commit your changes with a descriptive message:
26 | ```bash
27 | git commit -m 'Add feature-name'
28 | ```
29 |
30 | 6. Push to Your Branch: Push your changes to your branch:
31 | ```bash
32 | git push origin 'feature-name'
33 | ```
34 |
35 | 7. Submit a Pull Request: Go to the original repository and click on "New Pull Request". Provide a descriptive title and explain your changes.
36 |
37 | 8. Your pull request merged successfully make sure to star the repository.
38 |
39 | # For Task 2
40 |
41 | 1. Create a New Branch: Create a new branch for your feature or task:
42 | ```bash
43 | git checkout -b 'feature-name'
44 | ```
45 | 2. Go to Project folder and make a new folder of yourname_projectTitle and add your project:
46 |
47 | 3. Commit Your Changes: Once you've completed your task, commit your changes with a descriptive message:
48 | ```bash
49 | git commit -m 'Add feature-name'
50 | ```
51 |
52 | 4. Push to Your Branch: Push your changes to your branch:
53 | ```bash
54 | git push origin 'feature-name'
55 | ```
56 |
57 | 5. Submit a Pull Request: Go to the original repository and click on "New Pull Request". Provide a descriptive title and explain your changes.
58 |
59 | 6. Your pull request merged successfully make sure to star the repository.
60 |
--------------------------------------------------------------------------------
/Code Of Conduct:
--------------------------------------------------------------------------------
1 | This is a Code of Conduct for this repo.
2 |
3 | Be mindful of your language. Any of the following behavior is unacceptable:
4 |
5 | Offensive comments related to gender identity and expression, sexual orientation, race, ethnicity, language, neuro-type, size, ability, class, religion, culture, subculture, political opinion, age, skill level, occupation, or background
6 | Threats of violence
7 | Deliberate intimidation
8 | Sexually explicit or violent material
9 | Unwelcome sexual attention
10 | Stalking or following
11 | Or any other kinds of harassment
12 | Use your best judgement. If it will possibly make others uncomfortable, do not post it.
13 |
14 | Be respectful. Disagreement is not an opportunity to attack someone else's thoughts or opinions. Although views may differ, remember to approach every situation with patience and care.
15 |
16 | Be considerate. Think about how your contribution will affect others in the community.
17 |
18 | Be open minded. Embrace new people and new ideas. Our community is continually evolving and we welcome positive change.
19 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Alok Tamrakar
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Projects/ADSC-Project/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 | This is adsc project
10 |
11 |
--------------------------------------------------------------------------------
/Projects/ATM Project/ATMCaseStudy.java:
--------------------------------------------------------------------------------
1 | // ATMCaseStudy.java
2 | // Driver program for the ATM case study
3 |
4 | public class ATMCaseStudy
5 | {
6 | // main method creates and runs the ATM
7 | public static void main(String[] args)
8 | {
9 |
10 | ATM theATM = ATM.getinstance();
11 |
12 | theATM.run();
13 | } // end main
14 | } // end class ATMCaseStudy
15 |
16 |
17 |
18 | /**************************************************************************
19 | * (C) Copyright 1992-2014 by Deitel & Associates, Inc. and *
20 | * Pearson Education, Inc. All Rights Reserved. *
21 | * *
22 | * DISCLAIMER: The authors and publisher of this book have used their *
23 | * best efforts in preparing the book. These efforts include the *
24 | * development, research, and testing of the theories and programs *
25 | * to determine their effectiveness. The authors and publisher make *
26 | * no warranty of any kind, expressed or implied, with regard to these *
27 | * programs or to the documentation contained in these books. The authors *
28 | * and publisher shall not be liable in any event for incidental or *
29 | * consequential damages in connection with, or arising out of, the *
30 | * furnishing, performance, or use of these programs. *
31 | *************************************************************************/
32 |
--------------------------------------------------------------------------------
/Projects/ATM Project/AccountFactory.java:
--------------------------------------------------------------------------------
1 |
2 | public class AccountFactory extends Account {
3 |
4 | //This code is used for creating additional accounts to add to the database.
5 | public AccountFactory(String Username, int theAccountNumber, int thePIN, double theAvailableBalance,
6 | double theTotalBalance, int isadmin) {
7 | super(Username, theAccountNumber, thePIN, theAvailableBalance, theTotalBalance, isadmin);
8 | setUsername(Username);
9 | setAccountNumber(theAccountNumber);
10 | setPin(thePIN);
11 | setAvailableBalance(theAvailableBalance);
12 | setTotalBalance(theTotalBalance);
13 | setAdmin(isadmin);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Projects/Advice generator app/app.js:
--------------------------------------------------------------------------------
1 | const btn=document.querySelector("button");
2 | const h1=document.querySelector("h1");
3 | const span=document.querySelector("span");
4 |
5 | // Fetching API
6 |
7 | let id=1;
8 | const url="https://api.adviceslip.com/advice"
9 | const getData=async function(){
10 | const xhr=new XMLHttpRequest();
11 | const response=await fetch(`${url}/${Math.floor(Math.random() * 118) + 1}`);
12 | if(response.ok){
13 | const data=await response.json();
14 | return data;
15 | }
16 | else{
17 | console.log("something went wrong..");
18 | }
19 | }
20 |
21 |
22 | btn.addEventListener("click",()=>{
23 |
24 | getData()
25 | .then(data=>{
26 | id++;
27 | span.textContent=id;
28 | h1.textContent=`"${data.slip.advice}"`;
29 | })
30 | .catch(()=>{
31 | console.log("Check your internet connection");
32 | })
33 | btn.classList.toggle('rotate');
34 | })
35 |
--------------------------------------------------------------------------------
/Projects/Advice generator app/images/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Advice generator app/images/favicon-32x32.png
--------------------------------------------------------------------------------
/Projects/Advice generator app/images/icon-dice.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Projects/Advice generator app/images/pattern-divider-desktop.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Projects/Advice generator app/images/pattern-divider-mobile.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Projects/Advice generator app/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Advice Generator App
9 |
10 |
11 |
12 |
advice #1
13 |
"Luck comes from hard work. Luck happens when hard work and timing and talent intersect."
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Projects/AngularJS Usage/README.md:
--------------------------------------------------------------------------------
1 | # ✔ AngularJS Usage
2 | - Curated use of AngularJS Framework.
3 |
4 | ****
5 |
6 | ### Usage Points:
7 | - first create the two file `index.html` and `app.js` file.
8 | - We can run the `index.html` file using the below command
9 | ```
10 | start index.html
11 | ```
12 | - After running the command, the following thing we can see on the default browser.
13 |
14 | 
15 |
16 | - The initial message that we see is, `Hello, AngularJS!`, and there is an option to enter our name.
17 | - After entering name, when we click on `update message` button, the message will update to `Hello, Akash!`, as follows:
18 |
19 | 
20 |
21 | ****
22 |
23 | ### Summary of code:
24 | - The code sets up an `AngularJS` application that `displays a greeting message`. The user can enter their name in an input field, and upon clicking the button, the message is updated to greet the user with their entered name.
25 |
26 | ****
27 |
28 | ### IMP Points:
29 | -
30 |
--------------------------------------------------------------------------------
/Projects/AngularJS Usage/app.js:
--------------------------------------------------------------------------------
1 | // Define the AngularJS module and controller
2 | var app = angular.module('myApp', []);
3 |
4 | app.controller('myController', function($scope) {
5 | $scope.message = 'Hello, AngularJS!';
6 |
7 | $scope.updateMessage = function() {
8 | $scope.message = 'Hello, ' + $scope.name + '!';
9 | };
10 | });
11 |
--------------------------------------------------------------------------------
/Projects/AngularJS Usage/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | AngularJS Sample App
5 |
6 |
29 |
30 |
31 |
32 | AngularJS Usage
33 |
34 |
35 |
{{ message }}
36 |
37 |
38 | Update Message
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Projects/Animated text/Animated hii.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
13 |
14 |
15 | Change Text
16 | change Background
17 | change Image
18 |
19 |
20 |
21 | Happy Birthday
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Projects/Animated text/README.md:
--------------------------------------------------------------------------------
1 | # Animated-text-01
2 | This is project of HTML & CSS
3 | Hello Harsh text have background animation
4 |
5 | - ⚡ I made this project for Fun
6 |
7 |
8 |
9 | 
10 |
11 | You can adjust the text or font size as u need just a simple change in CSS in the height attribute
12 |
13 | Thank you for Visiting my project don't forget to follow me ON github
14 |
15 | - follow me 👉👉 [harshsinghcs](harshsinghcs)
16 |
--------------------------------------------------------------------------------
/Projects/Animated text/colourfull.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Animated text/colourfull.png
--------------------------------------------------------------------------------
/Projects/Animated text/oranges.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Animated text/oranges.jpg
--------------------------------------------------------------------------------
/Projects/Animated text/script.js:
--------------------------------------------------------------------------------
1 | // Get references to the elements you want to modify
2 | const header = document.querySelector('header');
3 | const h1 = document.querySelector('h1');
4 | const image = document.querySelector('img');
5 |
6 | // Function to change the text content of the element
7 | function changeText() {
8 | const newText = prompt('Enter new text:');
9 | if (newText) {
10 | h1.textContent = newText;
11 | }
12 | }
13 |
14 | // Function to change the background color of the header
15 | function changeBackground() {
16 | const newColor = prompt('Enter new background color (e.g., #ff0000 for red):');
17 | if (newColor) {
18 | header.style.backgroundColor = newColor;
19 | }
20 | }
21 |
22 | // Function to change the image source
23 | function changeImage() {
24 | const newImage = prompt('Enter new image URL:');
25 | if (newImage) {
26 | image.src = newImage;
27 | }
28 | }
29 |
30 | // Attach click event listeners to buttons
31 | document.getElementById('changeTextBtn').addEventListener('click', changeText);
32 | document.getElementById('changeBackgroundBtn').addEventListener('click', changeBackground);
33 | document.getElementById('changeImageBtn').addEventListener('click', changeImage);
34 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/.eslintrc.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | env: {
3 | browser: true,
4 | commonjs: true,
5 | es2021: true,
6 | },
7 | extends: [
8 | "plugin:react/recommended",
9 | ],
10 | overrides: [
11 |
12 | ],
13 | parserOptions: {
14 | ecmaVersion: "latest",
15 | sourceType: "module",
16 | },
17 | plugins: ["react"],
18 | rules: {
19 | "react/react-in-jsx-scope": "off",
20 | quotes: [ "error", "double" ],
21 | semi: [ "error", "always" ],
22 | "no-alert": ["error"],
23 | "no-console": ["off"],
24 | "max-len": [ "error",
25 | {
26 | code: 175,
27 | ignoreUrls: true,
28 | ignoreStrings: true,
29 | }],
30 | "no-multi-spaces": "error",
31 | "key-spacing": ["error"],
32 | "no-trailing-spaces": [ "error", {
33 | ignoreComments: true,
34 | }],
35 | "object-curly-newline": [ "error", {
36 | ObjectExpression: "always",
37 | ImportDeclaration: "never",
38 | ExportDeclaration: "never",
39 | }],
40 | "object-curly-spacing": [ "error", "always" ],
41 | "array-bracket-spacing": [ "error", "always", {
42 | singleValue: false,
43 | objectsInArrays: false,
44 | arraysInArrays: false,
45 | }],
46 | "space-in-parens": [ "error", "never" ],
47 | "no-multiple-empty-lines": [ "error", {
48 | max: 2, maxBOF: 0, maxEOF: 0,
49 | }],
50 | camelcase: ["error"],
51 | "no-inline-comments": "error",
52 | "no-negated-condition": "error",
53 | "no-nested-ternary": "error",
54 | "no-var": "error",
55 | "require-await": "error",
56 | "no-unused-vars": "error",
57 | "no-useless-catch": "error",
58 | },
59 | };
60 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/.husky/commit-msg:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 | . "$(dirname -- "$0")/_/husky.sh"
3 |
4 | npx --no -- commitlint --edit ${1}
5 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/commitlint.config.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | rules: {
3 | "type-enum": [
4 | 2,
5 | "always",
6 | [
7 | "feat","fix", "wip", "build", "refactor"
8 | ],
9 | ],
10 | "type-case": [
11 | 2,
12 | "always",
13 | "lower-case"
14 | ],
15 | "type-empty": [
16 | 2,
17 | "never"
18 | ],
19 | "type-max-length": [
20 | 2,
21 | "always",
22 | 8
23 | ],
24 | "scope-case": [
25 | 2,
26 | "always",
27 | "lower-case"
28 | ],
29 | "subject-case": [
30 | 2,
31 | "always",
32 | "lower-case"
33 | ],
34 | "subject-empty": [
35 | 2,
36 | "never"
37 | ],
38 | "subject-max-length": [ 2,
39 | "always",
40 | 60
41 | ],
42 | },
43 | };
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
8 |
9 | Trishan | KYC Verification
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kyc-form",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "vite build",
9 | "preview": "vite preview"
10 | },
11 | "dependencies": {
12 | "@hookform/resolvers": "^3.1.0",
13 | "postcss": "^8.4.22",
14 | "prop-types": "^15.8.1",
15 | "react": "^18.2.0",
16 | "react-dom": "^18.2.0",
17 | "react-hook-form": "^7.43.9",
18 | "tailwindcss": "^3.3.1",
19 | "yup": "^1.1.1"
20 | },
21 | "devDependencies": {
22 | "@commitlint/cli": "^17.6.1",
23 | "@commitlint/config-conventional": "^17.6.1",
24 | "@types/react": "^18.0.28",
25 | "@types/react-dom": "^18.0.11",
26 | "autoprefixer": "^10.4.14",
27 | "eslint": "^8.38.0",
28 | "vite": "^4.2.0",
29 | "eslint-plugin-react": "^7.28.0",
30 | "husky": "^8.0.3",
31 | "@vitejs/plugin-react": "^3.1.0"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/postcss.config.js:
--------------------------------------------------------------------------------
1 | export default {
2 | plugins: {
3 | tailwindcss: {
4 | },
5 | autoprefixer: {
6 | },
7 | },
8 | };
9 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/App.jsx:
--------------------------------------------------------------------------------
1 | import Menu from "components/Menu";
2 | import Dashboard from "components/Dashboard";
3 | import "src/index.css";
4 |
5 | const App = () =>
6 |
7 |
8 |
9 | ;
10 |
11 | export default App;
12 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Dashboard/Header.jsx:
--------------------------------------------------------------------------------
1 | const Header = () =>
2 |
3 |
KYC Verification
4 |
7 |
;
8 |
9 | export default Header;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Dashboard/KycForm/InputFields/DropDown.jsx:
--------------------------------------------------------------------------------
1 | import PropTypes from "prop-types";
2 |
3 | const DropDown = (props) => {
4 | const { name, label, defaultValue, register, errorMessage, options } = props;
5 | return (
6 |
7 | {label}
8 |
9 | {options.map(option => (
10 |
14 | {option.label}
15 |
16 | ))}
17 |
18 | {errorMessage}
19 |
20 | );
21 | };
22 |
23 | DropDown.propTypes = {
24 | name: PropTypes.string,
25 | label: PropTypes.string,
26 | options: PropTypes.array,
27 | defaultValue: PropTypes.string,
28 | register: PropTypes.func,
29 | errorMessage: PropTypes.string
30 | };
31 |
32 | export default DropDown;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Dashboard/KycForm/InputFields/TextField.jsx:
--------------------------------------------------------------------------------
1 | import PropTypes from "prop-types";
2 |
3 | const TextField = (props) => {
4 | const { name, label, placeholder, type, register, errorMessage } = props;
5 | return (
6 |
7 | {label}
8 |
9 |
17 | {errorMessage}
18 |
19 | );
20 | };
21 |
22 | TextField.propTypes = {
23 | name: PropTypes.string,
24 | type: PropTypes.string,
25 | label: PropTypes.string,
26 | options: PropTypes.array,
27 | placeholder: PropTypes.string,
28 | defaultValue: PropTypes.string,
29 | register: PropTypes.func,
30 | errorMessage: PropTypes.string
31 | };
32 |
33 | export default TextField;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Dashboard/KycForm/InputFields/index.jsx:
--------------------------------------------------------------------------------
1 | import PropTypes from "prop-types";
2 | import FileField from "components/Dashboard/KycForm/InputFields/FileField";
3 | import TextField from "components/Dashboard/KycForm/InputFields/TextField";
4 | import DropDown from "components/Dashboard/KycForm/InputFields/DropDown";
5 |
6 | const InputFields = (props) => {
7 | const { name, type, label, options, placeholder, defaultValue, register, errorMessage } = props;
8 |
9 | if (type === "select") {
10 | return (
11 |
12 | );
13 | }
14 |
15 | else if (type === "file") {
16 | return (
17 |
18 | );
19 | }
20 |
21 | else {
22 | return (
23 |
24 | );
25 | }
26 | };
27 |
28 | InputFields.propTypes = {
29 | name: PropTypes.string,
30 | type: PropTypes.string,
31 | label: PropTypes.string,
32 | options: PropTypes.array,
33 | placeholder: PropTypes.string,
34 | defaultValue: PropTypes.string,
35 | register: PropTypes.func,
36 | errorMessage: PropTypes.string
37 | };
38 |
39 | export default InputFields;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Dashboard/KycForm/index.jsx:
--------------------------------------------------------------------------------
1 | import Form from "components/Dashboard/KycForm/Form";
2 | import InputFields from "components/Dashboard/KycForm/InputFields";
3 |
4 | export { InputFields };
5 | export default Form;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Dashboard/KycForm/validation/index.js:
--------------------------------------------------------------------------------
1 | import formConfig from "components/Dashboard/KycForm/validation/formConfig";
2 | import formSchema from "components/Dashboard/KycForm/validation/formSchema";
3 |
4 | export { formConfig, formSchema };
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Dashboard/index.jsx:
--------------------------------------------------------------------------------
1 | import Header from "components/Dashboard/Header";
2 | import Form from "components/Dashboard/KycForm";
3 |
4 | const Dashboard = () =>
5 |
6 |
7 |
8 |
;
9 |
10 | export default Dashboard;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Icons/Delete.jsx:
--------------------------------------------------------------------------------
1 | const Delete = () =>
2 |
3 |
4 | ;
5 |
6 | export default Delete;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Icons/Verify.jsx:
--------------------------------------------------------------------------------
1 | const Verify = () =>
2 |
3 |
4 | ;
5 |
6 | export default Verify;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Icons/index.jsx:
--------------------------------------------------------------------------------
1 | import Verify from "components/Icons/Verify";
2 | import Delete from "components/Icons/Delete";
3 |
4 | export { Verify, Delete };
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/components/Menu.jsx:
--------------------------------------------------------------------------------
1 | import { Verify } from "components/Icons";
2 |
3 | const Menu = () =>
4 |
5 |
6 |
11 |
12 |
Trishan Bank Limited
13 |
14 |
15 |
16 |
21 |
22 |
23 | Verify KYC
24 |
25 |
26 |
;
27 |
28 | export default Menu;
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/index.css:
--------------------------------------------------------------------------------
1 | @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
2 |
3 | @tailwind base;
4 | @tailwind components;
5 | @tailwind utilities;
6 |
7 | * {
8 | margin: 0;
9 | padding: 0;
10 | box-sizing: border-box;
11 | }
12 |
13 | .App {
14 | @apply flex items-start justify-start
15 | }
16 |
17 | .section-heading {
18 | @apply font-bold text-2xl
19 | }
20 |
21 | .form {
22 | @apply w-11/12 m-16 bg-grey rounded-md p-14
23 | }
24 |
25 | .input-container, .select-container{
26 | @apply flex flex-col gap-2
27 | }
28 |
29 | .input-field,
30 | .select-field {
31 | @apply w-full py-2 px-4 bg-transparent outline-none outline-1 outline-gray-400 rounded-md focus:outline-2 focus:outline-blue-500
32 | }
33 |
34 | .error{
35 | @apply text-sm text-primary mt-1
36 | }
37 |
38 | .upload-file{
39 | @apply flex flex-col items-center justify-center min-w-full min-h-16rem w-fit mb-6 bg-transparent border-2 border-gray-400 border-dashed rounded-lg pb-10 px-10
40 | }
41 |
42 | .file-input{
43 | @apply block w-fit pr-8 text-sm text-white rounded-full file:cursor-pointer file:transition file:ease-in bg-dark file:mr-4 file:py-2 file:px-4 file:font-primary file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-primary file:text-white hover:file:bg-secondary
44 | }
45 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/src/main.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import ReactDOM from "react-dom/client";
3 | import App from "src/App";
4 |
5 | ReactDOM.createRoot(document.getElementById("root")).render(
6 |
7 |
8 | ,
9 | );
10 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/tailwind.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('tailwindcss').Config} */
2 | export default {
3 | content: [
4 | "./index.html",
5 | "./src/**/*.{js,ts,jsx,tsx}",
6 | ],
7 | theme: {
8 | extend: {
9 | fontFamily: {
10 | primary: ["Poppins"]
11 | },
12 | colors: {
13 | primary: "#ff1717",
14 | secondary: "#d32b2b",
15 | dark: "#212b35",
16 | grey: "#f4f5f7"
17 | },
18 | height: {
19 | "47rem": "47rem"
20 | },
21 | minHeight: {
22 | "16rem": "16rem"
23 | }
24 | },
25 | },
26 | };
27 |
--------------------------------------------------------------------------------
/Projects/Bank-KYC-Form/vite.config.js:
--------------------------------------------------------------------------------
1 | import { defineConfig } from "vite";
2 | import react from "@vitejs/plugin-react";
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [react()],
7 | resolve: {
8 | alias: {
9 | src: "/src",
10 | components: "/src/components",
11 | assets: "/src/assets",
12 | },
13 | },
14 | });
15 |
--------------------------------------------------------------------------------
/Projects/Blog-site/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/Projects/Blog-site/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "atomic-blog",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.16.5",
7 | "@testing-library/react": "^13.4.0",
8 | "@testing-library/user-event": "^13.5.0",
9 | "react": "^18.2.0",
10 | "react-dom": "^18.2.0",
11 | "react-scripts": "5.0.1",
12 | "web-vitals": "^2.1.4"
13 | },
14 | "scripts": {
15 | "start": "react-scripts start",
16 | "build": "react-scripts build",
17 | "test": "react-scripts test",
18 | "eject": "react-scripts eject"
19 | },
20 | "eslintConfig": {
21 | "extends": [
22 | "react-app",
23 | "react-app/jest"
24 | ]
25 | },
26 | "browserslist": {
27 | "production": [
28 | ">0.2%",
29 | "not dead",
30 | "not op_mini all"
31 | ],
32 | "development": [
33 | "last 1 chrome version",
34 | "last 1 firefox version",
35 | "last 1 safari version"
36 | ]
37 | },
38 | "devDependencies": {
39 | "@faker-js/faker": "^7.6.0"
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/Projects/Blog-site/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Blog-site/public/favicon.ico
--------------------------------------------------------------------------------
/Projects/Blog-site/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | The Atomic Blog
10 |
11 |
12 | You need to enable JavaScript to run this app.
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Projects/Blog-site/src/PostContext.js:
--------------------------------------------------------------------------------
1 | import { createContext, useContext, useState } from "react";
2 | import { faker } from "@faker-js/faker";
3 |
4 | function createRandomPost() {
5 | return {
6 | title: `${faker.hacker.adjective()} ${faker.hacker.noun()}`,
7 | body: faker.hacker.phrase(),
8 | };
9 | }
10 |
11 | // 1) Create a context
12 | const PostContext = createContext();
13 |
14 | function PostProvider({ children }) {
15 | const [posts, setPosts] = useState(() =>
16 | Array.from({ length: 30 }, () => createRandomPost())
17 | );
18 | const [searchQuery, setSearchQuery] = useState("");
19 | // Derived state. These are the posts that will actually be displayed
20 | const searchedPosts =
21 | searchQuery.length > 0
22 | ? posts.filter((post) =>
23 | `${post.title} ${post.body}`
24 | .toLowerCase()
25 | .includes(searchQuery.toLowerCase())
26 | )
27 | : posts;
28 |
29 | function handleAddPost(post) {
30 | setPosts((posts) => [post, ...posts]);
31 | }
32 |
33 | function handleClearPosts() {
34 | setPosts([]);
35 | }
36 |
37 | return (
38 | // 2) Provide value to child components
39 |
48 | {children}
49 |
50 | );
51 | }
52 |
53 | function usePosts() {
54 | const context = useContext(PostContext);
55 | if (context === undefined)
56 | throw new Error("PostContext was used outside of the PostProvider");
57 | return context;
58 | }
59 |
60 | export { PostProvider, usePosts };
61 |
--------------------------------------------------------------------------------
/Projects/Blog-site/src/Test.js:
--------------------------------------------------------------------------------
1 | import { useState } from "react";
2 |
3 | function SlowComponent() {
4 | // If this is too slow on your maching, reduce the `length`
5 | const words = Array.from({ length: 100_000 }, () => "WORD");
6 | return (
7 |
8 | {words.map((word, i) => (
9 |
10 | {i}: {word}
11 |
12 | ))}
13 |
14 | );
15 | }
16 |
17 | export default function Test() {
18 | const [count, setCount] = useState(0);
19 | return (
20 |
21 |
Slow counter?!?
22 | setCount((c) => c + 1)}>Increase: {count}
23 |
24 |
25 | );
26 | }
27 |
--------------------------------------------------------------------------------
/Projects/Blog-site/src/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import ReactDOM from "react-dom/client";
3 | import "./style.css";
4 | import App from "./App";
5 |
6 | const root = ReactDOM.createRoot(document.getElementById("root"));
7 | root.render(
8 |
9 |
10 |
11 | );
12 |
--------------------------------------------------------------------------------
/Projects/Bulk_Email_Sender/hzshashwat.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Bulk_Email_Sender/hzshashwat.xlsx
--------------------------------------------------------------------------------
/Projects/Bulk_Email_Sender/script.py:
--------------------------------------------------------------------------------
1 | import pandas as pd
2 | import smtplib
3 | from email.mime.text import MIMEText
4 | from email.mime.multipart import MIMEMultipart
5 | from email.mime.application import MIMEApplication
6 |
7 | # Read Excel data
8 | df = pd.read_excel('hzshashwat.xlsx')
9 |
10 | # Email configuration
11 | smtp_server = 'smtp.example.com'
12 | smtp_port = 587 # Change to your SMTP port
13 | smtp_username = 'your_email'
14 | smtp_password = 'your_password'
15 | sender_email = 'your_email'
16 | subject = 'Congratulations!'
17 |
18 | # Read the email template
19 | with open('template/index.html', 'r') as template_file:
20 | email_template = template_file.read()
21 |
22 | # Initialize SMTP server
23 | server = smtplib.SMTP(smtp_server, smtp_port)
24 | server.starttls()
25 | server.login(smtp_username, smtp_password)
26 |
27 | # Loop through recipients and send emails
28 | for index, row in df.iterrows():
29 | recipient_email = row['Email']
30 | recipient_name = row['Name']
31 |
32 | # Create email message
33 | message = MIMEMultipart()
34 | message['From'] = sender_email
35 | message['To'] = recipient_email
36 | message['Subject'] = subject
37 |
38 | # Inject recipient-specific data into the email template
39 | email_content = email_template.replace('{name}', recipient_name)
40 |
41 | # Attach HTML content to the email
42 | message.attach(MIMEText(email_content, 'html'))
43 |
44 | # Send email
45 | server.sendmail(sender_email, recipient_email, message.as_string())
46 |
47 | print(f"Email sent to {recipient_name} at {recipient_email}")
48 |
49 | # Quit the SMTP server
50 | server.quit()
51 |
--------------------------------------------------------------------------------
/Projects/Bulk_Email_Sender/template/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
11 |
12 |
13 | Hello {name}
14 |
15 |
--------------------------------------------------------------------------------
/Projects/Clock/Clock.css:
--------------------------------------------------------------------------------
1 | body{
2 | margin: 0;
3 | padding: 0;
4 | }
5 |
6 | .circle{
7 | position: relative;
8 | width: 300px;
9 | height: 300px;
10 | border: 2px solid black;
11 | border-radius: 50%;
12 | margin: auto auto;
13 |
14 |
15 | }
16 | .hand{
17 | position: absolute;
18 |
19 | left: calc(50% - 5px);
20 | border-radius: 50%;
21 | width: 5px;
22 | transform-origin: bottom center ;
23 | }
24 |
25 |
26 |
27 |
28 |
29 |
30 | .second-arm{
31 | height: 50%;
32 | background-color: red;
33 |
34 |
35 |
36 |
37 |
38 |
39 | }
40 | .minute-arm{
41 |
42 | height: 50%;
43 |
44 | background-color:black;
45 |
46 |
47 |
48 |
49 | }
50 | .hour-arm{
51 |
52 | height: 35%;
53 | background-color: black;
54 | top:15%;
55 |
56 |
57 | }
58 | .vertex{
59 | width: 10px;
60 | height: 10px;
61 |
62 | background-color: black;
63 | border-radius: 70%;
64 | position: absolute;
65 | left: calc(50% - 7px);
66 | top: calc(50% - 7px);
67 |
68 | }
69 | .nummeral{
70 | position: absolute;
71 | font-size: 18px;
72 | }
73 | .twelve{
74 | left: 46%;
75 | }
76 | .six{
77 | left: 48%;
78 | top:93%;
79 | }
80 | .three{
81 | left: 96%;
82 | top: 47%;
83 | }
84 | .nine{
85 | top:47%;
86 | }
87 | .one{
88 | left: 71%;
89 | top: 5%;
90 | }
91 | .two{
92 | left: 90%;
93 | top: 22%;
94 | }
95 | .four{
96 | left: 90%;
97 | top:70% ;
98 | }
99 | .five{
100 | left:72%;
101 | top:88% ;
102 | }
103 | .seven{
104 | left: 25%;
105 | top:87%;
106 | }
107 | .eight{
108 | top: 70%;
109 | left: 7%;
110 | }
111 | .ten{
112 | top: 23%;
113 | left: 6%;
114 |
115 | }
116 | .eleven{
117 | top: 6%;
118 | left: 22%;
119 | }
--------------------------------------------------------------------------------
/Projects/Clock/Clock.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Web Page
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
1
18 |
2
19 |
3
20 |
4
21 |
5
22 |
6
23 |
7
24 |
8
25 |
9
26 |
10
27 |
11
28 |
12
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Projects/Clock/Clock.js:
--------------------------------------------------------------------------------
1 |
2 | function rotateclock(){
3 |
4 | const date=new Date();
5 | const hourHand=document.querySelector(".hour-arm");
6 | const minuteHand=document.querySelector(".minute-arm");
7 | const secondHand=document.querySelector(".second-arm");
8 |
9 | if(!hourHand || !secondHand || !minuteHand){
10 | alert("There is something missing in .html");
11 | return;
12 | }
13 | else{
14 | const second=date.getSeconds();
15 | const minute=date.getMinutes();
16 | const hour=date.getHours();
17 | const secondDeg=(second / 60) * 360;
18 | const minuteDeg=((minute*60 +second)/3600)*360;
19 | const hourDeg=((hour*3600+minute*60 + second)/43200)*360;
20 | secondHand.style.transform=`rotate(${secondDeg}deg)`;
21 | minuteHand.style.transform=`rotate(${minuteDeg}deg)`;
22 | hourHand.style.transform=`rotate(${hourDeg}deg)`;
23 | requestAnimationFrame(rotateclock);
24 | // setInterval(rotateclock,1000);
25 | }
26 | }
27 |
28 | rotateclock();
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/.eslintrc.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: { browser: true, es2020: true },
4 | extends: [
5 | 'eslint:recommended',
6 | 'plugin:react/recommended',
7 | 'plugin:react/jsx-runtime',
8 | 'plugin:react-hooks/recommended',
9 | ],
10 | ignorePatterns: ['dist', '.eslintrc.cjs'],
11 | parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
12 | settings: { react: { version: '18.2' } },
13 | plugins: ['react-refresh'],
14 | rules: {
15 | 'react-refresh/only-export-components': [
16 | 'warn',
17 | { allowConstantExport: true },
18 | ],
19 | },
20 | }
21 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Color Palette Generator - Purna Shrestha
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vite-react-tailwind-starter",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "vite build",
9 | "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
10 | "preview": "vite preview"
11 | },
12 | "dependencies": {
13 | "@types/styled-components": "^5.1.26",
14 | "axios": "^1.4.0",
15 | "react": "^18.2.0",
16 | "react-dom": "^18.2.0",
17 | "react-icons": "^4.11.0",
18 | "styled-components": "^6.0.7"
19 | },
20 | "devDependencies": {
21 | "@types/react": "^18.2.15",
22 | "@types/react-dom": "^18.2.7",
23 | "@vitejs/plugin-react-swc": "^3.3.2",
24 | "autoprefixer": "^10.4.14",
25 | "eslint": "^8.45.0",
26 | "eslint-plugin-react": "^7.32.2",
27 | "eslint-plugin-react-hooks": "^4.6.0",
28 | "eslint-plugin-react-refresh": "^0.4.3",
29 | "postcss": "^8.4.27",
30 | "tailwindcss": "^3.3.3",
31 | "vite": "^4.4.5"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/postcss.config.js:
--------------------------------------------------------------------------------
1 | export default {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/public/vite.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/src/App.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import "./index.css";
3 | import ColorPaletteGenerator from "./components/ColorPaletteGenerator";
4 |
5 | function App() {
6 | return (
7 | <>
8 |
9 | >
10 | );
11 | }
12 |
13 | export default App;
14 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/src/index.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 | @tailwind components;
3 | @tailwind utilities;
4 |
5 | @layer components {
6 | body {
7 | @apply bg-gray-200;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/src/main.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import ReactDOM from "react-dom/client";
3 | import App from "./App.jsx";
4 | import "./index.css";
5 |
6 | ReactDOM.createRoot(document.getElementById("root")).render(
7 |
8 |
9 |
10 | );
11 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/tailwind.config.js:
--------------------------------------------------------------------------------
1 | export default {
2 | content: [
3 | "./index.html",
4 | "./src/**/*.{js,ts,jsx,tsx}",
5 | ],
6 | theme: {
7 | extend: {},
8 | },
9 | plugins: [],
10 | darkMode: "class",
11 | }
12 |
--------------------------------------------------------------------------------
/Projects/Color-Palette-Generator/vite.config.js:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import react from '@vitejs/plugin-react-swc'
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [react()],
7 | })
8 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/libraries
6 | /.idea/modules.xml
7 | /.idea/workspace.xml
8 | /.idea/navEditor.xml
9 | /.idea/assetWizardSettings.xml
10 | .DS_Store
11 | /build
12 | /captures
13 | .externalNativeBuild
14 | .cxx
15 | local.properties
16 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/.idea/.name:
--------------------------------------------------------------------------------
1 | Roll Dice
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/.idea/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/.idea/kotlinc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/build.gradle.kts:
--------------------------------------------------------------------------------
1 | plugins {
2 | id("com.android.application")
3 | id("org.jetbrains.kotlin.android")
4 | }
5 |
6 | android {
7 | namespace = "com.rohitk.neatroot.rolldice"
8 | compileSdk = 33
9 |
10 | defaultConfig {
11 | applicationId = "com.rohitk.neatroot.rolldice"
12 | minSdk = 26
13 | targetSdk = 33
14 | versionCode = 1
15 | versionName = "1.0"
16 |
17 | testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18 | }
19 | buildFeatures{
20 | viewBinding = true
21 | }
22 |
23 | buildTypes {
24 | release {
25 | isMinifyEnabled = false
26 | proguardFiles(
27 | getDefaultProguardFile("proguard-android-optimize.txt"),
28 | "proguard-rules.pro"
29 | )
30 | }
31 | }
32 | compileOptions {
33 | sourceCompatibility = JavaVersion.VERSION_1_8
34 | targetCompatibility = JavaVersion.VERSION_1_8
35 | }
36 | kotlinOptions {
37 | jvmTarget = "1.8"
38 | }
39 | }
40 |
41 | dependencies {
42 |
43 | implementation("androidx.core:core-ktx:1.9.0")
44 | implementation("androidx.appcompat:appcompat:1.6.1")
45 | implementation("com.google.android.material:material:1.9.0")
46 | implementation("androidx.constraintlayout:constraintlayout:2.1.4")
47 | testImplementation("junit:junit:4.13.2")
48 | androidTestImplementation("androidx.test.ext:junit:1.1.5")
49 | androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
50 |
51 | //lottie
52 | implementation ("com.airbnb.android:lottie:3.4.0")
53 | }
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/androidTest/java/com/rohitk/neatroot/rolldice/ExampleInstrumentedTest.kt:
--------------------------------------------------------------------------------
1 | package com.rohitk.neatroot.rolldice
2 |
3 | import androidx.test.platform.app.InstrumentationRegistry
4 | import androidx.test.ext.junit.runners.AndroidJUnit4
5 |
6 | import org.junit.Test
7 | import org.junit.runner.RunWith
8 |
9 | import org.junit.Assert.*
10 |
11 | /**
12 | * Instrumented test, which will execute on an Android device.
13 | *
14 | * See [testing documentation](http://d.android.com/tools/testing).
15 | */
16 | @RunWith(AndroidJUnit4::class)
17 | class ExampleInstrumentedTest {
18 | @Test
19 | fun useAppContext() {
20 | // Context of the app under test.
21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22 | assertEquals("com.rohitk.neatroot.rolldice", appContext.packageName)
23 | }
24 | }
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
15 |
18 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
30 |
31 |
36 |
39 |
40 |
41 |
42 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/ic_launcher-playstore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/ic_launcher-playstore.png
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/java/com/rohitk/neatroot/rolldice/PlayersNameActivity.kt:
--------------------------------------------------------------------------------
1 | package com.rohitk.neatroot.rolldice
2 |
3 | import android.content.Intent
4 | import androidx.appcompat.app.AppCompatActivity
5 | import android.os.Bundle
6 | import android.util.Log
7 | import com.rohitk.neatroot.rolldice.databinding.ActivityMainBinding
8 | import com.rohitk.neatroot.rolldice.databinding.ActivityPlayersNameBinding
9 |
10 | class PlayersNameActivity : AppCompatActivity() {
11 | private val binding : ActivityPlayersNameBinding by lazy {
12 | ActivityPlayersNameBinding.inflate(layoutInflater)
13 | }
14 | private lateinit var playerone :String
15 | private lateinit var playertwo :String
16 | override fun onCreate(savedInstanceState: Bundle?) {
17 | super.onCreate(savedInstanceState)
18 | setContentView(binding.root)
19 |
20 |
21 |
22 | binding.playbtn.setOnClickListener {
23 | playerone = binding.playeroneEdt.text.toString().trim().takeIf { it.isNotBlank() } ?: "Player 1"
24 | playertwo = binding.playertwoEdt.text.toString().trim().takeIf { it.isNotBlank() } ?: "Player 2"
25 |
26 | Log.i("TAG", "onplayer activitu"+playerone+":"+playertwo)
27 |
28 | val intent = Intent(this@PlayersNameActivity,MainActivity::class.java)
29 | .putExtra("player1",playerone)
30 | .putExtra("player2",playertwo)
31 | startActivity(intent)
32 |
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/background_solid_leftcurve.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/background_solid_rightcurve.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/background_solid_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/background_solid_white.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/banner1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/drawable/banner1.jpg
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/dice_0.xml:
--------------------------------------------------------------------------------
1 |
6 |
11 |
14 |
17 |
20 |
23 |
26 |
29 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
6 |
10 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/ic_logo.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/icon_send_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/one.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/drawable/one.png
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/three.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/drawable/three.png
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/drawable/winingimage1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/drawable/winingimage1.jpg
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/font/abeezee.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/font/arbutus.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/font/arbutus_slab.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/font/archivo_bold.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FF000000
4 | #FFFFFFFF
5 |
6 | #FFAAAAAA
7 | #000000
8 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #2C2B2B
4 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/values/preloaded_fonts.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | - @font/abeezee
5 | - @font/arbutus
6 | - @font/arbutus_slab
7 | - @font/archivo_bold
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Roll Dice
3 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/main/res/xml/file_paths.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/app/src/test/java/com/rohitk/neatroot/rolldice/ExampleUnitTest.kt:
--------------------------------------------------------------------------------
1 | package com.rohitk.neatroot.rolldice
2 |
3 | import org.junit.Test
4 |
5 | import org.junit.Assert.*
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * See [testing documentation](http://d.android.com/tools/testing).
11 | */
12 | class ExampleUnitTest {
13 | @Test
14 | fun addition_isCorrect() {
15 | assertEquals(4, 2 + 2)
16 | }
17 | }
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/build.gradle.kts:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id("com.android.application") version "8.1.0" apply false
4 | id("org.jetbrains.kotlin.android") version "1.8.0" apply false
5 | }
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app's APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Kotlin code style for this project: "official" or "obsolete":
19 | kotlin.code.style=official
20 | # Enables namespacing of each library's R class so that its R class includes only the
21 | # resources declared in the library itself and none from the library's dependencies,
22 | # thereby reducing the size of the R class for that library
23 | android.nonTransitiveRClass=true
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/DiceRollGameAndroid/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Sep 28 20:51:25 IST 2023
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
5 | zipStoreBase=GRADLE_USER_HOME
6 | zipStorePath=wrapper/dists
7 |
--------------------------------------------------------------------------------
/Projects/DiceRollGameAndroid/settings.gradle.kts:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | gradlePluginPortal()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 |
16 | rootProject.name = "Roll Dice"
17 | include(":app")
18 |
--------------------------------------------------------------------------------
/Projects/Digital Clock/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Digital Clock
9 |
10 |
11 |
12 |
13 |
Digital Clock
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Projects/Digital Clock/script.js:
--------------------------------------------------------------------------------
1 |
2 | let clock = document.querySelector(".clock");
3 | let Meridiem = "AM";
4 |
5 |
6 | function showTime() {
7 | let time = new Date();
8 | let hour = time.getHours();
9 | let minutes = time.getMinutes();
10 | let seconds = time.getSeconds();
11 |
12 | if (hour === 00) {
13 | hour = 12;
14 | Meridiem = "AM";
15 | }
16 | else if (hour === 12) {
17 | Meridiem = "PM";
18 | }
19 | else if ( hour >=12){
20 | hour = hour - 12;
21 | Meridiem = "PM"
22 | }
23 |
24 | hour = hour < 10 ? "0" + hour : hour;
25 | minutes = minutes < 10 ? "0" + minutes : minutes;
26 | seconds = seconds < 10 ? "0" + seconds : seconds;
27 |
28 | setTimeout(function () {
29 | showTime();
30 | }, 1000);
31 | clock.innerHTML = `${hour} : ${minutes} : ${seconds} ${Meridiem}`;
32 | }
33 |
34 | showTime();
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Projects/Digital Clock/styles.css:
--------------------------------------------------------------------------------
1 | *{
2 | margin: 0;
3 | padding: 0;
4 | box-sizing: border-box;
5 | }
6 |
7 | body {
8 | background-color: #B2B5E0;
9 | }
10 | .main-body
11 | {
12 | display: flex;
13 | flex-direction: column;
14 | justify-content: center;
15 | align-items: center;
16 |
17 | }
18 |
19 | .content{
20 | display : flex;
21 | flex-direction: row;
22 | margin-bottom: 200px;
23 | }
24 | .container {
25 | text-align: center;
26 | background-color: #fff;
27 | /* height:auto; */
28 | /* width: 300px; */
29 | padding: 20px;
30 | margin: 200px 0 190px 0;
31 | border: none;
32 | border-radius: 10px;
33 | box-shadow:2px 2px 10px #888;
34 | }
35 |
36 |
37 | .clock{
38 | margin-top: 20px;
39 | padding: 10px 20px;
40 | font-size: 35px;
41 | border: 2px solid #000;
42 | border-radius: 10px;
43 | font-family:'Times New Roman', Times, serif;
44 | }
45 |
--------------------------------------------------------------------------------
/Projects/EnglishDictionary-UsingAPI/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | English Dictionary
8 |
9 |
10 |
11 |
12 |
13 |
14 |
English Dictionary
15 |
16 |
Type a word and Press Enter
17 |
18 |
19 |
Word Title : ____
20 |
Meaning : ____
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Projects/EnglishDictionary-UsingAPI/index.js:
--------------------------------------------------------------------------------
1 | const inputEl = document.getElementById("input");
2 | const URL = "";
3 | const infoText = document.getElementById("info-text");
4 | const meaningContainer = document.getElementById("meaning-container");
5 | const titleEl = document.getElementById("title");
6 | const meaningEl = document.getElementById("meaning");
7 | const audioEl = document.querySelector("audio");
8 |
9 | async function fetchAPI(word) {
10 | try {
11 | // infoText.style.display = "block";
12 | meaningContainer.style.display = "none";
13 |
14 | infoText.innerText = `Searching the meaning of "${word}"`;
15 |
16 | const url = `https://api.dictionaryapi.dev/api/v2/entries/en/${word}`;
17 |
18 | const result = await fetch(url).then((res) => res.json());
19 |
20 | console.log(result);
21 | infoText.innerText = "Type a word and Press Enter";
22 | meaningContainer.style.display = "block";
23 | // Pass to html
24 | //
25 | titleEl.innerText = result[0].word;
26 | meaningEl.innerHTML = result[0].meanings[0].definitions[0].definition;
27 | audioEl.src = result[0].phonetics[1].audio;
28 | } catch (error) {
29 | infoText.innerText = "No Definitions Found , You can try the search again ";
30 | meaningContainer.style.display = "none";
31 | }
32 | }
33 | inputEl.addEventListener("keyup", (e) => {
34 | if (e.target.value && e.key === "Enter") {
35 | fetchAPI(e.target.value);
36 | }
37 | });
38 |
--------------------------------------------------------------------------------
/Projects/EnglishDictionary-UsingAPI/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | font-family: monospace, sans-serif;
3 | /* background: linear-gradient(to right bottom, orange, yellow); */
4 | background: salmon;
5 | min-height: 100vh;
6 | margin: 0;
7 | display: flex;
8 | justify-content: center;
9 | align-items: center;
10 | }
11 |
12 | .container {
13 | background-color: rgba(255, 255, 255, 0.3);
14 | padding: 20px;
15 | border-radius: 7px;
16 | box-shadow: 5px 10px 5px rgba(0, 0, 0, 0.1);
17 | max-width: 450px;
18 | text-align: center;
19 | font-size: 18px;
20 | font-weight: 550;
21 | }
22 |
23 | input {
24 | height: 53px;
25 | width: 75%;
26 | background-color: rgba(255, 255, 255, 0.6);
27 | border-color: rgba(255, 255, 255, 0.4);
28 | font-size: 16px;
29 | padding: 0 42px;
30 | border-radius: 5px;
31 | }
32 |
33 | .meaning-container {
34 | display: none;
35 | }
36 |
--------------------------------------------------------------------------------
/Projects/Light Bulb/Screenshot.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Light Bulb/Screenshot.JPG
--------------------------------------------------------------------------------
/Projects/Light Bulb/images/lightOff.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Light Bulb/images/lightOff.png
--------------------------------------------------------------------------------
/Projects/Light Bulb/images/lightOn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Light Bulb/images/lightOn.png
--------------------------------------------------------------------------------
/Projects/Light Bulb/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
Illuminate
13 |
Turn ON
14 |
15 |
Turn OFF
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Projects/Light Bulb/style.css:
--------------------------------------------------------------------------------
1 | *{
2 | padding: 0;
3 | margin: 0;
4 | }
5 |
6 | body{
7 | background: #000000; /* fallback for old browsers */
8 | background: -webkit-linear-gradient(to left, #434343, #000000); /* Chrome 10-25, Safari 5.1-6 */
9 | background: linear-gradient(to left, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
10 | color: #eee;
11 | text-align: center;
12 | }
13 |
14 | .main-heading{
15 | background: rgba(24, 24, 16, 0.2);
16 | box-shadow: 10px 10px 10px rgba(46, 54, 68, 0.03);
17 | border-radius: 10px;
18 | margin-top: 10%;
19 | /* box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5); */
20 | max-width: 100%;
21 | margin-left: 20%;
22 | margin-right: 20%;
23 | padding-top: 10px;
24 | padding-bottom: 20px;
25 | }
26 |
27 | .main-heading h1{
28 | padding-right: 20px;
29 | }
30 |
31 | button {
32 | position: relative;
33 | background-color: #034694;
34 | border: none;
35 | font-size: 15px;
36 | color: #FFFFFF;
37 | border-radius: 10px;
38 | padding: 13px;
39 | width: 100px;
40 | text-align: center;
41 | transition-duration: 0.4s;
42 | text-decoration: none;
43 | overflow: hidden;
44 | cursor: pointer;
45 | }
46 |
47 | button:after {
48 | content: "";
49 | background: #f1f1f1;
50 | display: block;
51 | position: absolute;
52 | padding-top: 300%;
53 | padding-left: 350%;
54 | margin-left: -20px !important;
55 | margin-top: -120%;
56 | opacity: 0;
57 | transition: all 0.8s
58 | }
59 |
60 | button:active:after {
61 | padding: 0;
62 | margin: 0;
63 | opacity: 1;
64 | transition: 0s
65 | }
66 |
--------------------------------------------------------------------------------
/Projects/Password Generator/index.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Password Generator/index.html
--------------------------------------------------------------------------------
/Projects/Password Generator/script.js:
--------------------------------------------------------------------------------
1 | function generatePassword() {
2 | var length = document.getElementById("length").value;
3 | var type = document.getElementById("type").value;
4 | var result = "";
5 |
6 | var characters = "";
7 | if (type === "integer") {
8 | characters = "0123456789";
9 | } else if (type === "character") {
10 | characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
11 | } else if (type === "mix") {
12 | characters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
13 | }
14 |
15 | for (var i = 0; i < length; i++) {
16 | result += characters.charAt(Math.floor(Math.random() * characters.length));
17 | }
18 |
19 | document.getElementById("output").textContent = "Generated Password: " + result;
20 | }
21 |
--------------------------------------------------------------------------------
/Projects/Password Generator/style.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Password Generator/style.css
--------------------------------------------------------------------------------
/Projects/Piano/sound/Ch1.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Ch1.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Ch2.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Ch2.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Ch3.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Ch3.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Ch4.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Ch4.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Ch5.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Ch5.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Da.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Da.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Ga.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Ga.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Ma.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Ma.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Ni.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Ni.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Pa.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Pa.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Re.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Re.mp3
--------------------------------------------------------------------------------
/Projects/Piano/sound/Sa.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Piano/sound/Sa.mp3
--------------------------------------------------------------------------------
/Projects/Quiz-Game/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "quiz-app",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.16.5",
7 | "@testing-library/react": "^13.4.0",
8 | "@testing-library/user-event": "^13.5.0",
9 | "react": "^18.2.0",
10 | "react-dom": "^18.2.0",
11 | "react-scripts": "5.0.1",
12 | "web-vitals": "^2.1.4"
13 | },
14 | "scripts": {
15 | "start": "react-scripts start",
16 | "build": "react-scripts build",
17 | "test": "react-scripts test",
18 | "eject": "react-scripts eject"
19 | },
20 | "eslintConfig": {
21 | "extends": [
22 | "react-app",
23 | "react-app/jest"
24 | ]
25 | },
26 | "browserslist": {
27 | "production": [
28 | ">0.2%",
29 | "not dead",
30 | "not op_mini all"
31 | ],
32 | "development": [
33 | "last 1 chrome version",
34 | "last 1 firefox version",
35 | "last 1 safari version"
36 | ]
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Projects/Quiz-Game/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Quiz-Game/public/favicon.ico
--------------------------------------------------------------------------------
/Projects/Quiz-Game/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
19 |
28 | React App
29 |
30 |
31 | You need to enable JavaScript to run this app.
32 |
33 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/Projects/Quiz-Game/src/App.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import Quiz from './components/Quiz'
3 | import "./App.css"
4 | function App() {
5 | return (
6 | <>
7 |
8 | >
9 | )
10 | }
11 |
12 | export default App
--------------------------------------------------------------------------------
/Projects/Quiz-Game/src/Data/QuizData.js:
--------------------------------------------------------------------------------
1 | export const QuizData = [
2 | {
3 | question: "Which language runs in a web browser?",
4 | options:[ "Java", "C", "Python", "JavaScript"],
5 | answer: 4
6 | },
7 | {
8 | question: "What does CSS stand for?",
9 | options:["Central Style Sheets", "Cascading Style Sheets", "Cascading Simple Sheets", "Cars SUVs Sailboats"],
10 | answer: 2
11 | },
12 | {
13 | question: "What does HTML stand for?",
14 | options: ["Hypertext Markup Language", "Hypertext Markdown Language", "Hyperloop Machine Language", "Helicopters Terminals Motorboats Lamborginis"],
15 | answer: 1
16 | },
17 | {
18 | question: "What year was JavaScript launched?",
19 | options: ["1996", "1995", "1994", "none of the above"],
20 | answer:2
21 | },
22 | ];
--------------------------------------------------------------------------------
/Projects/Quiz-Game/src/components/QuizResult.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | function QuizResult(props) {
4 | return (
5 | <>
6 |
7 | Your Score:{props.score}
8 | Total Score:{props.totalScore}
9 |
10 | Try Again
11 | >
12 | )
13 | }
14 |
15 | export default QuizResult
--------------------------------------------------------------------------------
/Projects/Quiz-Game/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom/client';
3 | import App from './App';
4 |
5 | const root = ReactDOM.createRoot(document.getElementById('root'));
6 | root.render(
7 |
8 |
9 |
10 | );
11 |
12 | // If you want to start measuring performance in your app, pass a function
13 | // to log results (for example: reportWebVitals(console.log))
14 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
--------------------------------------------------------------------------------
/Projects/SAYAN042-Project/image.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/SAYAN042-Project/image.webp
--------------------------------------------------------------------------------
/Projects/Safiya-siddiqui-filtergallery/Gallery.js:
--------------------------------------------------------------------------------
1 | function loading() {
2 | const button = document.querySelectorAll(".btns");
3 | const card = document.querySelectorAll(".boxes");
4 |
5 | button.forEach((ele) => {
6 | ele.addEventListener("click", (e) => {
7 | e.preventDefault();
8 | const filter = e.target.dataset.filter;
9 | card.forEach((e) => {
10 | if (filter === "all") {
11 | e.style.display = "block";
12 | } else {
13 | if (e.classList.contains(filter)) {
14 | e.style.display = "block";
15 | } else {
16 | e.style.display = "none";
17 | }
18 | }
19 | });
20 | });
21 | });
22 | }
23 |
24 | loading();
25 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "shopping-cart",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.16.5",
7 | "@testing-library/react": "^13.4.0",
8 | "@testing-library/user-event": "^13.5.0",
9 | "react": "^18.2.0",
10 | "react-dom": "^18.2.0",
11 | "react-scripts": "5.0.1",
12 | "web-vitals": "^2.1.4"
13 | },
14 | "scripts": {
15 | "start": "react-scripts start",
16 | "build": "react-scripts build",
17 | "test": "react-scripts test",
18 | "eject": "react-scripts eject"
19 | },
20 | "eslintConfig": {
21 | "extends": [
22 | "react-app",
23 | "react-app/jest"
24 | ]
25 | },
26 | "browserslist": {
27 | "production": [
28 | ">0.2%",
29 | "not dead",
30 | "not op_mini all"
31 | ],
32 | "development": [
33 | "last 1 chrome version",
34 | "last 1 firefox version",
35 | "last 1 safari version"
36 | ]
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Shopping_Cart/public/favicon.ico
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 | React App
28 |
29 |
30 | You need to enable JavaScript to run this app.
31 |
32 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Shopping_Cart/public/logo192.png
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/Shopping_Cart/public/logo512.png
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/public/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "short_name": "React App",
3 | "name": "Create React App Sample",
4 | "icons": [
5 | {
6 | "src": "favicon.ico",
7 | "sizes": "64x64 32x32 24x24 16x16",
8 | "type": "image/x-icon"
9 | },
10 | {
11 | "src": "logo192.png",
12 | "type": "image/png",
13 | "sizes": "192x192"
14 | },
15 | {
16 | "src": "logo512.png",
17 | "type": "image/png",
18 | "sizes": "512x512"
19 | }
20 | ],
21 | "start_url": ".",
22 | "display": "standalone",
23 | "theme_color": "#000000",
24 | "background_color": "#ffffff"
25 | }
26 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/App.css:
--------------------------------------------------------------------------------
1 | .App {
2 | text-align: center;
3 | }
4 |
5 | .flex {
6 | display: flex;
7 | flex-wrap: wrap;
8 | }
9 |
10 | .shopping-card {
11 | justify-content: space-between;
12 | background-color: #61dafb;
13 | padding: 20px 30px;
14 | }
15 |
16 | .product-item {
17 | padding: 20px;
18 | }
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/App.test.js:
--------------------------------------------------------------------------------
1 | import { render, screen } from '@testing-library/react';
2 | import App from './App';
3 |
4 | test('renders learn react link', () => {
5 | render( );
6 | const linkElement = screen.getByText(/learn react/i);
7 | expect(linkElement).toBeInTheDocument();
8 | });
9 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/components/CartList.js:
--------------------------------------------------------------------------------
1 | import { useEffect, useState } from 'react';
2 | import '../App.css';
3 |
4 | function CartList({ cart }) {
5 |
6 | const [CART, setCART] = useState([])
7 |
8 | useEffect(() => {
9 | setCART(cart)
10 | }, [cart])
11 |
12 | return (
13 |
14 | {
15 | CART?.map((cartItem, cartindex) => {
16 | return (
17 |
18 |
19 |
{cartItem.name}
20 |
{
22 | const _CART = CART.map((item, index) => {
23 | return cartindex === index ? { ...item, quantity: item.quantity > 0 ? item.quantity - 1 : 0 } : item
24 | })
25 | setCART(_CART)
26 | }}
27 | >-
28 |
{cartItem.quantity}
29 |
{
31 | const _CART = CART.map((item, index) => {
32 | return cartindex === index ? { ...item, quantity: item.quantity + 1 } : item
33 | })
34 | setCART(_CART)
35 | }}
36 | >+
37 |
Rs. {cartItem.price * cartItem.quantity}
38 |
39 | )
40 | })
41 | }
42 |
43 |
Total
44 | {
45 | CART.map(item => item.price * item.quantity).reduce((total, value) => total + value, 0)
46 | }
47 |
48 |
49 | )
50 | }
51 |
52 | export default CartList
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/components/Header.js:
--------------------------------------------------------------------------------
1 | import '../App.css';
2 |
3 | function Header(props) {
4 | return (
5 |
6 |
props.handleShow(false)} >Shopping Cart App
7 |
props.handleShow(true)}> Cart
8 | {props.count}
9 |
10 |
11 | );
12 | }
13 |
14 | export default Header;
15 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/components/ProductList.js:
--------------------------------------------------------------------------------
1 | import '../App.css';
2 |
3 | function ProductList({ product,addToCart }) {
4 | return (
5 |
6 | {
7 | product.map((productItem, productIndex) => {
8 | return (
9 |
10 |
11 |
12 |
{productItem.name} | {productItem.category}
13 |
{productItem.seller}
14 |
Rs. {productItem.price} /-
15 |
addToCart(productItem)}
17 | >Add To Cart
18 |
19 |
20 | )
21 | })
22 | }
23 |
24 | )
25 | }
26 |
27 | export default ProductList
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/index.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5 | sans-serif;
6 | -webkit-font-smoothing: antialiased;
7 | -moz-osx-font-smoothing: grayscale;
8 | }
9 |
10 | code {
11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12 | monospace;
13 | }
14 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom/client';
3 | import './index.css';
4 | import App from './App';
5 | import reportWebVitals from './reportWebVitals';
6 |
7 | const root = ReactDOM.createRoot(document.getElementById('root'));
8 | root.render(
9 |
10 |
11 |
12 | );
13 |
14 | // If you want to start measuring performance in your app, pass a function
15 | // to log results (for example: reportWebVitals(console.log))
16 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17 | reportWebVitals();
18 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/reportWebVitals.js:
--------------------------------------------------------------------------------
1 | const reportWebVitals = onPerfEntry => {
2 | if (onPerfEntry && onPerfEntry instanceof Function) {
3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4 | getCLS(onPerfEntry);
5 | getFID(onPerfEntry);
6 | getFCP(onPerfEntry);
7 | getLCP(onPerfEntry);
8 | getTTFB(onPerfEntry);
9 | });
10 | }
11 | };
12 |
13 | export default reportWebVitals;
14 |
--------------------------------------------------------------------------------
/Projects/Shopping_Cart/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom';
6 |
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/README.md:
--------------------------------------------------------------------------------
1 | # Fitness-website
2 |
3 | 
4 | 
5 | 
6 | 
7 |
8 |
9 | Here I created front(home) page of a Fitness-Gym Website using HTML, CSS and JavaScript. Still working on otherpages upload it soon, till then check this out. Hope you like it. Thank you.
10 |
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/banner.jpg
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/boxing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/boxing.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/feature-background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/feature-background.jpg
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/feature.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/feature.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/gym.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/gym.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/logo-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/logo-white.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/logo.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/logotitlefitness.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/logotitlefitness.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/menu-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/menu-black.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/menu-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/menu-pink.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/mma.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/mma.png
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/run.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/run.jpg
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/user1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/user1.jpg
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/user2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/user2.jpg
--------------------------------------------------------------------------------
/Projects/TanishkaShivhare_Fitness-website/user3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/TanishkaShivhare_Fitness-website/user3.jpg
--------------------------------------------------------------------------------
/Projects/TextAnimation/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Text Animation
7 |
8 |
9 |
10 |
11 |
12 |
TUHIN
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Projects/TextAnimation/style.css:
--------------------------------------------------------------------------------
1 | .container{
2 | justify-content: center;
3 | text-align: center;
4 | background-image: linear-gradient(to right,#A1FFCE, #FAFFD1);
5 | }
6 | .animate-charcter{
7 | text-transform: uppercase;
8 | background-image: linear-gradient(
9 | -225deg,
10 | #231557 0%,
11 | #44107a 29%,
12 | #ff1361 67%,
13 | #fff800 100%
14 | );
15 | background-size: auto auto;
16 | background-clip: border-box;
17 | background-size: 200% auto;
18 | color: #fff;
19 | background-clip: text;
20 | -webkit-background-clip: text;
21 | -webkit-text-fill-color: transparent;
22 | animation: textclip 2s linear infinite;
23 | display: inline-block;
24 | font-size: 190px;
25 | }
26 |
27 | @keyframes textclip {
28 | to {
29 | background-position: 200% center;
30 | }
31 | }
--------------------------------------------------------------------------------
/Projects/The_Calculator-main/README.md:
--------------------------------------------------------------------------------
1 | # The_Calculator
2 | Tech Stack: HTML , CSS , Javascript.
3 |
4 | This is a simple calculator used for solving simple maths.
5 |
6 | Project URL: https://abhishek-465.github.io/The_Calculator/
7 |
--------------------------------------------------------------------------------
/Projects/The_Calculator-main/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | CALCULATOR
12 |
13 |
14 | Calculator
15 |
16 |
17 |
18 |
19 |
20 | c
21 | %
22 | M+
23 | M-
24 |
25 | 7
26 | 8
27 | 9
28 | x
29 |
30 | 4
31 | 5
32 | 6
33 | /
34 |
35 | 1
36 | 2
37 | 3
38 | +
39 |
40 | 0
41 | .
42 | =
43 | -
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Projects/The_Calculator-main/script.js:
--------------------------------------------------------------------------------
1 | let string="";
2 | let memory="";
3 | let buttons=document.querySelectorAll('.button');
4 | Array.from(buttons).forEach((button)=>{
5 | button.addEventListener('click',(e)=>{
6 |
7 | try{
8 | if(e.target.innerHTML== '='){
9 | string=eval(string);
10 | memory=string;
11 | document.querySelector('input').value=string;
12 | }
13 | else if(e.target.innerHTML=='c'){
14 | string='';
15 | memory='';
16 | document.querySelector('input').value=string;
17 | }
18 | else if(e.target.innerHTML=='M+'){
19 | string=memory +'+'+ string;
20 | document.querySelector('input').value=string;
21 | }
22 | else if(e.target.innerHTML=='M-'){
23 | string=memory +'-'+ string;
24 | document.querySelector('input').value=string;
25 | }
26 | else{
27 | console.log(e.target);
28 | string=string+e.target.innerHTML;
29 | document.querySelector('input').value=string;
30 | }
31 | }
32 | catch(err){
33 | document.querySelector('input').value="ERROR";
34 | }
35 | })
36 | })
--------------------------------------------------------------------------------
/Projects/The_Calculator-main/style.css:
--------------------------------------------------------------------------------
1 | html,body{
2 | font-family: 'Roboto', sans-serif;;
3 | background-image:linear-gradient(to top, rgb(124, 124, 124) 0%,rgb(0, 0, 0) 100%);
4 | height:100%;
5 | width:100%;
6 | }
7 | h1{
8 | color:silver;
9 | }
10 | .button{
11 | padding: 20px;
12 | margin:0 3px;
13 | border:2px solid gold;
14 | border-radius: 9px;
15 | cursor: pointer;
16 | height: 55px;
17 | }
18 | .row{
19 | margin:8px 0;
20 | }
21 | .row input{
22 | margin: 0;
23 | padding:10px 0px;
24 | font-size:20px;
25 | border:2px solid gold;
26 | border-radius: 15px;
27 | }
28 | .row1{
29 | margin: 7px 0px;
30 | }
31 | .row1 button{
32 | width:52px;
33 | height:55px;
34 | }
--------------------------------------------------------------------------------
/Projects/The_Calculator-main/utils.css:
--------------------------------------------------------------------------------
1 | .text-center{
2 | text-align: center;
3 | }
4 | .bg-red{
5 | background-color: red;
6 | }
7 | .mx-auto{
8 | margin:auto;
9 | }
10 | .flex{
11 | display:flex;
12 | }
13 | .flex-col{
14 | flex-direction: column;
15 | }
16 | .items-center{
17 | align-items: center;
18 | }
--------------------------------------------------------------------------------
/Projects/Todo list app Likeur/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Add
16 |
17 |
22 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/Projects/YT-MP3/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
Youtube to mp3
9 |
10 | Link Youtube
11 |
12 |
13 |
14 | choose server
15 | 1
16 | 2
17 |
18 |
Download
19 |
20 |
21 |
22 |
23 |
40 |
--------------------------------------------------------------------------------
/Projects/abdul-azeez060-petAdoptation/PetAdoptation.css:
--------------------------------------------------------------------------------
1 | h2{
2 | color: orange;
3 | }
4 | h1 span{
5 | color: burlywood;
6 | }
7 | #pets{
8 | display: flex;
9 | justify-content: space-evenly;
10 | }
11 | img{
12 | width: 100%;
13 | /* height: 250px; */
14 | border-radius: 10px;
15 | }
16 | .card{
17 | border: 1px solid black;
18 | width: 350px;
19 | padding: 10px;
20 | border-radius: 10px;
21 | margin: 10px;
22 | }
23 | @media (max-width:375px){
24 | #pets{
25 | flex-wrap: wrap;
26 | }
27 | }
--------------------------------------------------------------------------------
/Projects/azaba_guess-the-number/guess_number.py:
--------------------------------------------------------------------------------
1 | import random
2 | randNumber=random.randint(1,100)
3 | print(randNumber)
4 | guesses=0
5 | userGuess=None
6 |
7 | while(userGuess!=randNumber):
8 | userGuess=int(input("Enter your Guess : "))
9 | guesses+=1
10 | if(userGuess==randNumber):
11 | print("You guessed right :) ")
12 | else:
13 | if(userGuess>randNumber):
14 | print("Enter smaller number :( ")
15 | else:
16 | print("Enter larger number :) ")
17 |
18 | print(f"You guessed the number in {guesses} guesses")
19 | with open("hiscore.txt","r") as f:
20 | hiscore=int(f.read())
21 |
22 | if(guesses
2 |
3 |
4 |
5 |
6 |
7 | Taskify - TypeScript
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vite-proj",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "tsc && vite build",
9 | "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
10 | "preview": "vite preview"
11 | },
12 | "dependencies": {
13 | "@types/react-beautiful-dnd": "^13.1.4",
14 | "react": "^18.2.0",
15 | "react-beautiful-dnd": "^13.1.1",
16 | "react-dom": "^18.2.0",
17 | "react-icons": "^4.8.0"
18 | },
19 | "devDependencies": {
20 | "@types/react": "^18.0.28",
21 | "@types/react-dom": "^18.0.11",
22 | "@typescript-eslint/eslint-plugin": "^5.57.1",
23 | "@typescript-eslint/parser": "^5.57.1",
24 | "@vitejs/plugin-react": "^4.0.0",
25 | "eslint": "^8.38.0",
26 | "eslint-plugin-react-hooks": "^4.6.0",
27 | "eslint-plugin-react-refresh": "^0.3.4",
28 | "typescript": "^5.0.2",
29 | "vite": "^4.3.2"
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/public/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/b0n21en5-taskify/public/favicon.png
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/src/App.css:
--------------------------------------------------------------------------------
1 | @import url("https://fonts.googleapis.com/css2?family=Neucha&display=swap");
2 |
3 | .App {
4 | width: 100vw;
5 | min-height: 100vh;
6 | display: flex;
7 | flex-direction: column;
8 | align-items: center;
9 | background-color: #2f74c0;
10 | font-family: "Neucha", cursive;
11 | }
12 |
13 | .heading {
14 | text-transform: uppercase;
15 | font-size: 40px;
16 | margin: 30px 0;
17 | color: white;
18 | z-index: 1;
19 | text-align: center;
20 | }
21 |
22 | @media (max-width: 800px) {
23 | .heading {
24 | margin: 15px 0;
25 | font-size: 35px;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/src/App.tsx:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react";
2 | import "./App.css";
3 | import InputField from "./components/InputField";
4 | import { Todo } from "./model";
5 | import TodoList from "./components/TodoList";
6 | import { DragDropContext, DropResult } from "react-beautiful-dnd";
7 |
8 | const App: React.FC = () => {
9 | const [todo, setTodo] = useState("");
10 | const [todos, setTodos] = useState([]);
11 | const [completedTodos, setCompletedTodos] = useState([]);
12 |
13 | const handleAdd = (e: React.FormEvent) => {
14 | e.preventDefault();
15 |
16 | if (todo) {
17 | setTodos([...todos, { id: Date.now(), todo, isDone: false }]);
18 | setTodo("");
19 | }
20 | };
21 |
22 | const onDragEnd = (result: DropResult) => {
23 | const { source, destination } = result;
24 |
25 | if (!destination) return;
26 |
27 | if (
28 | destination.droppableId === source.droppableId &&
29 | destination.index === source.index
30 | )
31 | return;
32 |
33 | let add,
34 | active = todos,
35 | complete = completedTodos;
36 |
37 | if (source.droppableId === "TodosList") {
38 | add = active[source.index];
39 | active.splice(source.index, 1);
40 | } else {
41 | add = complete[source.index];
42 | complete.splice(source.index, 1);
43 | }
44 |
45 | if (destination.droppableId === "TodosList") {
46 | active.splice(destination.index, 0, add);
47 | } else {
48 | complete.splice(destination.index, 0, add);
49 | }
50 |
51 | setTodos(active);
52 | setCompletedTodos(complete);
53 | };
54 |
55 | return (
56 |
57 |
58 | Taskify
59 |
60 |
66 |
67 |
68 | );
69 | };
70 |
71 | export default App;
72 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/src/components/InputField.tsx:
--------------------------------------------------------------------------------
1 | import React, { useRef } from "react";
2 | import "./styles.css";
3 |
4 | interface Props {
5 | todo: string;
6 | setTodo: React.Dispatch>;
7 | handleAdd: (e: React.FormEvent) => void;
8 | }
9 |
10 | const InputField: React.FC = ({ todo, setTodo, handleAdd }) => {
11 | const inputRef = useRef(null);
12 |
13 | return (
14 |
33 | );
34 | };
35 |
36 | export default InputField;
37 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/src/index.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5 | sans-serif;
6 | -webkit-font-smoothing: antialiased;
7 | -moz-osx-font-smoothing: grayscale;
8 | }
9 |
10 | code {
11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12 | monospace;
13 | }
14 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/src/main.tsx:
--------------------------------------------------------------------------------
1 | import ReactDOM from "react-dom/client";
2 | import App from "./App.tsx";
3 | import "./index.css";
4 |
5 | ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
6 |
7 | );
8 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/src/model.ts:
--------------------------------------------------------------------------------
1 | export interface Todo {
2 | id: number;
3 | todo: string;
4 | isDone: boolean;
5 | }
6 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ESNext",
4 | "lib": ["DOM", "DOM.Iterable", "ESNext"],
5 | "module": "ESNext",
6 | "skipLibCheck": true,
7 |
8 | /* Bundler mode */
9 | "moduleResolution": "bundler",
10 | "allowImportingTsExtensions": true,
11 | "resolveJsonModule": true,
12 | "isolatedModules": true,
13 | "noEmit": true,
14 | "jsx": "react-jsx",
15 |
16 | /* Linting */
17 | "strict": true,
18 | "noUnusedLocals": true,
19 | "noUnusedParameters": true,
20 | "noFallthroughCasesInSwitch": true
21 | },
22 | "include": ["src"],
23 | "references": [{ "path": "./tsconfig.node.json" }]
24 | }
25 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/tsconfig.node.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": true,
4 | "skipLibCheck": true,
5 | "module": "ESNext",
6 | "moduleResolution": "bundler",
7 | "allowSyntheticDefaultImports": true
8 | },
9 | "include": ["vite.config.ts"]
10 | }
11 |
--------------------------------------------------------------------------------
/Projects/b0n21en5-taskify/vite.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import react from '@vitejs/plugin-react'
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [react()],
7 | })
8 |
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/castle.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/castle.gif
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/cloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/cloud.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/coin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/coin.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/coin_iormvy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/coin_iormvy.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/enemy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/enemy.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/flag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/flag.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/goomba_nmbtds.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/goomba_nmbtds.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/grass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/grass.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/ground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/ground.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/mario_wjlfy5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/mario_wjlfy5.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/pipe1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/pipe1.gif
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/pipe2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/pipe2.gif
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/assets/tile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/cbmario-master/cbmario-master/assets/tile.png
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/game.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
21 | Mario DP Game
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | You'll receive a 2D array as input. Each column stores rewards on higher and lower platform. You have to return an
30 | array stating 1 if you want to jump to higher platform, 0 otherwise. However, after selecting 1 you have to select
31 | 0 the next time. Can you solve it ?
32 |
33 |
34 |
35 |
36 |
37 |
38 | Get New Problem
39 |
40 | Solve
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/index.php:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Projects/cbmario-master/cbmario-master/style.css:
--------------------------------------------------------------------------------
1 | html,
2 | body {
3 | height: 100%;
4 | }
5 |
6 | #mynetwork {
7 | width: 50%;
8 | height: 100%;
9 | border: 1px solid lightgray;
10 | }
11 |
12 | #container2 {
13 | width: 50%;
14 | height: 100%;
15 | border: 1px solid lightgray;
16 | display: flex;
17 | flex-wrap: wrap;
18 | align-content: center;
19 | }
20 |
21 | #container{
22 | width: 100%;
23 | height: 70%;
24 | background-color: white;
25 | display: flex;
26 | margin: 0 auto;
27 | }
28 |
29 | #generate-graph{
30 | margin:auto;
31 | display:block;
32 | }
33 |
34 |
35 | #solve{
36 | margin:auto;
37 | display:block;
38 | }
--------------------------------------------------------------------------------
/Projects/dice-app/.eslintrc.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: { browser: true, es2020: true },
4 | extends: [
5 | 'eslint:recommended',
6 | 'plugin:react/recommended',
7 | 'plugin:react/jsx-runtime',
8 | 'plugin:react-hooks/recommended',
9 | ],
10 | ignorePatterns: ['dist', '.eslintrc.cjs'],
11 | parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
12 | settings: { react: { version: '18.2' } },
13 | plugins: ['react-refresh'],
14 | rules: {
15 | 'react-refresh/only-export-components': [
16 | 'warn',
17 | { allowConstantExport: true },
18 | ],
19 | },
20 | }
21 |
--------------------------------------------------------------------------------
/Projects/dice-app/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/Projects/dice-app/README.md:
--------------------------------------------------------------------------------
1 | #Dice App using react
--------------------------------------------------------------------------------
/Projects/dice-app/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Dice App
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Projects/dice-app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "dice-app",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "vite build",
9 | "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
10 | "preview": "vite preview"
11 | },
12 | "dependencies": {
13 | "react": "^18.2.0",
14 | "react-dom": "^18.2.0"
15 | },
16 | "devDependencies": {
17 | "@types/react": "^18.2.15",
18 | "@types/react-dom": "^18.2.7",
19 | "@vitejs/plugin-react": "^4.0.3",
20 | "eslint": "^8.45.0",
21 | "eslint-plugin-react": "^7.32.2",
22 | "eslint-plugin-react-hooks": "^4.6.0",
23 | "eslint-plugin-react-refresh": "^0.4.3",
24 | "vite": "^4.4.5"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Projects/dice-app/src/App.css:
--------------------------------------------------------------------------------
1 | #root {
2 | max-width: 1280px;
3 | margin: 0 auto;
4 | padding: 2rem;
5 | text-align: center;
6 | }
7 |
8 | .logo {
9 | height: 6em;
10 | padding: 1.5em;
11 | will-change: filter;
12 | transition: filter 300ms;
13 | }
14 | .logo:hover {
15 | filter: drop-shadow(0 0 2em #646cffaa);
16 | }
17 | .logo.react:hover {
18 | filter: drop-shadow(0 0 2em #61dafbaa);
19 | }
20 |
21 | @keyframes logo-spin {
22 | from {
23 | transform: rotate(0deg);
24 | }
25 | to {
26 | transform: rotate(360deg);
27 | }
28 | }
29 |
30 | @media (prefers-reduced-motion: no-preference) {
31 | a:nth-of-type(2) .logo {
32 | animation: logo-spin infinite 20s linear;
33 | }
34 | }
35 |
36 | .card {
37 | padding: 2em;
38 | }
39 |
40 | .read-the-docs {
41 | color: #888;
42 | }
43 |
--------------------------------------------------------------------------------
/Projects/dice-app/src/App.jsx:
--------------------------------------------------------------------------------
1 |
2 | import { useState } from 'react';
3 | import './App.css'
4 | import Dice from './Dice'
5 |
6 | function App() {
7 | const [val,setVal] = useState(6);
8 | function rollDice() {
9 | const val = Math.floor((Math.random() * 6) + 1);
10 | setVal(val);
11 | }
12 |
13 |
14 | return (
15 | <>
16 |
17 | Roll
18 | >
19 | )
20 | }
21 |
22 | export default App
23 |
--------------------------------------------------------------------------------
/Projects/dice-app/src/Dice.css:
--------------------------------------------------------------------------------
1 | .dice-container {
2 | display: flex;
3 | justify-content: center;
4 | width: 300px;
5 | height: 300px;
6 | border: solid 1 px;
7 | background-color: black;
8 | position: relative;
9 | }
10 |
11 | .dot {
12 | display: none;
13 | position: absolute;
14 | width: 30px;
15 | height: 30px;
16 | background: #fff;
17 | border-radius: 15px;
18 | }
19 |
20 | .dot-visible {
21 | display: block;
22 | position: absolute;
23 | width: 30px;
24 | height: 30px;
25 | background: #fff;
26 | border-radius: 15px;
27 | }
28 |
29 | .dot-top-left {
30 | top: 30px;
31 | left: 30px;
32 | }
33 |
34 | .dot-middle {
35 | top: 47%;
36 | left: 47%;
37 | }
38 |
39 | .dot-top-right {
40 | top: 30px;
41 | right: 30px;
42 | }
43 |
44 | .dot-middle-left {
45 | top: 47%;
46 | left: 30px;
47 | }
48 |
49 | .dot-middle-right {
50 | top: 47%;
51 | right: 30px;
52 | }
53 |
54 | .dot-bottom-left {
55 | bottom: 30px;
56 | left: 30px;
57 | }
58 |
59 | .dot-bottom-right {
60 | bottom: 30px;
61 | right: 30px;
62 | }
63 |
64 | .roll-btn {
65 | margin-top: 10px;
66 | background: #ac59cb;
67 | color: white;
68 | }
--------------------------------------------------------------------------------
/Projects/dice-app/src/Dice.jsx:
--------------------------------------------------------------------------------
1 | import './dice.css'
2 | function Dice({diceVal}) {
3 |
4 | return (
5 |
3 && diceVal < 7 ? "-visible" : ""}`}>
6 |
1 && diceVal < 7 ? "-visible" : ""}`}>
7 |
8 |
9 |
10 |
1 && diceVal < 7 ? "-visible" : ""}`}>
11 |
3 && diceVal < 7 ? "-visible" : ""}`}>
12 |
)
13 | }
14 |
15 | export default Dice;
--------------------------------------------------------------------------------
/Projects/dice-app/src/index.css:
--------------------------------------------------------------------------------
1 | :root {
2 | font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3 | line-height: 1.5;
4 | font-weight: 400;
5 |
6 | color-scheme: light dark;
7 | color: rgba(255, 255, 255, 0.87);
8 | background-color: #242424;
9 |
10 | font-synthesis: none;
11 | text-rendering: optimizeLegibility;
12 | -webkit-font-smoothing: antialiased;
13 | -moz-osx-font-smoothing: grayscale;
14 | -webkit-text-size-adjust: 100%;
15 | }
16 |
17 | a {
18 | font-weight: 500;
19 | color: #646cff;
20 | text-decoration: inherit;
21 | }
22 | a:hover {
23 | color: #535bf2;
24 | }
25 |
26 | body {
27 | margin: 0;
28 | display: flex;
29 | place-items: center;
30 | min-width: 320px;
31 | min-height: 100vh;
32 | }
33 |
34 | h1 {
35 | font-size: 3.2em;
36 | line-height: 1.1;
37 | }
38 |
39 | button {
40 | border-radius: 8px;
41 | border: 1px solid transparent;
42 | padding: 0.6em 1.2em;
43 | font-size: 1em;
44 | font-weight: 500;
45 | font-family: inherit;
46 | background-color: #1a1a1a;
47 | cursor: pointer;
48 | transition: border-color 0.25s;
49 | }
50 | button:hover {
51 | border-color: #646cff;
52 | }
53 | button:focus,
54 | button:focus-visible {
55 | outline: 4px auto -webkit-focus-ring-color;
56 | }
57 |
58 | @media (prefers-color-scheme: light) {
59 | :root {
60 | color: #213547;
61 | background-color: #ffffff;
62 | }
63 | a:hover {
64 | color: #747bff;
65 | }
66 | button {
67 | background-color: #f9f9f9;
68 | }
69 | }
70 |
--------------------------------------------------------------------------------
/Projects/dice-app/src/main.jsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import ReactDOM from 'react-dom/client'
3 | import App from './App.jsx'
4 | import './index.css'
5 |
6 | ReactDOM.createRoot(document.getElementById('root')).render(
7 |
8 |
9 | ,
10 | )
11 |
--------------------------------------------------------------------------------
/Projects/dice-app/vite.config.js:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import react from '@vitejs/plugin-react'
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [react()],
7 | })
8 |
--------------------------------------------------------------------------------
/Projects/jmngandu_GuessingGame/README.md:
--------------------------------------------------------------------------------
1 | This is a guessing game using C++
2 |
--------------------------------------------------------------------------------
/Projects/jmngandu_GuessingGame/guess:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/jmngandu_GuessingGame/guess
--------------------------------------------------------------------------------
/Projects/jmngandu_GuessingGame/guess.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | using namespace std;
3 |
4 | int main(){
5 | int luckyNum = 7;
6 | int guess;
7 | int guessCount = 0;
8 | int limit = 3;
9 | bool isLimit = false;
10 |
11 | while(luckyNum != guess && !isLimit){
12 | if(guessCount < limit){
13 | cout<<"Enter your guess: ";
14 | cin>>guess;
15 | guessCount++;
16 | }else {
17 | isLimit = true;
18 | }
19 | }
20 | if(isLimit == true){
21 | cout<<"You lost"<10 && cont.value<10){
35 | pnum.innerHTML="Enter valid number!";
36 | flag=0;
37 | }
38 | else if(cont.value=" "){
39 | pnum.innerHTML="contact Number field is empty";
40 | flag=0;
41 | }
42 | else{
43 | pnum.innerHTML="";
44 | flag=1;
45 | }
46 | if(email.value==" "){
47 | pemail.innerHTML="Enter email!";
48 | flag=0;
49 | }
50 | else{
51 | pemail.innerHTML="";
52 | flag=1;
53 | }
54 | if(flag){
55 | return true;
56 | }
57 | else{
58 | return false;
59 | }
60 | }
--------------------------------------------------------------------------------
/Projects/login/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FORM
5 |
6 |
7 |
8 |
9 |
10 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Projects/login/style.css:
--------------------------------------------------------------------------------
1 | .outer{
2 | margin:10px 300px;
3 | width:400px;
4 | height:auto;
5 | border:2px solid black;
6 | background-color:blue;
7 | padding:15px;
8 | color:white;
9 | }
10 | button{
11 | height:50px;
12 | width:100px;
13 | border-radius:4px;
14 | background-color:red;
15 | color:black;
16 |
17 | }
18 | button:hover{
19 | box-shadow:2px 2px 2px 2px black;
20 | }
21 | label{
22 | font-size:20px;
23 | }
24 | .error{
25 | color:red;
26 | font-size: 18px;
27 | margin:5px;
28 | }
--------------------------------------------------------------------------------
/Projects/navyapreethamreddy_habittracker/.flutter-plugins:
--------------------------------------------------------------------------------
1 | # This is a generated file; do not edit or check into version control.
2 | path_provider=C:\\Users\\reddy\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider-2.1.1\\
3 | path_provider_android=C:\\Users\\reddy\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_android-2.2.0\\
4 | path_provider_foundation=C:\\Users\\reddy\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_foundation-2.3.1\\
5 | path_provider_linux=C:\\Users\\reddy\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_linux-2.2.1\\
6 | path_provider_windows=C:\\Users\\reddy\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_windows-2.2.1\\
7 |
--------------------------------------------------------------------------------
/Projects/navyapreethamreddy_habittracker/.flutter-plugins-dependencies:
--------------------------------------------------------------------------------
1 | {"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"C:\\\\Users\\\\reddy\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.3.1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"C:\\\\Users\\\\reddy\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_android-2.2.0\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"C:\\\\Users\\\\reddy\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.3.1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\reddy\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.2.1\\\\","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\reddy\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.2.1\\\\","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2023-10-01 17:04:46.853604","version":"3.10.6"}
--------------------------------------------------------------------------------
/Projects/navyapreethamreddy_habittracker/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 |
35 | # Symbolication related
36 | app.*.symbols
37 |
38 | # Obfuscation related
39 | app.*.map.json
40 |
41 | # Android Studio will place build artifacts here
42 | /android/app/debug
43 | /android/app/profile
44 | /android/app/release
45 |
--------------------------------------------------------------------------------
/Projects/navyapreethamreddy_habittracker/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled.
5 |
6 | version:
7 | revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
8 | channel: stable
9 |
10 | project_type: app
11 |
12 | # Tracks metadata for the flutter migrate command
13 | migration:
14 | platforms:
15 | - platform: root
16 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
17 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
18 | - platform: android
19 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
20 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
21 | - platform: ios
22 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
23 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
24 | - platform: linux
25 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
26 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
27 | - platform: macos
28 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
29 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
30 | - platform: web
31 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
32 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
33 | - platform: windows
34 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
35 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
36 |
37 | # User provided section
38 |
39 | # List of Local paths (relative to this file) that should be
40 | # ignored by the migrate tool.
41 | #
42 | # Files that are not part of the templates will be ignored by default.
43 | unmanaged_files:
44 | - 'lib/main.dart'
45 | - 'ios/Runner.xcodeproj/project.pbxproj'
46 |
--------------------------------------------------------------------------------
/Projects/navyapreethamreddy_habittracker/README.md:
--------------------------------------------------------------------------------
1 | # hive_storage
2 |
3 | A new Flutter project.
4 |
5 | ## Getting Started
6 |
7 | This project is a starting point for a Flutter application.
8 |
9 | A few resources to get you started if this is your first Flutter project:
10 |
11 | - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12 | - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
13 |
14 | For help getting started with Flutter development, view the
15 | [online documentation](https://docs.flutter.dev/), which offers tutorials,
16 | samples, guidance on mobile development, and a full API reference.
17 |
--------------------------------------------------------------------------------
/Projects/navyapreethamreddy_habittracker/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/Projects/navyapreethamreddy_habittracker/hive_storage.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Projects/navyapreethamreddy_habittracker/sample.txt:
--------------------------------------------------------------------------------
1 | 1
2 | 2
3 | 3
4 | 4
5 | 5
6 |
--------------------------------------------------------------------------------
/Projects/portfolio/API Weather App/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Weather App
5 |
6 |
7 |
8 |
9 |
10 |
11 | Weather
12 |
13 |
14 |
15 | Search
16 |
17 |
18 |
19 |
22 |
23 |
----
24 |
25 | Temp: -- °
26 | Min Temp: -- °
27 | Max Temp: -- °
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Projects/portfolio/API Weather App/script.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Weather App
3 | */
4 |
5 | // API_KEY for maps api
6 | let API_KEY = "a8e71c9932b20c4ceb0aed183e6a83bb";
7 |
8 | /**
9 | * Retrieve weather data from openweathermap
10 | */
11 | const getWeatherData = (city) => {
12 | const URL = "https://api.openweathermap.org/data/2.5/weather";
13 | const FULL_URL = `${URL}?q=${city}&appid=${API_KEY}&units=imperial`;
14 | const weatherPromise = fetch(FULL_URL);
15 | return weatherPromise.then((response) => {
16 | return response.json();
17 | })
18 | }
19 |
20 | /**
21 | * Retrieve city input and get the weather data
22 | */
23 | const searchCity = () => {
24 | const city = document.getElementById('city-input').value;
25 | getWeatherData(city)
26 | .then((res)=>{
27 | showWeatherData(res);
28 | }).catch((error)=>{
29 | console.log(error);
30 | console.log("Something happend");
31 | })
32 | }
33 |
34 | /**
35 | * Show the weather data in HTML
36 | */
37 | showWeatherData = (weatherData) => {
38 | document.getElementById("city-name").innerText = weatherData.name;
39 | document.getElementById("weather-type").innerText = weatherData.weather[0].main;
40 | document.getElementById("temp").innerText = ((weatherData.main.temp - 32) * 5/9).toFixed(2);;
41 | document.getElementById("min-temp").innerText = ((weatherData.main.temp_min - 32) * 5/9).toFixed(2);
42 | document.getElementById("max-temp").innerText = ((weatherData.main.temp_max - 32) * 5/9).toFixed(2);
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/Projects/portfolio/API Weather App/style.css:
--------------------------------------------------------------------------------
1 | #city-input, #weather-output {
2 | max-width: 400px;
3 | margin: 0 auto;
4 | }
5 |
6 | .banner {
7 | color: #FFD23F;
8 | font-family: sans-serif;
9 | }
--------------------------------------------------------------------------------
/Projects/portfolio/assets/Saransh Tripathi.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/Saransh Tripathi.pdf
--------------------------------------------------------------------------------
/Projects/portfolio/assets/about-pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/about-pic.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/arrow.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/checkmark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/checkmark.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/education.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/education.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/email.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/experience.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/experience.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/github.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/github.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/linkedin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/linkedin.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/profile-pic-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/profile-pic-2.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/profile-pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/profile-pic.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/project-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/project-1.jpg
--------------------------------------------------------------------------------
/Projects/portfolio/assets/project-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/project-2.png
--------------------------------------------------------------------------------
/Projects/portfolio/assets/project-3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/Projects/portfolio/assets/project-3.jpg
--------------------------------------------------------------------------------
/Projects/portfolio/mediaqueries.css:
--------------------------------------------------------------------------------
1 | @media screen and (max-width: 1400px) {
2 | #profile {
3 | height: 83vh;
4 | margin-bottom: 6rem;
5 | }
6 | .about-containers {
7 | flex-wrap: wrap;
8 | }
9 | #contact,
10 | #projects {
11 | height: fit-content;
12 | }
13 | }
14 |
15 | @media screen and (max-width: 1200px) {
16 | #desktop-nav {
17 | display: none;
18 | }
19 | #hamburger-nav {
20 | display: flex;
21 | }
22 | #experience,
23 | .experience-details-container {
24 | margin-top: 2rem;
25 | }
26 | #profile,
27 | .section-container {
28 | display: block;
29 | }
30 | .arrow {
31 | display: none;
32 | }
33 | section,
34 | .section-container {
35 | height: fit-content;
36 | }
37 | section {
38 | margin: 0 5%;
39 | }
40 | .section__pic-container {
41 | width: 275px;
42 | height: 275px;
43 | margin: 0 auto 2rem;
44 | }
45 | .about-containers {
46 | margin-top: 0;
47 | }
48 | }
49 |
50 | @media screen and (max-width: 600px) {
51 | #contact,
52 | footer {
53 | height: 40vh;
54 | }
55 | #profile {
56 | height: 83vh;
57 | margin-bottom: 0;
58 | }
59 | article {
60 | font-size: 1rem;
61 | }
62 | footer nav {
63 | height: fit-content;
64 | margin-bottom: 2rem;
65 | }
66 | .about-containers,
67 | .contact-info-upper-container,
68 | .btn-container {
69 | flex-wrap: wrap;
70 | }
71 | .contact-info-container {
72 | margin: 0;
73 | }
74 | .contact-info-container p,
75 | .nav-links li a {
76 | font-size: 1rem;
77 | }
78 | .experience-sub-title {
79 | font-size: 1.25rem;
80 | }
81 | .logo {
82 | font-size: 1.5rem;
83 | }
84 | .nav-links {
85 | flex-direction: column;
86 | gap: 0.5rem;
87 | text-align: center;
88 | }
89 | .section__pic-container {
90 | width: auto;
91 | height: 46vw;
92 | justify-content: center;
93 | }
94 | .section__text__p2 {
95 | font-size: 1.25rem;
96 | }
97 | .title {
98 | font-size: 2rem;
99 | }
100 | .text-container {
101 | text-align: justify;
102 | }
103 | }
104 |
--------------------------------------------------------------------------------
/Projects/portfolio/rock paper/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | RockPaperScissors
8 |
9 |
10 |
11 |
12 |
13 |
14 | ✊
15 | 🤚
16 | ✌
17 |
18 |
19 |
20 |
21 |
22 |
🔴
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/Projects/portfolio/rock paper/style.css:
--------------------------------------------------------------------------------
1 | html, body {
2 | height: 100%;
3 | width: 100%;
4 | padding: 0;
5 | margin:0;
6 | }
7 |
8 | .wrapper {
9 | background: #1c1c1c;
10 | color: white;
11 | display: flex;
12 | align-items: center;
13 | justify-content: center;
14 | width: 100%;
15 | height: 100%;
16 | flex-direction: column;
17 | }
18 |
19 | .buttons {
20 | display: flex;
21 | gap: 20px;
22 | }
23 |
24 | button {
25 | height: 100px;
26 | width: 100px;
27 | font-size: 48px;
28 | border-radius: 30px;
29 | cursor: pointer;
30 |
31 | }
32 |
33 | .resultContainer {
34 | font-size: 2rem;
35 | text-align: center;
36 | margin-top: 20px;
37 | }
38 |
39 |
--------------------------------------------------------------------------------
/Projects/portfolio/script.js:
--------------------------------------------------------------------------------
1 | function toggleMenu() {
2 | const menu = document.querySelector(".menu-links");
3 | const icon = document.querySelector(".hamburger-icon");
4 | menu.classList.toggle("open");
5 | icon.classList.toggle("open");
6 | }
7 |
--------------------------------------------------------------------------------
/Projects/portfolio/tip calculator/style.css:
--------------------------------------------------------------------------------
1 | * {
2 | font-family: 'M PLUS Rounded 1c', Avenir Next, Helvetica, sans-serif;
3 | color: white;
4 | }
5 |
6 | body {
7 | background: #8990ec;
8 | }
9 |
10 | .wrapper {
11 | height: 525px;
12 | width: 360px;
13 | color: white;
14 | background: #272639;
15 | border-radius: 1rem;
16 | padding: 1.2rem;
17 | margin: 100px auto;
18 | }
19 |
20 | #topContainer {
21 | margin-top: 4rem;
22 | }
23 |
24 | .container {
25 | margin-top: 1.4rem;
26 | }
27 |
28 | .title {
29 | font-weight: bold;
30 | margin-bottom: 0.6rem;
31 | }
32 |
33 | .inputContainer {
34 | background: #353959;
35 | border-radius: 1.4rem;
36 | padding: 0 0.8rem;
37 | display: flex;
38 | align-items: center;
39 | }
40 |
41 | #billTotalInput,
42 | #tipInput {
43 | font-size: 1.2rem;
44 | background: none;
45 | border: none;
46 | outline: none;
47 | padding: none;
48 | }
49 |
50 | .buttonContainer {
51 | background: #8990ec;
52 | display: grid;
53 | place-items: center;
54 | width: 1.6rem;
55 | height: 1.6rem;
56 | border-radius: 50%;
57 | }
58 |
59 | .splitButton {
60 | background: none;
61 | border: none;
62 | }
63 |
64 | .controls {
65 | display: flex;
66 | align-items: center;
67 | }
68 |
69 | .splitButton {
70 | font-size: 0.8rem;
71 | font-weight: bold;
72 | display: grid;
73 | place-items: center;
74 | }
75 |
76 | .buttonText {
77 | color: #353959 !important;
78 | }
79 |
80 | .splitAmount {
81 | font-size: 1.6rem;
82 | margin: 0.8rem;
83 | }
84 |
85 | #bottom {
86 | display: flex;
87 | justify-content: space-between;
88 | }
89 |
90 | .totalContainer {
91 | display: flex;
92 | flex-direction: column;
93 | align-items: end;
94 | }
95 |
96 | .total {
97 | font-size: 2rem;
98 | }
99 |
--------------------------------------------------------------------------------
/Projects/portfolio/tip calculator/tip calculator.code-workspace:
--------------------------------------------------------------------------------
1 | {
2 | "folders": [
3 | {
4 | "path": "."
5 | }
6 | ],
7 | "settings": {
8 | "files.autoSave": "afterDelay",
9 | "workbench.activityBar.visible": false,
10 | "zenMode.hideActivityBar": false
11 | }
12 | }
--------------------------------------------------------------------------------
/Projects/sahdev-project/marksheet.c:
--------------------------------------------------------------------------------
1 | #include
2 | void main()
3 | {
4 | int rollno,Maths,Physics,BEEE,BCE,Computer,ED,total;
5 | float percentage;
6 | char name[30],institution_name[30],department[30];
7 | printf("enter your rollno:");
8 | scanf("%d",&rollno);
9 | printf("enter your name:");
10 | scanf("%s",name);
11 | printf("enter your institution name:");
12 | scanf("%s",&institution_name);
13 | printf("enter your department:");
14 | scanf("%s",&department);
15 | printf("enter marks of maths:");
16 | scanf("%d",&Maths);
17 | printf("enter marks of physics:");
18 | scanf("%d",&Physics);
19 | printf("enter marks of BEEE:");
20 | scanf("%d",&BEEE);
21 | printf("enter marks of BCE:");
22 | scanf("%d",&BCE);
23 | printf("enter marks of computer:");
24 | scanf("%d",&Computer);
25 | printf("enter marks of ed:");
26 | scanf("%d",&ED);
27 | total=Maths+Physics+BEEE+BCE+Computer+ED;
28 | percentage=total/6.0;
29 | if(percentage>=75)
30 | printf("Honour");
31 | else if(percentage>=60)
32 | printf("First");
33 | else if(percentage>=48)
34 | printf("Second");
35 | else if(percentage>=36)
36 | printf("Pass");
37 | else
38 | printf("Fail");
39 | printf("=========================================================\n");
40 | printf("MARKSHEET OF B.TECH DEPARTMENT :%s,%s\n",department, institution_name);
41 | printf("=========================================================\n");
42 | printf("Roll no.:%d Student name:%s\n",rollno,name);
43 | printf("---------------------------------------------------------\n");
44 | printf("Subjects\tMax\tMin\tobt.marks\n");
45 | printf("---------------------------------------------------------\n");
46 | printf("Maths\t\t100\t36 %d\n",Maths);
47 | printf("Physics\t\t100\t36 %d\n",Physics);
48 | printf("BEEE\t\t100\t36 %d\n",BEEE);
49 | printf("BCE\t\t100\t36 %d\n",BCE);
50 | printf("Computer\t100\t36 %d\n",Computer);
51 | printf("ED\t\t100\t36 %d\n",ED);
52 | printf("---------------------------------------------------------\n");
53 | printf(" total %d\n",total);
54 | printf("percentage: %f\t\t\t\n",percentage);
55 | printf("---------------------------------------------------------\n");
56 | printf("=========================================================\n");
57 | }
58 |
--------------------------------------------------------------------------------
/Projects/tic-tac-toe/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Tic Tac Toe
6 |
7 |
10 |
11 |
12 |
15 |
16 | +
17 | +
18 | +
19 | +
20 | +
21 | +
22 | +
23 | +
24 | +
25 |
26 |
27 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Projects/tic-tac-toe/style.css:
--------------------------------------------------------------------------------
1 | body{
2 | background: #1c1b1b;
3 | color:#666;
4 | font-family: "Arial",sans-serif;
5 | }
6 | h1{
7 | text-align: center;
8 | color: #fff;
9 |
10 | }
11 |
12 | .clearfix{
13 | clear:both;
14 | }
15 |
16 | #container{
17 | width:350px;
18 | overflow:auto;
19 | margin:70px auto;
20 | background: #666;
21 | padding-bottom: 40px;
22 | border-radius: 10px;
23 | }
24 |
25 | #board li{
26 | float: left;
27 | margin:10px;
28 | height: 70px;
29 | width: 70px;
30 | font-size: 55px;
31 | background: #333;
32 | color: #ccc;
33 | list-style: none;
34 | text-align: center;
35 | border-radius: 5px;
36 | }
37 |
38 | #board li:hover,#reset:hover{
39 | cursor:pointer;
40 | background: #000;
41 | }
42 |
43 | #reset{
44 | border: 0;
45 | background: #444;
46 | color: #fff;
47 | width: 70%;
48 | padding: :25px;
49 | padding-top: 2.5%;
50 | padding-bottom: 2.5%;
51 | border-radius: 5px;
52 |
53 | }
54 |
55 | .o{
56 | color: green !important;
57 | }
58 | .x{
59 | color:red !important;
60 | }
61 | footer{
62 | display: block;
63 | text-align: center;
64 | padding-top: 20px;
65 | }
66 |
--------------------------------------------------------------------------------
/Projects/weatherAppUsing-API/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Weather App
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
Weather App
16 |
17 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
22 °C
30 |
Sunny
31 |
32 |
33 |
Feels Like: 22 C
34 |
Humidity : 40%
35 |
Wind Speed : 5 m.s
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Projects/weatherAppUsing-API/index.js:
--------------------------------------------------------------------------------
1 | const API_KEY = "43b2ee1a011e9ce75c22d223a57822ce";
2 |
3 | const weatherDataEl = document.getElementById("weather-data");
4 |
5 | const cityInputEl = document.getElementById("city-input");
6 |
7 | const formEl = document.querySelector("form");
8 |
9 | ///Form Submit
10 |
11 | formEl.addEventListener("submit", (event) => {
12 | event.preventDefault();
13 | const cityValue = cityInputEl.value;
14 |
15 | getWeatherData(cityValue);
16 |
17 | console.log(getWeatherData());
18 | });
19 |
20 | // Getting Data Based on city
21 | async function getWeatherData(cityValue) {
22 | try {
23 | const response = await fetch(
24 | `https://api.openweathermap.org/data/2.5/weather?q=${cityValue}&appid=${API_KEY}&units=metric`
25 | );
26 |
27 | //Throw Error
28 | if (!response.ok) throw new Error("Network response was not ok");
29 |
30 | const data = await response.json();
31 | const temperature = Math.round(data.main.temp);
32 | const description = data.weather[0].description;
33 | const icon = data.weather[0].icon;
34 |
35 | const details = [
36 | `Feels Like :${Math.round(data.main.feels_like)}`,
37 | `Humidity: ${data.main.humidity}`,
38 | `Wind speed: ${data.wind.speed}`,
39 | ];
40 |
41 | weatherDataEl.querySelector(
42 | ".icon"
43 | ).innerHTML = `
44 | `;
45 |
46 | weatherDataEl.querySelector(
47 | ".temperature"
48 | ).textContent = `${temperature} °C`;
49 |
50 | weatherDataEl.querySelector(".description").textContent = `${description}`;
51 |
52 | weatherDataEl.querySelector(".details").innerHTML = details
53 | .map((detail) => ` ${detail}
`)
54 | .join(" ");
55 | } catch (error) {
56 | console.log(error);
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/Projects/weatherAppUsing-API/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | padding: 0;
4 | box-sizing: border-box;
5 | font-family: "Montserrat", sans-serif;
6 | background-color: #ebe6e6;
7 | }
8 |
9 | .container {
10 | background-color: #fff;
11 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
12 |
13 | text-align: center;
14 | max-width: 600px;
15 | margin: 0 auto;
16 | margin-top: 50px;
17 | border-radius: 5px;
18 | padding: 20px;
19 | }
20 |
21 | /* Form */
22 |
23 | form {
24 | display: flex;
25 | justify-content: center;
26 | align-items: center;
27 | }
28 |
29 | form input[type="text"] {
30 | padding: 10px;
31 | border: none;
32 | border: 1px solid #e6e2e2;
33 | outline: none;
34 | font-size: 18px;
35 | width: 60%;
36 | border-radius: 5px;
37 | }
38 | form input[type="submit"] {
39 | background-color: #007bff;
40 | color: #fff;
41 | border-radius: 5px;
42 | padding: 10px 20px;
43 | font-size: 18px;
44 | border: none;
45 | border: 1px solid #ccc;
46 | outline: none;
47 | cursor: pointer;
48 | transition: all 0.3s;
49 | }
50 | form input[type="submit"]:hover {
51 | background-color: #0062cc;
52 | }
53 |
54 | /* Image */
55 |
56 | .icon img {
57 | width: 100px;
58 | height: 100px;
59 | background-size: contain;
60 | background-repeat: no-repeat;
61 | background-position: center center;
62 | }
63 |
64 | .temperature {
65 | font-size: 48px;
66 | font-weight: bold;
67 | margin: 20px 0px;
68 | }
69 |
70 | .description {
71 | font-size: 24px;
72 | margin-bottom: 20px;
73 | }
74 |
75 | .details {
76 | display: flex;
77 | justify-content: center;
78 | flex-wrap: wrap;
79 | }
80 |
81 | .details > div {
82 | padding: 20px;
83 | background-color: #f1f1f1;
84 | margin: 10px;
85 | flex: 1;
86 | border-radius: 5px;
87 | text-align: center;
88 | }
89 |
90 | @media (max-width: 768px) {
91 | form {
92 | flex-direction: column;
93 | }
94 | form input[type="text"] {
95 | width: 100%;
96 | margin-bottom: 10px;
97 | }
98 | }
99 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Hactoberfest2023_ADSC2
2 |
3 | Welcome to our repository we are making a quick projects related to any domain so you can register your project their in this intial project guideline
4 |
5 | For contribution read contribution.md file
6 |
7 |
8 |
9 | ## Contributors
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Thanks.md:
--------------------------------------------------------------------------------
1 | Thanks for contributing in the repo
2 | hope you enjoy open-source journey
3 |
--------------------------------------------------------------------------------
/calculator.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | C
4 | 7
5 |
6 | =
7 |
22 |
--------------------------------------------------------------------------------
/hello:
--------------------------------------------------------------------------------
1 | hi
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "myapp",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.17.0",
7 | "@testing-library/react": "^13.4.0",
8 | "@testing-library/user-event": "^13.5.0",
9 | "react": "^18.2.0",
10 | "react-dom": "^18.2.0",
11 | "react-scripts": "5.0.1",
12 | "web-vitals": "^2.1.4"
13 | },
14 | "scripts": {
15 | "start": "react-scripts start",
16 | "build": "react-scripts build",
17 | "test": "react-scripts test",
18 | "eject": "react-scripts eject"
19 | },
20 | "eslintConfig": {
21 | "extends": [
22 | "react-app",
23 | "react-app/jest"
24 | ]
25 | },
26 | "browserslist": {
27 | "production": [
28 | ">0.2%",
29 | "not dead",
30 | "not op_mini all"
31 | ],
32 | "development": [
33 | "last 1 chrome version",
34 | "last 1 firefox version",
35 | "last 1 safari version"
36 | ]
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TammyAlok2/Hactoberfest2023_ADSC2/98afc2052cdd872ca8fb272c2b035792790eba1d/public/favicon.ico
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 | Hactoberfest 2023
28 |
29 |
30 | You need to enable JavaScript to run this app.
31 |
32 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/public/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "short_name": "React App",
3 | "name": "Create React App Sample",
4 | "icons": [
5 | {
6 | "src": "favicon.ico",
7 | "sizes": "64x64 32x32 24x24 16x16",
8 | "type": "image/x-icon"
9 | },
10 | {
11 | "src": "logo192.png",
12 | "type": "image/png",
13 | "sizes": "192x192"
14 | },
15 | {
16 | "src": "logo512.png",
17 | "type": "image/png",
18 | "sizes": "512x512"
19 | }
20 | ],
21 | "start_url": ".",
22 | "display": "standalone",
23 | "theme_color": "#000000",
24 | "background_color": "#ffffff"
25 | }
26 |
--------------------------------------------------------------------------------
/src/App.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import Profile from './Components/Profile'
3 |
4 | const App = () => {
5 | return (
6 |
9 | )
10 | }
11 |
12 | export default App
13 |
--------------------------------------------------------------------------------
/src/Components/Profile.css:
--------------------------------------------------------------------------------
1 | .container{
2 | margin-right: 10px;
3 | margin-top: 20px;
4 | display: inline-flex;
5 | justify-content: space-around;
6 | gap: 2rem;
7 | flex:row;
8 | cursor: pointer;
9 | border-radius: 30px;
10 |
11 |
12 | }
13 | .container:hover{
14 | box-shadow: 4px 4px 20px black;
15 | }
16 | .box{
17 | border: 1px solid grey;
18 | border-radius: 30px;
19 | overflow: hidden;
20 | align-items: center;
21 | text-align: center;
22 | justify-content: space-between;
23 | }
24 | img{
25 | height: 15rem;
26 | width:100%;
27 | }
28 | .id{
29 | font-size: 2rem;
30 | color: blue;
31 | text-shadow: 2px solid pink;
32 | }
33 | #profileHeading{
34 | text-align: center;
35 | text-shadow: 3px red ;
36 | font-size: 3rem;
37 | }
38 | .price{
39 | text-align: center;
40 | font-size: 1.5rem;
41 | font-weight: bolder;
42 | }
43 |
44 | .add{
45 | text-align: center;
46 | align-items: center;
47 |
48 | }
49 | .description{
50 | font-size: 1.3rem;
51 | font-weight: 100;
52 | width: 22rem;
53 | }
54 | .remove{
55 | font-size: x-large;
56 | border: 2px solid green;
57 | border-radius: 10px 10px 20px;
58 | color: burlywood;
59 | background-color: brown;
60 | cursor: pointer;
61 | }
62 | .remove:hover{
63 | background-color: whitesmoke;
64 | color: black;
65 | }
66 | .add{
67 | font-size: x-large;
68 | border: 2px solid yellow;
69 | border-radius: 10px 10px 20px;
70 | color: burlywood;
71 | background-color: green;
72 | cursor: pointer;
73 | }
74 | .add:hover{
75 | background-color: whitesmoke;
76 | color: black;
77 | }
78 |
79 | button{
80 | padding: 10px;
81 | margin: 5px;
82 | background-color: black;
83 | border-radius: 30px;
84 |
85 |
86 | }
87 | button:hover{
88 | box-shadow: 4px 4px 20px black;
89 | transform: rotate(8deg);
90 | border: 2px solid whitesmoke;
91 |
92 | }
93 | button a{
94 | text-decoration: none;
95 | color:white;
96 | }
--------------------------------------------------------------------------------
/src/Components/Profile.jsx:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import User from '../Contributer/User.js';
3 | import './Profile.css';
4 |
5 | const Profile = () => {
6 | return (
7 |
8 |
Profiles of Contributors
9 | {User.map((item) => (
10 |
11 |
12 |
17 |
{item.name}
18 |
{item.about}
19 |
20 | LinkedIn
21 |
22 |
23 | GitHub
24 |
25 |
26 |
27 | ))}
28 |
29 | );
30 | };
31 |
32 | export default Profile;
33 |
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom/client';
3 | import App from './App';
4 |
5 |
6 | const root = ReactDOM.createRoot(document.getElementById('root'));
7 | root.render(
8 |
9 |
10 |
11 | );
12 |
13 | // If you want to start measuring performance in your app, pass a function
14 | // to log results (for example: reportWebVitals(console.log))
15 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
16 |
17 |
--------------------------------------------------------------------------------