), then please use
the "Add HTML Code" page, as this is a HTML code that links a JavaScript file.
End of comment */
document.addEventListener('DOMContentLoaded', function() {
const btn = document.getElementById('scholarship-btn'); // Adjust if using multiple buttons
const form = document.getElementById('scholarship-form');
if (btn && form) {
btn.addEventListener('click', function() {
form.style.display = 'block';
btn.style.display = 'none'; // Optional: Hide the button after clicked
});
}
});