From 3ccd67e9281ce18c0b737c3de9fef91e068383de Mon Sep 17 00:00:00 2001 From: RAHUL Date: Tue, 25 Jul 2023 10:25:25 +0530 Subject: [PATCH] add question answer on faq --- FAQ/faq.html | 113 ++++++++++++++++++++++++++++++++-------- FAQ/js/faq.js | 7 +++ index.html | 4 +- sec-page/css/styles.css | 2 +- 4 files changed, 102 insertions(+), 24 deletions(-) create mode 100644 FAQ/js/faq.js diff --git a/FAQ/faq.html b/FAQ/faq.html index 93aff94..fd022d4 100644 --- a/FAQ/faq.html +++ b/FAQ/faq.html @@ -4,6 +4,7 @@ FAQ + @@ -81,56 +82,126 @@

FAQ's

-

Question here ?

+

How big is the universe ?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae - molestias corporis explicabo obcaecati magnam nemo minima ea autem - odio blanditiis. + The observable universe is estimated to be about 93 billion light-years in diameter, constantly expanding since the Big Bang.

-

Question here ?

+

What is a black hole ?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae - molestias corporis explicabo obcaecati magnam nemo minima ea autem - odio blanditiis. + A black hole is an area in space with incredibly strong gravity that nothing, not even light, can escape from.

-

Question here ?

+

What causes the Northern Lights ?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae - molestias corporis explicabo obcaecati magnam nemo minima ea autem - odio blanditiis. + The Northern Lights, or Aurora Borealis, are caused by charged particles from the sun colliding with Earth's atmosphere, creating beautiful light displays. +

+
+
+ +
+
+

Is there life on other planets ?

+ +
+
+

+ The search for extraterrestrial life continues, but there is no definitive evidence yet. Scientists explore Mars and moons for potential habitability. +

+
+
+ +
+
+

What is a supernova ?

+ +
+
+

+ A supernova is an explosive event that occurs when a massive star reaches the end of its life cycle, releasing an enormous amount of energy.

- - +
+
+

What are the hottest and coldest planets in our solar system ?

+ +
+
+

+ Venus is the hottest planet, with surface temperatures around 900 degrees Fahrenheit (475 degrees Celsius), while Neptune is the coldest, with temperatures as low as -330 degrees Fahrenheit (-200 degrees Celsius). +

+
+
+ +
+
+

What is the Hubble Space Telescope used for ?

+ +
+
+

+ The Hubble Space Telescope is used to observe distant galaxies, stars, and planets, providing valuable data for astronomers and space researchers. +

+
+
+ +
+
+

How are planets formed ?

+ +
+
+

+ Planets form from gas and dust particles in a rotating disk around a young star, gradually accreting and growing over millions of years. +

+
+
+ +
+
+

Can humans survive in space without a spacesuit ?

+ +
+
+

+ No, humans cannot survive in the vacuum of space without a spacesuit, as they need protection from extreme temperatures and lack of air. +

+
+
+ + + diff --git a/FAQ/js/faq.js b/FAQ/js/faq.js new file mode 100644 index 0000000..2ec8616 --- /dev/null +++ b/FAQ/js/faq.js @@ -0,0 +1,7 @@ +const faqs = document.querySelectorAll(".faq"); + +faqs.forEach((faq) => { + faq.addEventListener("click", () => { + faq.classList.toggle("active"); + }); +}); diff --git a/index.html b/index.html index db5bb2f..40963cf 100644 --- a/index.html +++ b/index.html @@ -3,8 +3,8 @@ - - + + welcome to space diff --git a/sec-page/css/styles.css b/sec-page/css/styles.css index 2129fa2..d96f747 100644 --- a/sec-page/css/styles.css +++ b/sec-page/css/styles.css @@ -157,7 +157,7 @@ body { #galaxy { position: relative; width: 100%; - height: 100%; + height: 120%; /*perspective: 4000;*/ }