From d63fcd8bc833d9177ca70553e1e0c73568a8491a Mon Sep 17 00:00:00 2001 From: Arghya Chowdhury Date: Sat, 18 Feb 2023 12:36:26 +0530 Subject: [PATCH] added faq section (#34) * added faq section * removed the comments * changed the title --- faq.css | 63 +++++++++ faq.html | 419 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ faq.js | 11 ++ 3 files changed, 493 insertions(+) create mode 100644 faq.css create mode 100644 faq.html create mode 100644 faq.js diff --git a/faq.css b/faq.css new file mode 100644 index 0000000..39c1afa --- /dev/null +++ b/faq.css @@ -0,0 +1,63 @@ +body{ + background: url("backgrounddropdown.png"); + +} +.heading{ + text-align:center; + font-family: 'Times New Roman', Times, serif; + font-size:60px; + margin-top:150px; +} +.information{ + border-color:black; + border-style:solid; + display:flex; + margin:90px; + height:auto; +} + +.info{ + margin:20px; + font-size:20px; +} + +.faq{ + margin-top: 2rem; + padding-bottom: 0.1rem; + border-bottom: 2px solid black; + cursor: pointer; +} + +.question{ + display: flex; + justify-content: space-between; + align-items: center; + font-weight: bold; +} + +.answer{ + max-height: 0; + padding-top: 1.6rem; + line-height: 1.6; + overflow: hidden; + transition: max-height 0.5s ease-out; +} + + +.active .answer{ + max-height: 500px; + overflow: hidden; + transition: max-height 1s ease-in; +} + +#periods{ + font-size: 1.5em; + font-weight: bold; +} + + +#pregnancy{ + font-size: 1.5em; + font-weight: bold; + margin-top: 88px; + } diff --git a/faq.html b/faq.html new file mode 100644 index 0000000..1dee843 --- /dev/null +++ b/faq.html @@ -0,0 +1,419 @@ + + + + + + FAQ - Frequently Asked Questions + + + + + + + + + + + + + +

FAQ - Frequently Asked Questions

+
+
+
+

Some FAQ (Frequently Asked Questions) about Periods are listed below :

+
+ +
    +
    +
    +
  • What is a period and why do we have them?
  • + + + +
    + +
    +

    Simply put: A period is when a woman’s body releases tissue it no longer needs. This tissue comes from + the uterus, which is where a baby (fetus) can develop in the female body. Every month or so, the uterus + lining gets thicker to prepare for a fertilized egg if the woman becomes pregnant. If the egg doesn’t get + fertilized, that lining is released from the body as blood through the vagina. This monthly process is + called menstruation or a period. + So when a girl has her period, her body is just getting rid of a small amount of blood and some unneeded + tissue. It is a natural, normal body process for all females as they become women and mature physically. +

    +
    +
    + + + +
    +
    +
  • What does a period feel like?
  • + + + +
    + +
    +

    The actual flow of your period doesn’t feel like much when it’s happening. Chances are, you won’t even + feel it coming out. When you actually start your period, you may feel some dampness in your private area — + this may be caused by a few spots of blood on your underwear. +

    +
    +
    + + + +
    +
    +
  • Does having your period smell?
  • + + + +
    + +
    +

    It shouldn’t! Menstrual odor happens when menstrual fluid comes in contact with air. When menstrual fluid + is absorbed within the vagina, like through a tampon, it is not exposed to the air, so there shouldn’t be + an odor. If you’re feeling worried, just be sure to change your pads and tampons frequently to help keep + odor at bay. +

    +
    +
    + + + + + +
    +
    +
  • Does having your period hurt?
  • + + + +
    + +
    +

    Menstruation itself doesn’t hurt, but some girls and women get cramps or other symptoms during their + periods that may be uncomfortable. This is typically due to the hormones your body releases during + menstruation that cause the uterus to contract so it can shed it’s lining. +

    +
    +
    + + + + + +
    +
    +
  • I got my period and I haven't told my mom yet. It's really hard for me to talk about things like this. I + have a lot of questions. What should I do?
  • + + + +
    + +
    +

    Lots of girls have the same concern. Your mom will be one of your best resources when you have questions + about your period, so try to start the conversation yourself! Know that she will be understanding and + helpful. Actually, she may be your best friend during this time in your life. Still don’t feel like you + can talk to your mom? An aunt, friend’s mom or older sister are also great women to ask. +

    +
    +
    + + + + + + +
    +
    +
  • Is there anything I won’t be able to do when I have my period?
  • + + + +
    + +
    +

    Your period doesn’t have to stop you from doing things you usually do. You can still go to school, help + at home, see your friends, play sports and do all the things you’d normally do. + +

    +
    +
    + + + + + + + +
    +
    +
  • Will anyone, like boys or my mom, notice when I have my period?
  • + + + +
    + +
    +

    No — not unless you tell them! If they ask you, it’s totally up to you to share or not. + +

    +
    +
    + + + + + +
    +
    +
  • When will I stop having my period for good?
  • + + + +
    + +
    +

    Women get periods until menopause, which is when menstruation and the ability to have children stops. In + most women, it usually happens in their late 40s or early 50s. But menopause can happen earlier or later. + Some women may stop menstruation by the time they're 35 years old, and others may not stop until their + late 50s.

    +
    +
    + +
+ + + +

+
+

Some FAQ (Frequently Asked Questions) about Pregnancy are listed below :

+
+

+
    + + +
    +
    +
  • What are the warning signs during pregnancy that require medical attention?
  • + + + +
    + +
    +

    Some warning signs during pregnancy that require immediate medical attention include vaginal bleeding or + spotting, severe abdominal pain or cramping, headaches, dizziness or fainting, reduced fetal movement, and + fever above 100.4 degrees Fahrenheit. + +

    +
    +
    + + + + +
    +
    +
  • How much weight should I gain during pregnancy?
  • + + + +
    + +
    +

    The amount of weight a woman should gain during pregnancy depends on her pre-pregnancy weight. As per + ICMR guidelines, women who are underweight should gain between 12.5-18 kg, those who are of normal weight + should gain between 11.5-16 kg, those who are overweight should gain between 7-11.5 kg, and those who are + obese should gain 5-9 kg. + +

    +
    +
    + + + + +
    +
    +
  • How often should I go for prenatal check-ups?
  • + + + +
    + +
    +

    Prenatal check-ups should be done every four weeks up to 28 weeks, every two weeks from 28-36 weeks, and + every week after 36 weeks of pregnancy. + +

    +
    +
    + + + + + + + +
    +
    +
  • Can I continue to work during pregnancy?
  • + + + +
    + +
    +

    Yes, women can continue to work during pregnancy as long as their job does not pose a risk to their + health or the health of the fetus. Employers are required to provide accommodations to pregnant employees, + such as allowing them to take more frequent breaks and providing a comfortable and safe work environment. + +

    +
    +
    + + + + + + + + +
    +
    +
  • Is it safe to travel during pregnancy?
  • + + + +
    + +
    +

    Travel during pregnancy is generally safe, but it is recommended that pregnant women avoid travel after + the 36th week of pregnancy, and avoid travel to areas with high altitudes or areas with a high risk of + infectious diseases. + +

    +
    +
    + + + + + + +
    +
    +
  • What should I eat during pregnancy?
  • + + + +
    + +
    + +

    Pregnant women should eat a balanced diet that includes plenty of fruits and vegetables, whole grains, + lean proteins, and low-fat dairy products. They should also stay hydrated by drinking plenty of water, and + avoid certain foods such as raw or undercooked meat, fish with high levels of mercury, and unpasteurized + dairy products. + +

    +
    +
    + + + + + +
    +
    +
  • Can I exercise during pregnancy?
  • + + + +
    + +
    +

    Yes, exercise during pregnancy is generally safe and can have many benefits, such as reducing the risk of + gestational diabetes and improving mood and sleep. However, pregnant women should consult their healthcare + provider before starting an exercise program and avoid high-impact activities or those that pose a risk of + falling or abdominal trauma. + +

    +
    +
    + + + + + + + + + + +
    +
    +
  • Can I take medicines during pregnancy?
  • + + + +
    + +
    +

    Pregnant women should avoid taking any medications without consulting their healthcare provider. Some + medications can be harmful to the developing fetus, so it is important to inform your healthcare provider + of all medications you are taking or plan to take during pregnancy. + +

    + + + +
+
+ +
+ + + + + \ No newline at end of file diff --git a/faq.js b/faq.js new file mode 100644 index 0000000..038e028 --- /dev/null +++ b/faq.js @@ -0,0 +1,11 @@ +document.addEventListener("DOMContentLoaded", () => { + const faqs = document.querySelectorAll(".faq"); + + faqs.forEach(faq => { + faq.addEventListener("click",() => { + console.log("clicked!"); + faq.classList.toggle("active"); + }); + }); + }); + \ No newline at end of file