Lava Example - 61 | Rock Community

Lava Example - 59


Prompt

Your church has a really long FAQs page! Put them into an accordion instead so it's not so far to scroll.

Initial Code
<h3>Frequently Asked Questions</h3>
<ul>
    <li>
        <strong>What can I expect during a Sunday service?</strong><br>
        <p>Our services typically include contemporary worship music, a sermon rooted in Biblical teaching, and prayer. Services last about 75 minutes, and we encourage a relaxed and welcoming atmosphere.</p>
    </li>
    <li>
        <strong>Do I need to dress a certain way?</strong><br>
        <p>No! Come as you are. Some people dress casually, while others prefer more formal attire. We value your presence, not your outfit.</p>
    </li>
    <li>
        <strong>Are children welcome?</strong><br>
        <p>Absolutely! We offer engaging children’s programs during the service, where kids can learn about God in a fun and age-appropriate way. For parents who prefer, children are always welcome to stay in the main service.</p>
    </li>
    <li>
        <strong>What does your church believe?</strong><br>
        <p>We believe in the authority of the Bible, the divinity of Jesus Christ, salvation through faith, and the work of the Holy Spirit in the lives of believers. For a detailed statement of beliefs, visit our website or pick up a brochure at the welcome desk.</p>
    </li>
    <li>
        <strong>Is your church involved in the community?</strong><br>
        <p>Yes! We partner with local organizations to serve the community through food drives, outreach programs, and service projects. We also host regular events open to everyone.</p>
    </li>
    <li>
        <strong>How can I get involved?</strong><br>
        <p>There are many ways to get involved! Join a small group, volunteer in one of our ministries, or participate in our outreach programs. Stop by the Connection Desk or visit our website to learn more.</p>
    </li>
    <li>
        <strong>Do I have to be a member to participate in church activities?</strong><br>
        <p>No, membership is not required to attend services or participate in most activities. If you're interested in becoming a member, we offer periodic classes to help you learn more about us.</p>
    </li>
    <li>
        <strong>Do you offer counseling or pastoral care?</strong><br>
        <p>Yes, our pastors and staff are available for counseling and spiritual guidance. Contact the church office to schedule an appointment.</p>
    </li>
</ul>
Solution Lava
<h3>Frequently Asked Questions</h3>
{[ accordion ]}
    [[ item title:'What can I expect during a Sunday service?' ]]
        Our services typically include contemporary worship music, a sermon rooted in Biblical teaching, and prayer. Services last about 75 minutes, and we encourage a relaxed and welcoming atmosphere.
    [[ enditem ]]
    
    [[ item title:'Do I need to dress a certain way?' ]]
        No! Come as you are. Some people dress casually, while others prefer more formal attire. We value your presence, not your outfit.
    [[ enditem ]]
    
    [[ item title:'Are children welcome?' ]]
        Absolutely! We offer engaging children’s programs during the service, where kids can learn about God in a fun and age-appropriate way. For parents who prefer, children are always welcome to stay in the main service.
    [[ enditem ]]
    
    [[ item title:'What does your church believe?' ]]
        We believe in the authority of the Bible, the divinity of Jesus Christ, salvation through faith, and the work of the Holy Spirit in the lives of believers. For a detailed statement of beliefs, visit our website or pick up a brochure at the welcome desk.
    [[ enditem ]]
    
    [[ item title:'Is your church involved in the community?' ]]
        Yes! We partner with local organizations to serve the community through food drives, outreach programs, and service projects. We also host regular events open to everyone.
    [[ enditem ]]
    
    [[ item title:'How can I get involved?' ]]
        There are many ways to get involved! Join a small group, volunteer in one of our ministries, or participate in our outreach programs. Stop by the Connection Desk or visit our website to learn more.
    [[ enditem ]]
    
    [[ item title:'Do I have to be a member to participate in church activities?' ]]
        No, membership is not required to attend services or participate in most activities. If you're interested in becoming a member, we offer periodic classes to help you learn more about us.
    [[ enditem ]]
    
    [[ item title:'Do you offer counseling or pastoral care?' ]]
        Yes, our pastors and staff are available for counseling and spiritual guidance. Contact the church office to schedule an appointment.
    [[ enditem ]]
{[ endaccordion ]}