import re

with open('index.html', 'r', encoding='utf-8') as f:
    content = f.read()
    
# Print all section ids and first 30 chars
sections = re.findall(r'<section(.*?)>', content, re.IGNORECASE | re.DOTALL)
for s in sections:
    id_match = re.search(r'id=["\']([^"\']+)["\']', s)
    if id_match:
        print("ID:", id_match.group(1))
    else:
        print("No ID")
