LEARNING

My First Webpage

  1. An unordered shopping list of your favorite foods
  2. An ordered list of todo’s you need to get done today
  3. An unordered list of places you’d like to visit someday
  4. An ordered list of your all time top 5 favorite video games or movies
  5. About The Odin Project
  6. About The Odin Project
  7. Open Example
  8. Visit Example

Mathematics Questions

1. The integral \int \frac{1}{\sqrt[4]{(x-1)^3 (x+2)^5}} \, dx is equal to (where C is a constant of integration):
(A) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{1}{4}} + C
(B) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{5}{4}} + C
(C) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{1}{4}} + C
(D) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{5}{4}} + C
Click to View Answer
Correct Answer: [Insert Correct Option]

Mathematics Questions

1. The integral \int \frac{1}{\sqrt[4]{(x-1)^3 (x+2)^5}} \, dx is equal to (where C is a constant of integration):
(A) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{1}{4}} + C
(B) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{5}{4}} + C
(C) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{1}{4}} + C
(D) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{5}{4}} + C
Click to View Answer
Correct Answer: [Insert Correct Option]

Mathematics Questions

1. The integral \int \frac{1}{\sqrt[4]{(x-1)^3 (x+2)^5}} \, dx is equal to (where C is a constant of integration):
(A) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{1}{4}} + C
(B) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{5}{4}} + C
(C) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{1}{4}} + C
(D) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{5}{4}} + C
Click to View Answer
Correct Answer: [Insert Correct Option]

/* This forces the no-select rule on the container AND all of its child elements, overriding math renderers */
.prevent-copy-container, .prevent-copy-container * {
-webkit-user-select: none !important; /* Safari */
-moz-user-select: none !important; /* Firefox */
-ms-user-select: none !important; /* IE/Edge */
user-select: none !important; /* Standard */
}

Mathematics Questions

1. The integral \int \frac{1}{\sqrt[4]{(x-1)^3 (x+2)^5}} \, dx is equal to (where C is a constant of integration):
(A) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{1}{4}} + C
(B) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{5}{4}} + C
(C) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{1}{4}} + C
(D) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{5}{4}} + C

Click to View Answer
Correct Answer: [Insert Correct Option]

Mathematics Questions

1. The integral \int \frac{1}{\sqrt[4]{(x-1)^3 (x+2)^5}} \, dx is equal to (where C is a constant of integration):
(A) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{1}{4}} + C
(B) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{5}{4}} + C
(C) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{1}{4}} + C
(D) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{5}{4}} + C

Click to View Answer

Correct Answer: [Insert Correct Option]

Mathematics Questions

1. The integral \int \frac{1}{\sqrt[4]{(x-1)^3 (x+2)^5}} \, dx is equal to (where C is a constant of integration):
(A) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{1}{4}} + C
(B) \dfrac{3}{4} \left( \dfrac{x+2}{x-1} \right)^{\frac{5}{4}} + C
(C) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{1}{4}} + C
(D) \dfrac{4}{3} \left( \dfrac{x-1}{x+2} \right)^{\frac{5}{4}} + C

Click to View Answer

Correct Answer: [Let the integral be I:

I = \int \frac{1}{\sqrt[4]{(x-1)^3(x+2)^5}} \, dx

First, rewrite the term inside the fourth root by multiplying and dividing by (x-1)^5. This allows us to factor out a perfect fourth power:

(x-1)^3(x+2)^5 = (x-1)^8 \cdot \frac{(x+2)^5}{(x-1)^5} = (x-1)^8 \left(\frac{x+2}{x-1}\right)^5

Substitute this back into the integral:

I = \int \frac{1}{\sqrt[4]{(x-1)^8 \left(\frac{x+2}{x-1}\right)^5}} \, dx = \int \frac{1}{(x-1)^2 \left(\frac{x+2}{x-1}\right)^{\frac{5}{4}}} \, dx

Now, use the method of substitution. Let:

t = \frac{x+2}{x-1}

Differentiate t with respect to x using the quotient rule:

dt = \frac{(1)(x-1) - (x+2)(1)}{(x-1)^2} \, dx

dt = \frac{x - 1 - x - 2}{(x-1)^2} \, dx = \frac{-3}{(x-1)^2} \, dx

This allows us to isolate the dx term:

\frac{dx}{(x-1)^2} = -\frac{dt}{3}

t and dx back into our integral I:

I = \int \frac{1}{t^{\frac{5}{4}}} \left(-\frac{dt}{3}\right) = -\frac{1}{3} \int t^{-\frac{5}{4}} \, dt

Integrate using the standard power rule (\int x^n dx = \frac{x^{n+1}}{n+1}):I = -\frac{1}{3} \left( \frac{t^{-\frac{5}{4} + 1}}{-\frac{5}{4} + 1} \right) + C

I = -\frac{1}{3} \left( \frac{t^{-\frac{1}{4}}}{-\frac{1}{4}} \right) + C

I = \frac{4}{3} t^{-\frac{1}{4}} + C

]

/* ================================
RESET
================================ */
#india-roadmap,
#india-roadmap * {
box-sizing: border-box;
}

#india-roadmap {
–bg: #07111f;
–panel: #0d1b2d;
–panel2: #10243a;
–text: #f3f8ff;
–muted: #9db0c6;
–cyan: #22d3ee;
–blue: #3b82f6;
–green: #34d399;
–yellow: #fbbf24;
–pink: #f472b6;
–purple: #a78bfa;
–red: #fb7185;

font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
“Segoe UI”,
sans-serif;

background:
radial-gradient(circle at 10% 0%, rgba(34,211,238,.13), transparent 30%),
radial-gradient(circle at 90% 10%, rgba(59,130,246,.15), transparent 30%),
var(–bg);

color: var(–text);
padding: 25px 15px 60px;
border-radius: 24px;
overflow: hidden;
}

/* ================================
HERO
================================ */
#india-roadmap .hero {
max-width: 1200px;
margin: auto;
text-align: center;
padding: 35px 15px 25px;
}

#india-roadmap .badge {
display: inline-block;
padding: 7px 14px;
border-radius: 999px;
background: rgba(34,211,238,.10);
border: 1px solid rgba(34,211,238,.3);
color: var(–cyan);
font-size: 12px;
font-weight: 700;
letter-spacing: 1px;
margin-bottom: 15px;
}

#india-roadmap h1 {
font-size: clamp(30px, 5vw, 58px);
line-height: 1.05;
margin: 0 0 15px;
font-weight: 900;
letter-spacing: -1.5px;
}

#india-roadmap .gradient-text {
background: linear-gradient(
90deg,
var(–cyan),
#60a5fa,
#a78bfa
);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

#india-roadmap .hero p {
max-width: 760px;
margin: auto;
color: var(–muted);
line-height: 1.7;
}

/* ================================
CONTROLS
================================ */
#india-roadmap .controls {
max-width: 1100px;
margin: 25px auto;
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
}

#india-roadmap .search {
flex: 1 1 280px;
max-width: 450px;
position: relative;
}

#india-roadmap .search input {
width: 100%;
padding: 14px 18px;
border-radius: 14px;
border: 1px solid rgba(255,255,255,.12);
background: rgba(255,255,255,.05);
color: white;
outline: none;
font-size: 15px;
}

#india-roadmap .search input:focus {
border-color: var(–cyan);
box-shadow: 0 0 0 3px rgba(34,211,238,.08);
}

#india-roadmap .filter {
padding: 12px 16px;
border-radius: 12px;
border: 1px solid rgba(255,255,255,.12);
background: rgba(255,255,255,.05);
color: white;
cursor: pointer;
transition: .2s;
}

#india-roadmap .filter:hover,
#india-roadmap .filter.active {
background: rgba(34,211,238,.13);
border-color: var(–cyan);
color: var(–cyan);
}

/* ================================
STATS
================================ */
#india-roadmap .stats {
max-width: 1050px;
margin: 25px auto 40px;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}

#india-roadmap .stat {
padding: 18px;
border-radius: 16px;
background: rgba(255,255,255,.045);
border: 1px solid rgba(255,255,255,.08);
text-align: center;
}

#india-roadmap .stat strong {
display: block;
font-size: 26px;
color: var(–cyan);
}

#india-roadmap .stat span {
color: var(–muted);
font-size: 12px;
}

/* ================================
ROADMAP
================================ */
#india-roadmap .roadmap {
max-width: 1200px;
margin: auto;
position: relative;
}

#india-roadmap .stage {
position: relative;
margin-bottom: 45px;
}

#india-roadmap .stage-title {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 20px;
}

#india-roadmap .stage-number {
width: 44px;
height: 44px;
border-radius: 50%;
display: grid;
place-items: center;
background: linear-gradient(
135deg,
var(–cyan),
var(–blue)
);
color: #00111b;
font-weight: 900;
flex-shrink: 0;
}

#india-roadmap .stage-title h2 {
margin: 0;
font-size: 25px;
}

#india-roadmap .stage-title p {
margin: 3px 0 0;
color: var(–muted);
font-size: 13px;
}

/* ================================
STREAM CARDS
================================ */
#india-roadmap .stream-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 12px;
}

#india-roadmap .stream-card {
padding: 22px 16px;
border-radius: 18px;
background:
linear-gradient(
145deg,
rgba(255,255,255,.07),
rgba(255,255,255,.025)
);
border: 1px solid rgba(255,255,255,.10);
cursor: pointer;
transition: .25s ease;
text-align: center;
}

#india-roadmap .stream-card:hover {
transform: translateY(-5px);
border-color: var(–cyan);
box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

#india-roadmap .stream-icon {
font-size: 34px;
margin-bottom: 10px;
}

#india-roadmap .stream-card h3 {
margin: 5px 0;
font-size: 16px;
}

#india-roadmap .stream-card small {
color: var(–muted);
}

/* ================================
CONNECTOR
================================ */
#india-roadmap .connector {
height: 42px;
width: 2px;
margin: auto;
background: linear-gradient(
var(–cyan),
transparent
);
position: relative;
}

#india-roadmap .connector:after {
content: “”;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 8px solid var(–cyan);
}

/* ================================
EXAM GRID
================================ */
#india-roadmap .exam-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 14px;
}

#india-roadmap .exam-card {
position: relative;
padding: 19px;
border-radius: 18px;
background: var(–panel);
border: 1px solid rgba(255,255,255,.09);
transition: .25s ease;
overflow: hidden;
}

#india-roadmap .exam-card:before {
content: “”;
position: absolute;
width: 70px;
height: 70px;
border-radius: 50%;
right: -25px;
top: -25px;
background: rgba(34,211,238,.08);
}

#india-roadmap .exam-card:hover {
transform: translateY(-5px);
border-color: rgba(34,211,238,.45);
}

#india-roadmap .exam-code {
display: inline-block;
font-size: 11px;
font-weight: 800;
color: var(–cyan);
background: rgba(34,211,238,.08);
padding: 5px 8px;
border-radius: 7px;
margin-bottom: 10px;
}

#india-roadmap .exam-card h3 {
font-size: 18px;
margin: 4px 0 7px;
}

#india-roadmap .exam-card p {
color: var(–muted);
font-size: 12px;
line-height: 1.5;
min-height: 38px;
}

#india-roadmap .tags {
display: flex;
gap: 5px;
flex-wrap: wrap;
margin: 10px 0;
}

#india-roadmap .tag {
font-size: 10px;
padding: 4px 7px;
border-radius: 6px;
background: rgba(255,255,255,.06);
color: #cbd5e1;
}

#india-roadmap .official {
display: inline-flex;
align-items: center;
gap: 5px;
margin-top: 8px;
color: var(–cyan);
font-size: 12px;
text-decoration: none;
font-weight: 700;
}

#india-roadmap .official:hover {
text-decoration: underline;
}

/* ================================
PATHWAY
================================ */
#india-roadmap .pathway {
margin-top: 30px;
padding: 25px;
border-radius: 22px;
background:
linear-gradient(
135deg,
rgba(34,211,238,.07),
rgba(59,130,246,.04)
);
border: 1px solid rgba(34,211,238,.13);
}

#india-roadmap .pathway h3 {
margin-top: 0;
font-size: 21px;
}

#india-roadmap .path-line {
display: flex;
align-items: stretch;
gap: 10px;
overflow-x: auto;
padding: 8px 2px 15px;
}

#india-roadmap .path-box {
min-width: 155px;
padding: 15px;
border-radius: 14px;
background: var(–panel2);
border: 1px solid rgba(255,255,255,.09);
text-align: center;
}

#india-roadmap .path-box strong {
display: block;
font-size: 14px;
}

#india-roadmap .path-box span {
display: block;
margin-top: 5px;
font-size: 11px;
color: var(–muted);
}

#india-roadmap .arrow {
align-self: center;
color: var(–cyan);
font-size: 22px;
}

/* ================================
COLLEGE CARDS
================================ */
#india-roadmap .college-section {
margin-top: 25px;
}

#india-roadmap .college-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}

#india-roadmap .college {
padding: 16px;
border-radius: 15px;
background: rgba(255,255,255,.045);
border: 1px solid rgba(255,255,255,.08);
transition: .2s;
}

#india-roadmap .college:hover {
border-color: rgba(34,211,238,.35);
transform: translateY(-3px);
}

#india-roadmap .college-name {
font-weight: 700;
font-size: 14px;
}

#india-roadmap .college-type {
color: var(–muted);
font-size: 10px;
margin-top: 5px;
}

#india-roadmap .college a {
display: inline-block;
margin-top: 8px;
color: var(–cyan);
text-decoration: none;
font-size: 11px;
}

/* ================================
MODAL
================================ */
#india-roadmap .modal {
display: none;
position: fixed;
z-index: 999999;
inset: 0;
background: rgba(0,0,0,.75);
backdrop-filter: blur(8px);
align-items: center;
justify-content: center;
padding: 20px;
}

#india-roadmap .modal.show {
display: flex;
}

#india-roadmap .modal-box {
max-width: 720px;
width: 100%;
max-height: 90vh;
overflow: auto;
background: #0b192a;
border: 1px solid rgba(34,211,238,.25);
border-radius: 24px;
padding: 28px;
box-shadow: 0 30px 100px rgba(0,0,0,.55);
}

#india-roadmap .close {
float: right;
border: none;
background: rgba(255,255,255,.08);
color: white;
width: 35px;
height: 35px;
border-radius: 50%;
cursor: pointer;
}

#india-roadmap .modal-box h2 {
margin-top: 0;
}

#india-roadmap .modal-box p {
color: var(–muted);
line-height: 1.7;
}

#india-roadmap .modal-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin-top: 15px;
}

#india-roadmap .modal-list div {
padding: 12px;
border-radius: 10px;
background: rgba(255,255,255,.05);
}

/* ================================
FOOTER
================================ */
#india-roadmap .footer {
max-width: 1000px;
margin: 45px auto 0;
padding: 20px;
border-top: 1px solid rgba(255,255,255,.08);
text-align: center;
color: var(–muted);
font-size: 11px;
line-height: 1.6;
}

/* ================================
HIDDEN
================================ */
#india-roadmap .hidden {
display: none !important;
}

/* ================================
MOBILE
================================ */
@media(max-width: 900px) {
#india-roadmap .stream-grid {
grid-template-columns: repeat(3, 1fr);
}

#india-roadmap .exam-grid {
grid-template-columns: repeat(2, 1fr);
}

#india-roadmap .college-grid {
grid-template-columns: repeat(2, 1fr);
}

#india-roadmap .stats {
grid-template-columns: repeat(2, 1fr);
}
}

@media(max-width: 600px) {
#india-roadmap {
padding: 15px 10px 40px;
border-radius: 12px;
}

#india-roadmap .hero {
padding-top: 20px;
}

#india-roadmap .stream-grid,
#india-roadmap .exam-grid,
#india-roadmap .college-grid {
grid-template-columns: 1fr;
}

#india-roadmap .stats {
grid-template-columns: repeat(2, 1fr);
}

#india-roadmap .stage-title h2 {
font-size: 20px;
}

#india-roadmap .pathway {
padding: 17px;
}

#india-roadmap .modal-list {
grid-template-columns: 1fr;
}
}

INDIA • AFTER CLASS 12 • 2026

Your Roadmap
After Class 12

Explore entrance exams, colleges, courses and career
pathways after Class 12 — all in one interactive roadmap.

12+
Major Pathways
20+
Entrance Exams
50+
College Options

Career Possibilities

1

Complete Class 12

Your starting point

⚙️

PCM

Physics • Chemistry • Mathematics

🧬

PCB

Physics • Chemistry • Biology

📊

Commerce

Accounts • Economics • Business

🎨

Humanities

History • Political Science • Languages

🌐

Any Stream

Courses open across streams

2

Choose Your Entrance Path

Select an examination based on your desired career

ENGINEERING

JEE Main

Gateway to NITs, IIITs and many engineering
institutes. Also used for JEE Advanced eligibility.

PCM
B.Tech
National


Official website ↗

ENGINEERING

JEE Advanced

Entrance examination for undergraduate programmes
at the IITs.

PCM
IIT


Official website ↗

ENGINEERING

BITSAT

Admission route for undergraduate programmes
at BITS campuses.

PCM
BITS


Official website ↗

ENGINEERING

VITEEE

Engineering admission route for VIT.

PCM
B.Tech


Official website ↗

ENGINEERING

MET

Manipal Entrance Test for various undergraduate
programmes.

PCM
Engineering


Official website ↗

MEDICAL

NEET UG

Common national entrance route for undergraduate
medical education and specified AYUSH programmes.

PCB
MBBS
BDS


Official website ↗

UNIVERSITY

CUET UG

Common University Entrance Test for participating
universities and undergraduate programmes.

UG
Multiple Streams


Official website ↗

LAW

CLAT

Major national entrance route for undergraduate
law programmes at participating NLUs.

BA LLB
BBA LLB


Official website ↗

MANAGEMENT

IPMAT

Integrated management admission route at participating
IIMs.

BBA
MBA


IIM Indore ↗

DESIGN

NIFT Entrance

Entrance pathway for fashion and design-related
undergraduate programmes.

Design
Fashion


Official website ↗

ARCHITECTURE

NATA

National aptitude examination used by participating
architecture institutions for B.Arch admissions.

PCM
B.Arch


Official website ↗

DEFENCE

NDA / NA

UPSC entrance pathway for admission to the National
Defence Academy and Naval Academy.

Defence
UPSC


UPSC website ↗

HOSPITALITY

NCHM JEE

Entrance pathway for undergraduate hospitality
and hotel administration programmes.

Hospitality
B.Sc.


Official website ↗

AGRICULTURE

ICAR / CUET

Agriculture and allied undergraduate admission
pathways through participating institutions.

Agriculture
B.Sc.


ICAR website ↗

FINANCE

CA Foundation

Professional accounting pathway through the
Institute of Chartered Accountants of India.

Commerce
Finance


ICAI website ↗

FINANCE

CMA

Cost and management accounting professional pathway.

Commerce
Finance


ICMAI website ↗

CORPORATE

CS

Company Secretary professional qualification pathway.

Commerce
Corporate


ICSI website ↗

3

Engineering Pathway

PCM → Entrance → Institute → Engineering Career

⚙️ JEE / Engineering Route

Class 12 PCM
Physics + Chemistry + Mathematics
JEE Main
National Engineering Entrance
JEE Advanced
For IIT pathway
JoSAA
Seat allocation
Engineering College
B.Tech / B.E.

🏛️ Major Institute Options

IIT Bombay
IIT • Engineering


Official ↗

IIT Delhi
IIT • Engineering


Official ↗

IIT Madras
IIT • Engineering


Official ↗

IIT Kanpur
IIT • Engineering


Official ↗

IIT Kharagpur
IIT • Engineering


Official ↗

NIT Trichy
NIT • Engineering


Official ↗

NIT Surathkal
NIT • Engineering


Official ↗

IIIT Hyderabad
IIIT • Computing


Official ↗

4

Medical & Healthcare Pathway

PCB → NEET → Medical / Allied Health

🧬 NEET Route

Class 12 PCB
Physics + Chemistry + Biology
NEET UG
National medical entrance
Counselling
Central / State routes
Medical College
MBBS / BDS / AYUSH etc.

AIIMS New Delhi
Medical


Official ↗

AIIMS Bhopal
Medical


Official ↗

PGIMER Chandigarh
Medical


Official ↗

JIPMER
Medical


Official ↗

5

Commerce & Management

Business • Finance • Economics • Management

📊 Commerce Route

Class 12
Commerce / Other eligible streams
CUET / IPMAT
University / Management
B.Com / BBA / Economics
Undergraduate degree
MBA / CA / CFA etc.
Specialisation

IIM Indore
Integrated Management


Official ↗

IIM Rohtak
Management


Official ↗

University of Delhi
UG • Commerce / Economics


Official ↗

Banaras Hindu University
University


Official ↗

6

Law Pathway

5-year integrated undergraduate law programmes

⚖️ CLAT Route

Class 12
Any eligible stream
CLAT
National law entrance
NLU
5-year integrated law
Law Career
Litigation / Corporate / Judiciary etc.

NLSIU Bengaluru
National Law University


Official ↗

NALSAR Hyderabad
National Law University


Official ↗

NLU Delhi
National Law University


Official ↗

NLU Jodhpur
National Law University


Official ↗

7

Other Major Career Routes

There is much more beyond engineering and medicine

DESIGN

Design

Fashion, product, communication, UX and other
design fields.

NIFT
NID
UCEED

ARCHITECTURE

Architecture

Architecture and built-environment careers.

NATA
JEE

DEFENCE

Defence

Officer-entry pathway through NDA and related
selection processes.

NDA
NA

HOSPITALITY

Hotel Management

Hospitality, hotels, tourism and food-service
management.

NCHM JEE

AGRICULTURE

Agriculture

Agriculture, food technology, horticulture,
fisheries and allied fields.

ICAR
CUET

PURE SCIENCE

B.Sc. / Research

Physics, Chemistry, Mathematics, Biology,
Statistics and research.

CUET
University

FINANCE

CA / CMA / CS

Professional careers in accounting, taxation,
corporate law and finance.

ICAI
ICMAI
ICSI

MEDIA

Journalism & Media

Journalism, mass communication, digital media,
advertising and content.

CUET
University

8

Quick Decision Map

Start with what you enjoy

❤️ Biology
NEET → Medicine / Healthcare
💻 Technology
JEE / BITSAT / Engineering
📈 Business
CUET / IPMAT / CA / BBA
⚖️ Law
CLAT → Integrated Law
🎨 Creativity
NIFT / NID / UCEED / Design

(function() {

const root = document.querySelector(“#india-roadmap”);

if (!root) return;

const cards =
root.querySelectorAll(“.exam-card”);

const filters =
root.querySelectorAll(“.filter”);

const search =
root.querySelector(“#roadmapSearch”);

let currentFilter = “all”;

/* =========================================
FILTER
========================================= */

filters.forEach(function(button) {

button.addEventListener(“click”, function() {

filters.forEach(function(b) {
b.classList.remove(“active”);
});

this.classList.add(“active”);

currentFilter =
this.dataset.filter;

applyFilters();

});

});

/* =========================================
SEARCH
========================================= */

search.addEventListener(“input”, function() {

applyFilters();

});

/* =========================================
APPLY FILTERS
========================================= */

function applyFilters() {

const query =
search.value
.toLowerCase()
.trim();

cards.forEach(function(card) {

const streams =
(card.dataset.streams || “”)
.toLowerCase();

const text =
(
card.innerText +
” ” +
(card.dataset.search || “”)
)
.toLowerCase();

const streamMatch =
currentFilter === “all” ||
streams.includes(currentFilter) ||
streams.includes(“all”);

const searchMatch =
!query ||
text.includes(query);

if (streamMatch && searchMatch) {

card.classList.remove(“hidden”);

} else {

card.classList.add(“hidden”);

}

});

}

/* =========================================
STREAM CARD → FILTER
========================================= */

root.querySelectorAll(“.stream-card”)
.forEach(function(card) {

card.addEventListener(“click”, function() {

const stream =
this.dataset.stream;

if (
stream === “all” ||
![“pcm”,”pcb”,”commerce”,”arts”]
.includes(stream)
) {

currentFilter = “all”;

} else {

currentFilter = stream;

}

filters.forEach(function(btn) {

btn.classList.toggle(
“active”,
btn.dataset.filter === currentFilter
);

});

applyFilters();

root.querySelector(“#examGrid”)
.scrollIntoView({
behavior: “smooth”,
block: “center”
});

});

});

/* =========================================
CARD ANIMATION
========================================= */

const observer =
new IntersectionObserver(
function(entries) {

entries.forEach(function(entry) {

if (entry.isIntersecting) {

entry.target.style.opacity = “1”;
entry.target.style.transform =
“translateY(0)”;

}

});

},
{
threshold: 0.08
}
);

cards.forEach(function(card) {

card.style.opacity = “0”;
card.style.transform = “translateY(15px)”;
card.style.transition =
“opacity .5s ease, transform .5s ease”;

observer.observe(card);

});

/* =========================================
KEYBOARD SHORTCUT
“/” focuses search
========================================= */

document.addEventListener(
“keydown”,
function(event) {

if (
event.key === “/” &&
document.activeElement.tagName !== “INPUT”
) {

event.preventDefault();

search.focus();

}

if (event.key === “Escape”) {

search.value = “”;

applyFilters();

}

}
);

})();