# FAQ module won't open

**URL:** <https://community.hubspot.com/t/faq-module-wont-open/10131>\
**Category:** CMS Development\
**Created:** [September 10, 2018, 2:48pm UTC](https://community.hubspot.com/t/faq-module-wont-open/10131 "2018-09-10T14:48:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jlawal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jlawal/32/5125_2.png) [@Jlawal](https://community.hubspot.com/u/Jlawal)\
**Post date:** [September 10, 2018, 2:48pm UTC](https://community.hubspot.com/t/faq-module-wont-open/10131/1 "2018-09-10T14:48:32Z")

</div>

Hello,

I’ve put together an FAQ page (can be seen [here](https://www.groupcall.com/-temporary-slug-e6ede222-c7e4-492a-9ebd-35788983edd1?hs_preview=LAvgvhAg-6083209381))

![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/e/4ef8c2bc5a29eedd2e234f817d050d88bdd3c71e.png)

Clicking the circled arrow would expand the question and appear like the image below, but this function has stopped working over the past day and i’m not sure why. Any advice on this would be greatly appreciated 🙂

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/c/acc24e079e440bb1ee91535aecfc02ef03831196.png)

---

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [September 10, 2018, 3:42pm UTC](https://community.hubspot.com/t/faq-module-wont-open/10131/2 "2018-09-10T15:42:53Z")

</div>

@Jlawal - where did you get this module? I don’t see any javascript related to the accordion in your source code

---

<div class="post-metadata">

**Author:** ![Jlawal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jlawal/32/5125_2.png) [@Jlawal](https://community.hubspot.com/u/Jlawal)\
**Post date:** [September 11, 2018, 8:00am UTC](https://community.hubspot.com/t/faq-module-wont-open/10131/3 "2018-09-11T08:00:52Z")

</div>

Hi @tjoyce - thanks for your reply.

I took the module from [this template](https://app.hubspot.com/marketplace/1786725/products/revenue-river-marketing/sahara-faq-3).

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [September 11, 2018, 10:00am UTC](https://community.hubspot.com/t/faq-module-wont-open/10131/4 "2018-09-11T10:00:09Z")

</div>

Hi @Jlawal,  
JavaScript for the accordion is missing.  
This is the JS needed for running your accordion. You can place it anywhere in your template and lock the module.

```auto
jQuery(document).ready(function(d){
d(".common-section1 .hs_cos_wrapper_widget").first().find(".common-inner h5").addClass("active");
d(".common-section1 .hs_cos_wrapper_widget").first().find(".common-inner h5").next().slideDown(250);
d(".common-inner h5").click(function(){
	d(".common-inner h5").not(d(this)).removeClass("active");
	d(".common-text").not(d(this).next()).slideUp();
	d(this).toggleClass("active");
	d(this).next().slideToggle(250)});
	d(".accordion-section .hs_cos_wrapper_widget").first().find(".faq2-box h5").addClass("active");
	d(".accordion-section .hs_cos_wrapper_widget").first().find(".faq2-box h5").next().slideDown(250);
	d(".faq2-box h5").click(function(){d(".faq2-box h5").not(d(this)).removeClass("active");
		d(".faq2-text").not(d(this).next()).slideUp();
		d(this).toggleClass("active");d(this).next().slideToggle(250)
});
});

```

This is the JS of the template you purchased :- [https://www.revenueriver.co/hs-fs/hub/177047/hub\_generated/template\_assets/1529919253445/Custom/page/Sahara\_Theme\_2017/Sahara\_2017\_Script.min.js](https://www.revenueriver.co/hs-fs/hub/177047/hub_generated/template_assets/1529919253445/Custom/page/Sahara_Theme_2017/Sahara_2017_Script.min.js)  
In case you want other JS of the pages.  
Hope it helps!  
 ![16x16_smiley-very-happy.png.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/a/a83ec960612094a57cfb392e21c202c8e77b967c.png)

---

<div class="post-metadata">

**Author:** ![Jlawal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jlawal/32/5125_2.png) [@Jlawal](https://community.hubspot.com/u/Jlawal)\
**Post date:** [September 13, 2018, 12:41pm UTC](https://community.hubspot.com/t/faq-module-wont-open/10131/5 "2018-09-13T12:41:02Z")

</div>

Hi @Anonymous,

That’s worked perfectly! Thank you for your help 🙂

---

<div class="post-metadata">

**Author:** ![jessebeginbound](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jessebeginbound/32/106254_2.png) [@jessebeginbound](https://community.hubspot.com/u/jessebeginbound)\
**Post date:** [June 1, 2020, 6:09pm UTC](https://community.hubspot.com/t/faq-module-wont-open/10131/6 "2020-06-01T18:09:57Z")

</div>

Hi, @Jlawal

If anyone ever runs into this again and gets tired of trying to figure out the code, we made a universal FAQ module that you can find on the HubSpot Marketplace here: [https://marketplace.hubspot.com/products/begin-bound/beginbound-ultimate-faq-module-live](https://marketplace.hubspot.com/products/begin-bound/beginbound-ultimate-faq-module-live)

It has enough style options to match any brand and make it easy for you to add as many FAQ’s as you want to any template.

Happy HubSpotting!
