diff --git a/src/components/Faq.js b/src/components/Faq.js index 31c1c38..adb9234 100644 --- a/src/components/Faq.js +++ b/src/components/Faq.js @@ -1,6 +1,9 @@ -import React from 'react'; +import React, { useState } from 'react'; import Header from './Header'; const Faq = () => { + + const [showMsg, setShowMsg] = useState(false) + return (
@@ -43,6 +46,23 @@ const Faq = () => {
+ +
+ +

Want to know a secret? Click me

+ +
+ + { + showMsg ? +
+

Blog titles with a minimum of 8 words have 21% better click-through

+
: +
+ } + );