Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add #105

Open
wants to merge 94 commits into
base: main
Choose a base branch
from
Open

add #105

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
5cf7327
updated
Pujakumari1202 Oct 10, 2024
796d7e3
counter file uodated
Pujakumari1202 Oct 11, 2024
091ec84
updated
Pujakumari1202 Oct 11, 2024
ccb9abd
async file updated
Pujakumari1202 Oct 12, 2024
38e7ba2
classes file updated
Pujakumari1202 Oct 13, 2024
70c523b
updated
Pujakumari1202 Oct 13, 2024
25f1467
updated async files
Pujakumari1202 Oct 13, 2024
272a3b7
updated
Pujakumari1202 Oct 14, 2024
86a5565
updatedd files
Pujakumari1202 Oct 14, 2024
9bfc5a9
raw html and dom html updated
Pujakumari1202 Oct 14, 2024
6dcde9b
commit
Pujakumari1202 Oct 15, 2024
cdc4be4
update files
Pujakumari1202 Oct 18, 2024
b1841ec
update
Pujakumari1202 Oct 18, 2024
0745ff1
update node.js file
Pujakumari1202 Oct 19, 2024
1e50085
commit
Pujakumari1202 Oct 19, 2024
4be59bd
update
Pujakumari1202 Oct 20, 2024
0f38014
commit
Pujakumari1202 Oct 21, 2024
5b555d8
commit
Pujakumari1202 Oct 21, 2024
0f31e42
updated
Pujakumari1202 Oct 22, 2024
fade5df
commit
Pujakumari1202 Oct 22, 2024
c06571b
commit
Pujakumari1202 Oct 22, 2024
9998599
update week-5 files
Pujakumari1202 Oct 23, 2024
23c54e5
commit
Pujakumari1202 Oct 23, 2024
a1f58e7
commit
Pujakumari1202 Oct 23, 2024
de2c5d7
updated
Pujakumari1202 Oct 23, 2024
86fa326
update
Pujakumari1202 Oct 24, 2024
ee57b2b
commit
Pujakumari1202 Oct 25, 2024
213e76b
update
Pujakumari1202 Oct 25, 2024
fb3167e
commit week-6
Pujakumari1202 Oct 26, 2024
646effd
commit
Pujakumari1202 Oct 26, 2024
d1bc881
commit
Pujakumari1202 Oct 26, 2024
1e18aa5
commit
Pujakumari1202 Oct 27, 2024
683a2cb
update
Pujakumari1202 Oct 27, 2024
0f2c02f
commit
Pujakumari1202 Oct 28, 2024
45194bb
commit
Pujakumari1202 Oct 28, 2024
d0cc64e
commit
Pujakumari1202 Oct 29, 2024
d9818a0
commit
Pujakumari1202 Oct 30, 2024
9b42c68
commit
Pujakumari1202 Nov 1, 2024
8b35168
updated
Pujakumari1202 Nov 1, 2024
b470980
commit
Pujakumari1202 Nov 3, 2024
5cb143a
commit
Pujakumari1202 Nov 4, 2024
c836e2b
Merge branch '100xdevs-cohort-3:main' into main
Pujakumari1202 Nov 4, 2024
278041f
commit
Pujakumari1202 Nov 5, 2024
1191794
commit
Pujakumari1202 Nov 6, 2024
09ba7f3
commit
Pujakumari1202 Nov 6, 2024
1e73d16
commit
Pujakumari1202 Nov 6, 2024
59f4148
commit
Pujakumari1202 Nov 9, 2024
f3ad450
commit
Pujakumari1202 Nov 10, 2024
42cf481
commit
Pujakumari1202 Nov 11, 2024
57ecb1c
commit
Pujakumari1202 Nov 21, 2024
98cdefb
commit
Pujakumari1202 Nov 22, 2024
41deb3e
update react code
Pujakumari1202 Nov 22, 2024
66797dc
commit
Pujakumari1202 Nov 22, 2024
a8f9982
commit
Pujakumari1202 Nov 23, 2024
3130a8d
Merge branch '100xdevs-cohort-3:main' into main
Pujakumari1202 Nov 23, 2024
9006d63
commit
Pujakumari1202 Nov 27, 2024
4e9556a
Merge branch 'main' of https://github.com/Pujakumari1202/assignments
Pujakumari1202 Nov 27, 2024
f281b58
notification count code
Pujakumari1202 Nov 27, 2024
c347ea6
update
Pujakumari1202 Nov 27, 2024
9daad31
commit
Pujakumari1202 Nov 27, 2024
9711400
commit
Pujakumari1202 Nov 27, 2024
fe80f80
commit
Pujakumari1202 Nov 27, 2024
8997db6
commit
Pujakumari1202 Nov 28, 2024
11db65c
commit
Pujakumari1202 Nov 28, 2024
44a8e0b
list and key updated in week 9
Pujakumari1202 Nov 29, 2024
8a3f1a5
commit class based component
Pujakumari1202 Nov 29, 2024
e280f58
commit
Pujakumari1202 Nov 29, 2024
baecb7f
commit
Pujakumari1202 Nov 30, 2024
9309e9f
update the file of week-10
Pujakumari1202 Nov 30, 2024
73e9cb7
spas files
Pujakumari1202 Nov 30, 2024
f97bfeb
commit
Pujakumari1202 Nov 30, 2024
623c268
commit
Pujakumari1202 Nov 30, 2024
ad48d42
update the rolling up the state file
Pujakumari1202 Nov 30, 2024
7e49429
rolling up files updates
Pujakumari1202 Dec 1, 2024
d1168a9
recoil and context api file updated
Pujakumari1202 Dec 2, 2024
a26a400
first commit of week -11
Pujakumari1202 Dec 2, 2024
f57f243
custom hook
Pujakumari1202 Dec 2, 2024
9998364
usefetch hook file updated
Pujakumari1202 Dec 3, 2024
6e1585a
commit
Pujakumari1202 Dec 3, 2024
29759a3
usefetch updated with dependency array
Pujakumari1202 Dec 5, 2024
a6d38aa
usePrev hook file updated
Pujakumari1202 Dec 5, 2024
2608740
debounced hook update
Pujakumari1202 Dec 5, 2024
2b9607a
week-11 recoil files are updated
Pujakumari1202 Dec 7, 2024
6814d8b
recoil updated
Pujakumari1202 Dec 7, 2024
cf41889
advanced recoil updated
Pujakumari1202 Dec 8, 2024
8decd2b
recoil files updated
Pujakumari1202 Dec 9, 2024
1880549
tailwind files updated
Pujakumari1202 Dec 10, 2024
306b524
commit all the files of assignment2 using tailwind
Pujakumari1202 Dec 10, 2024
f5c78c2
update assignment3 only back space part is remaining
Pujakumari1202 Dec 10, 2024
258c9b0
commit
Pujakumari1202 Dec 10, 2024
a54e462
commit
Pujakumari1202 Dec 11, 2024
fd482f3
update tailwind project assignments 3
Pujakumari1202 Dec 11, 2024
d136424
commit all the files of typescript
Pujakumari1202 Dec 12, 2024
fd4e5ea
commit the assignment3 of week13
Pujakumari1202 Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS_Store
.DS_Store
node_modules/
.env
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
100xdevs Cohort 3 Assignments

## npx create-react-app my-app1
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "assignments",
"version": "1.0.0",
"description": "100xdevs Cohort 3 Assignments",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
21 changes: 21 additions & 0 deletions week-10/my_file/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Steps to initialise the react project


## steps to build SINGLE PAGE APPLICATIONS(SPAs)


````bash command
npm create vite@latest

````

````bash command
npm install

````
````bash command
npm run dev

````


40 changes: 40 additions & 0 deletions week-10/my_file/RollingUpDriling5.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import './App.css'
import {useState} from 'react';

function App() {
const [bulbOn, setBulbOn]=useState(true);
return <div>
<Light bulbOn={bulbOn} setBulbOn={setBulbOn}/>
</div>
}

function Light(bulbOn,setBulbOn){


return <div>
<LightBulb bulbOn={bulbOn}/>
<LightSwitch bulbOn = {bulbOn} setBulbOn={setBulbOn}/>
</div>
}

function LightBulb({bulbOn}){
//this we have to defined in LightBulb component
//const [bulbOn, setBulbOn]=useState(true);

return <div>
{bulbOn ? "Bulb on" :"Bulb off"}
</div>
}

function LightSwitch({bulbOn,setBulbOn}){

function toggle(){

setBulbOn(!bulbOn)
}
return <div>
<button onClick={toggle}>Toggle the bulb</button>

</div>
}
export default App;
24 changes: 24 additions & 0 deletions week-10/my_file/SPAs_usingReact/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
8 changes: 8 additions & 0 deletions week-10/my_file/SPAs_usingReact/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
38 changes: 38 additions & 0 deletions week-10/my_file/SPAs_usingReact/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from '@eslint/js'
import globals from 'globals'
import react from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'

export default [
{ ignores: ['dist'] },
{
files: ['**/*.{js,jsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
settings: { react: { version: '18.3' } },
plugins: {
react,
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...js.configs.recommended.rules,
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
...reactHooks.configs.recommended.rules,
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
]
13 changes: 13 additions & 0 deletions week-10/my_file/SPAs_usingReact/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading