html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div id="pic"></div>
<h4 align="center">FAQ</h4>
<center>
<div class="faq">
<div class="que">What is Back to School Campaign?</div>
<div class="ans">The ‘Back to School’ Streak campaign is a 15-day learning streak challenge from SoloLearn. We are challenging our learners to make learning how to code a habit. To participate, you need to complete one lesson per day of any course that you choose on Sololearn.</div>
<div class="que">What do I get if I complete the streak?</div>
<div class="ans">Participants receive a profile badge, custom certificate, and a 30-day trial to SoloLearn PRO upon completion of the streak. Learners will also enter a chance to win one of the three special prizes — An Apple Watch, Airpods PRO, or one-year free of SoloLearn PRO. </div>
<div class="que">How can I join the streak?</div>
<div class="ans">To participate, everyone must install the app from App Store or Google Play and signup for SoloLearn. Once you have signed up, choose your course and start the streak!</div>
<div class="que">Who is eligible to win one of the prizes?</div>
<div class="ans">For eligibility, please see the legal terms and conditions.</div>
<div class="que">What are the prizes?</div>
<div class="ans">Three learners who successfully complete the streak will be randomly selected to win an Apple Watch, AirPods Pro, or one year subscription to SoloLearn PRO.</div>
<div class="que">If I do not live in the United States and I win one of the prizes, does SoloLearn pay for custom duties?</div>
<div class="ans">Yes</div>
<div class="que">Can I join the streak and participate through SoloLearn’s website?</div>
<div class="ans">No. You can only complete the streak via the SoloLearn app.</div>
<div class="que">What if I miss a lesson?</div>
<div class="ans">If you miss a day, you can rejoin the streak, provided that there is enough time for you to complete the streak in 15 days.<br /> you do not complete the streak, you will not receive any of the awards, and you will not be entered to win a prize.
</div>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
html,body {
margin:0px;
height:100%;
}
#pic{
margin:0px;
background-position:center-top;
background-attachment:fixed; background-image:url("https://dl.dropbox.com/s/c9zokplhmfy21vf/20200823_080501.jpg");
background-repeat:no-repeat;
background-size:100%;
height:26%;
}
h4{
font-size:25px;
color:#37465b;
}
.faq{
width:85%;
text-align:left;
}
.que{
font-weight:bold;
padding-bottom:5px;
font-size:15px;
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
alert("❗❌🚫You can clear all your queries regarding Back To School Streak here. These FAQs and their answer are purely provided by Sololearn itself. If you still have some questions left you can ask them in Comments Section.❗❌🚫\n\n❗❌🚫We have also added Extra FAQs at the end that are provided by me gathered from Sololearn questions.\n\nDark Mode available at the end.\nPlease upvote❗❌🚫");
alert("Works best on android");
function changeMode(){
var btn,divs,h4;
btn=document.getElementsByTagName("button");
divs=document.getElementsByTagName("div");
h4=document.getElementsByTagName("h4");
if(btn[0].textContent==="Dark Mode"){ document.body.style.backgroundColor="#37465b";
for(var i=0;i<divs.length;i++)
{
divs[i].style.color="#ffffff";
}
h4[0].style.color="#ffffff";
btn[0].style.backgroundColor="#37465b";
btn[0].style.borderColor=("#ffffff");
btn[0].style.color=("#ffffff");
document.getElementById("info").style.backgroundColor="#ffffff";
document.getElementById("link").style.color="#37465b";
btn[0].textContent="Light Mode";
}else{
document.body.style.backgroundColor="#ffffff";
for(var i=0;i<divs.length;i++)
{
divs[i].style.color="#37465b";
}
h4[0].style.color="#37465b";
btn[0].style.backgroundColor="#ffffff";
btn[0].style.borderColor=("#37465b");
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run