<script>
function hello(){
var name = document.getElementById("name").value;
if(name=="")
{
document.getElementById("msg").innerHTML="Username Should Not Be Empty";
return false;
}
}
</script>
<form onsubmit="return hello()">
<input type = "text" id = "name" placeholder="Write Username">
<input type = "submit"><br>
<p id = "msg"></p>
</form>
Choose the right course and start building your future with practical skills.
Learn HTML, CSS, JavaScript, and PHP to build modern, responsive websites and real-world projects.
Enroll Now See Full Details
Understand electronics basics with hands-on breadboard projects and circuit building techniques.
Enroll Now See Full Details
Step into AI with real-world applications, automation tools, and smart development techniques.
Enroll Now See Full Details