JavaScript
let studentName="Ravi";
let totalMarks=480;Rules, mistakes, good variable names
Variable names should be meaningful, clear, and follow language rules.
A labeled box helps us find the correct item quickly. A good variable name helps us understand code quickly.
Do not start with numbers, use spaces, or use symbols like @ and #.
let studentName="Ravi";
let totalMarks=480;string studentName="Ravi";
int totalMarks=480;student_name="Ravi"
total_marks=480<?php
$studentName="Ravi";
$totalMarks=480;
?>Clear names = clear coding.