instructions

1 - How to make project count dynamic
Instruction Image
Step 1 - Copy code
<script>
// Retrieve all div elements with the id "project_item"
const projectItems = document.querySelectorAll("#project_item");

// Get the count of the selected div elements
const projectCount = projectItems.length;

// Update the text content of the "project_count" text block
const projectCountText = document.getElementById("project_count");
projectCountText.textContent = `${projectCount}`;
</script>
Step 2 - Paste code in Home page body
Instruction ImageInstruction Image
Any other questions? Get in touch!