https://cbseresults2025online.blogspot.com/
CBSE | EXAMINATION RESULT
body {
font-family: ‘Segoe UI’, sans-serif;
background-color: #e6f0ff;
color: #222;
margin: 0;
padding: 20px;
text-transform: uppercase;
}
.container {
max-width: 900px;
margin: auto;
background-color: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border-left: 8px solid #0047ab;
}
h1, h2, h3 {
text-align: center;
color: #0047ab;
}
.info-section {
margin-top: 25px;
}
.info-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-bottom: 20px;
}
.info-grid p {
margin: 5px 0;
}
.label {
font-weight: bold;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
font-size: 15px;
}
table, th, td {
border: 1px solid #444;
}
th, td {
padding: 10px;
text-align: center;
}
th {
background-color: #dce6f7;
}
.result-footer {
margin-top: 20px;
font-size: 16px;
font-weight: bold;
text-align: center;
color: green;
}
.print-button {
margin-top: 20px;
display: block;
width: 100%;
background-color: #0047ab;
color: white;
padding: 12px;
border: none;
font-size: 16px;
border-radius: 6px;
cursor: pointer;
}
.print-button:hover {
background-color: #003a91;
}
#formSection {
max-width: 500px;
margin: auto;
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 3px 8px rgba(0,0,0,0.15);
border-left: 6px solid #0047ab;
text-transform: none;
}
label {
font-weight: bold;
display: block;
margin-top: 10px;
}
input {
width: 100%;
padding: 8px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
}
.fade-out {
opacity: 0;
transition: opacity 0.5s ease-out;
pointer-events: none;
}
${sub.code}
${sub.name}
${theory}
${internal}
${total}
${grade}
`;
});
document.getElementById(“marksTable”).innerHTML = rows;
}
CENTRAL BOARD OF SECONDARY EDUCATION
SENIOR SCHOOL CERTIFICATE EXAMINATION (CLASS XII) – 2025
ROLL NUMBER:
CANDIDATE’S NAME:
FATHER’S NAME:
MOTHER’S NAME:
DATE OF BIRTH:
ADMIT CARD ID:
SUBMIT AND CHECK RESULT
function getGrade(marks) {
if (marks >= 90) return ‘A1’;
if (marks >= 80) return ‘A2’;
if (marks >= 70) return ‘B1’;
if (marks >= 60) return ‘B2’;
if (marks >= 50) return ‘C1’;
if (marks >= 40) return ‘C2’;
if (marks >= 33) return ‘D’;
return ‘E’;
}
function randomMarks(min, max) {
return Math.floor(Math.random() * (max – min + 1)) + min;
}
function generateResult() {
const rollNo = document.getElementById(“rollNo”).value.trim();
const name = document.getElementById(“name”).value.trim();
const father = document.getElementById(“father”).value.trim();
const mother = document.getElementById(“mother”).value.trim();
const dob = document.getElementById(“dob”).value;
const admit = document.getElementById(“admit”).value.trim();
if (!rollNo || !name || !father || !mother || !dob || !admit) {
alert(“PLEASE FILL IN ALL FIELDS.”);
return;
}
document.getElementById(“formSection”).classList.add(“fade-out”);
setTimeout(() => {
document.getElementById(“formSection”).style.display = “none”;
document.getElementById(“resultContainer”).style.display = “block”;
}, 500);
document.getElementById(“rRoll”).textContent = rollNo;
document.getElementById(“rName”).textContent = name;
document.getElementById(“rFather”).textContent = father;
document.getElementById(“rMother”).textContent = mother;
document.getElementById(“rDob”).textContent = new Date(dob).toLocaleDateString(‘en-GB’);
const subjects = [
{ code: ‘301’, name: ‘ENGLISH CORE’ },
{ code: ‘041’, name: ‘MATHEMATICS’ },
{ code: ‘042’, name: ‘PHYSICS’ },
{ code: ‘043’, name: ‘CHEMISTRY’ },
{ code: ‘044’, name: ‘BIOLOGY’ }
];
let rows = ”;
subjects.forEach(sub => {
const theory = randomMarks(50, 70);
const internal = randomMarks(20, 30);
const total = theory + internal;
const grade = getGrade(total);
rows += `
