Skip to content
Permalink
edd943401c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
13 lines (11 sloc) 427 Bytes
// Function to populate student information
function populateStudentInfo() {
// Setting text for h3 elements using jQuery
$('#name').text('John Doe');
$('#major').text('Computer Science');
$('#year').text('Senior');
// Setting HTML content for h4 element using jQuery
$('#location').html("<em>California</em>");
}
// Call the function when document is ready
$(document).ready(populateStudentInfo);