watch campusx video
then fastapi wale course m se repo m dockerfile wali file dekh
https://chatgpt.com/share/69fe4e12-148c-83e8-9d78-05c8686a46e8
watch campusx video
then fastapi wale course m se repo m dockerfile wali file dekh
https://chatgpt.com/share/69fe4e12-148c-83e8-9d78-05c8686a46e8
Samajh gaya bhai — tu “scroll pe next section / page jaisa feel” wali website banana chahta hai (like Apple, landing pages, etc.).
Isko bolte hain 👉 Single Page Scroll Website (sections instead of pages)
Ek hi page hota hai
Usme multiple sections (divs) hote hain
Har section = ek “page jaisa feel”
Scroll karte hi next section full screen pe aata hai
src/
├── App.jsx
├── App.css
import './App.css';
function App() {
return (
<div className="container">
<section className="section section1">
<h1>Welcome to the World of Automation</h1>
<p>Easytrain</p>
</section>
<section className="section section2">
<h1>Our Services</h1>
<p>We build smart automation solutions</p>
</section>
<section className="section section3">
<h1>About Us</h1>
<p>We are a tech-driven company</p>
</section>
<section className="section section4">
<h1>Contact</h1>
<p>Get in touch with us</p>
</section>
</div>
);
}
export default App;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
scroll-snap-type: y mandatory;
overflow-y: scroll;
height: 100vh;
}
.section {
height: 100vh;
scroll-snap-align: start;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
/* Different colors for sections */
.section1 {
background: #111;
color: white;
}
.section2 {
background: #007bff;
color: white;
}
.section3 {
background: #28a745;
color: white;
}
.section4 {
background: #ffc107;
color: black;
}
Har scroll pe ek naya “page-like section”
Smooth snapping effect 🔥
Modern landing page feel
Agar tu aur pro banana chahta hai toh use kar:
framer-motion → animations
react-scroll → smooth navigation
locomotive-scroll → premium scrolling feel
Apple website 🍎
Tesla website 🚗
Startup landing pages
Agar tu bole toh main tujhe:
👉 animation + navbar + smooth scroll + modern UI wala full project bana ke de sakta hoon (resume level 🔥)
https://chatgpt.com/share/69e00436-1f1c-83e8-906e-ed208feb093e
https://chatgpt.com/share/69d11f52-52cc-8324-af40-0d5e8ab1af3c
ye kaggle ka data
https://www.kaggle.com/competitions/openaimer26-1/data
isko chagpt dekh le like chat chi hui hai
https://chatgpt.com/share/69cbe7fb-a594-8323-8d92-2efca81bf344
pip freeze > requirement.txt
if like current env m download chahe conda ya kuch bhi pip se toh if current env base toh useme if conda toh usme ho jayega
python -m pip install flask
3. if like pip se install and check akunse elemt
pip list
4. if conda env mein kya kya conda list ye genrally jo apke conda mein pip se ya
conda install flask -> aise use karke bhi jo sinstall dono
5. if conda use conda install use kar sakte ho
6. to remove a env : conda env remove -n flask
7. how to properly install conda env
conda config --add channels defaults
conda config --set channel_priority strict
conda create -n flask python=3.10
🔥 FIX 3: Check conda working properly
conda info
Agar error aaye → conda properly setup nahi hai
1. String str = "I love Java";
System.out.println(str.startsWith("love", 2)); // true
Kyuki index 2 se "love" start ho raha hai.
2. i = code.indexOf("]]>", j);
Iska matlab:
👉 String code ke andar " ]]> " substring ko search karo
👉 Searching index j se start karo
👉 Jo index mile, use variable i mein store karo
watch campusx video then fastapi wale course m se repo m dockerfile wali file dekh https://chatgpt.com/share/69fe4e12-148c-83e8-9d78-05c86...