16 lines
585 B
JavaScript
16 lines
585 B
JavaScript
document.addEventListener('DOMContentLoaded', function() {
|
|
const analyzeBtn = document.getElementById('analyze-btn');
|
|
const uploadSection = document.getElementById('upload-section');
|
|
const analysisSection = document.getElementById('analysis-section');
|
|
|
|
if (analyzeBtn) {
|
|
analyzeBtn.addEventListener('click', function(event) {
|
|
event.preventDefault();
|
|
|
|
// Hide upload section and show analysis section
|
|
uploadSection.style.display = 'none';
|
|
analysisSection.style.display = 'block';
|
|
});
|
|
}
|
|
});
|