Skip to content

Commit 4cf9376

Browse files
Moving JS to bottom of the page
1 parent b41ea11 commit 4cf9376

File tree

1 file changed

+49
-18
lines changed

1 file changed

+49
-18
lines changed

index.html

Lines changed: 49 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,7 @@
1515
<!-- Latest compiled and minified CSS -->
1616
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
1717

18-
<!-- jQuery library -->
19-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
20-
21-
<!-- Popper JS -->
22-
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
2318

24-
<!-- Latest compiled JavaScript -->
25-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
2619
<!-- Custom styles for this template -->
2720
<link href="./css/style.css" rel="stylesheet">
2821
<link href="./css/font-awesome.min.css" rel="stylesheet">
@@ -36,32 +29,35 @@
3629
<div class="jumbotron text-center" id="header">
3730
<div class="mobileLogo">
3831
<img src="img/CodeWithSymbol.png" id="keyboardSymbol" height="100" width="200" alt="CodeWith">
39-
<h1>CodeWith</h1>
32+
<h1>CODEWITH</h1>
4033
</div>
4134

4235
<div class="desktopLogo">
43-
<img src="img/CodeWithLogoSmall.png" height="500" width="476" alt="CodeWith">
36+
<img src="img/CodeWithLogoSmall.png" height="250" width="239" alt="CodeWith">
4437
</div>
4538
</div>
4639

4740
<div class="container">
4841
<div class="row">
4942
<div class="col-lg-6"">
50-
<p class="lead">
51-
CodeWith provides free and informal support for adults who want
52-
to learn to code, using online resources, workshops and webinars.
43+
<h2>About Us</h2>
44+
45+
<p class=" lead">
46+
CodeWith provides free and informal support for adults who want
47+
to learn to code, using online resources, workshops and webinars.
5348
</p>
5449
<p class="lead">
5550
We want to keep everyone up to date with what's going on, so please
56-
sign up to our mailing list.
51+
sign up to our mailing list.
5752
</p>
5853

5954
</div>
6055
<div class="col-lg-6">
6156
<h2>Subscribe to our mailing list</h2>
6257

6358
<!-- Begin Mailchimp Signup Form -->
64-
<link href="https://cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
59+
<link href="https://cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet"
60+
type="text/css">
6561

6662
<div id="mc_embed_signup">
6763
<form
@@ -76,17 +72,41 @@ <h2>Subscribe to our mailing list</h2>
7672
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
7773
</div>
7874
<div class="mc-field-group">
79-
<label for="mce-FNAME">First Name </label>
80-
<input type="text" value="" name="FNAME" class="" id="mce-FNAME">
75+
<label for="mce-FNAME">First Name <span class="asterisk">*</span>
76+
</label>
77+
<input type="text" value="" name="FNAME" class="required" id="mce-FNAME">
8178
</div>
8279
<div class="mc-field-group">
83-
<label for="mce-LNAME">Last Name </label>
84-
<input type="text" value="" name="LNAME" class="" id="mce-LNAME">
80+
<label for="mce-LNAME">Last Name <span class="asterisk">*</span>
81+
</label>
82+
<input type="text" value="" name="LNAME" class="required" id="mce-LNAME">
8583
</div>
8684
<div class="mc-field-group">
8785
<label for="mce-TOWN">Town </label>
8886
<input type="text" value="" name="TOWN" class="" id="mce-TOWN">
8987
</div>
88+
<div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group">
89+
<div class="content__gdpr">
90+
<label>Marketing Permissions</label>
91+
<p>Please select all the ways you would like to hear from Code With:</p>
92+
<fieldset class="mc_fieldset gdprRequired mc-field-group"
93+
name="interestgroup_field">
94+
<label class="checkbox subfield" for="gdpr_39820"><span>Email</span> </label>
95+
<input type="checkbox"
96+
id="gdpr_39820" name="gdpr[39820]" value="Y"
97+
class="av-checkbox gdpr" style=" width:5%;">
98+
</fieldset>
99+
100+
<p>You can unsubscribe at any time by clicking the link in the footer of our emails.
101+
We do not sell or give this information to third party companies.</p>
102+
</div>
103+
<div class="content__gdprLegal">
104+
<p>We use Mailchimp as our marketing platform. By clicking below to subscribe, you
105+
acknowledge that your information will be transferred to Mailchimp for
106+
processing. <a href="https://mailchimp.com/legal/" target="_blank">Learn more
107+
about Mailchimp's privacy practices here.</a></p>
108+
</div>
109+
</div>
90110
<div id="mce-responses" class="clear">
91111
<div class="response" id="mce-error-response" style="display:none"></div>
92112
<div class="response" id="mce-success-response" style="display:none"></div>
@@ -104,7 +124,18 @@ <h2>Subscribe to our mailing list</h2>
104124

105125
</div>
106126
</div>
127+
<!-- jQuery library -->
128+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
129+
130+
<!-- Popper JS -->
131+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
132+
133+
<!-- Latest compiled JavaScript -->
134+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
107135

136+
<script type='text/javascript' src='https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
137+
<script
138+
type='text/javascript'>(function ($) { window.fnames = new Array(); window.ftypes = new Array(); fnames[0] = 'EMAIL'; ftypes[0] = 'email'; fnames[1] = 'FNAME'; ftypes[1] = 'text'; fnames[2] = 'LNAME'; ftypes[2] = 'text'; fnames[3] = 'TOWN'; ftypes[3] = 'text'; }(jQuery)); var $mcj = jQuery.noConflict(true);</script>
108139

109140
</body>
110141

0 commit comments

Comments
 (0)