1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
< html >
3
3
< head >
4
4
< title > Race for the White House</ title >
59
59
</ head >
60
60
61
61
< body >
62
- < div id ="loading ">
63
- < img src ="https://cdn.dribbble.com/users/626506/screenshots/2661024/800600.gif " alt ="Loading... "/>
64
- </ div >
65
- < div id ="main-content " style ="display: none; "> </ div >
62
+ < div id ="loading ">
63
+ < img
64
+ src ="https://cdn.dribbble.com/users/626506/screenshots/2661024/800600.gif "
65
+ alt ="Loading... "
66
+ />
67
+ </ div >
68
+ < div id ="main-content " style ="display: none "> </ div >
66
69
< div class ="row ">
67
70
< div id ="fullpage ">
68
71
<!--BEGIN INTRO-->
@@ -166,13 +169,13 @@ <h1>The White House</h1>
166
169
< div class ="col-md-6 mx-auto text-center " style ="width: 50% ">
167
170
< div class ="shadow bg-white rounded " id ="tv-desc ">
168
171
< p >
169
- The White House serves as the official home of
170
- the President of the United States. As every
171
- aspiring candidate strives to secure this prestigious
172
- residence, they inevitably attract significant media
173
- scrutiny. Hover over the above voronoi stippling image
174
- to uncover additional details! Each dot on the
175
- screen corresponds to one of the < strong > 50,000+</ strong >
172
+ The White House serves as the official home of the President
173
+ of the United States. As every aspiring candidate strives to
174
+ secure this prestigious residence, they inevitably attract
175
+ significant media scrutiny. Hover over the above voronoi
176
+ stippling image to uncover additional details! Each dot on
177
+ the screen corresponds to one of the
178
+ < strong > 50,000+</ strong >
176
179
candidate mentions in our dataset.
177
180
</ p >
178
181
</ div >
@@ -639,7 +642,10 @@ <h1>Uncover the Impact: Your Interactive Analysis</h1>
639
642
</ div >
640
643
</ div >
641
644
< div class ="row ">
642
- < div class ="shadow p-3 mb-5 bg-white rounded col-6 " id ="impact-event-intro ">
645
+ < div
646
+ class ="shadow p-3 mb-5 bg-white rounded col-6 "
647
+ id ="impact-event-intro "
648
+ >
643
649
< p >
644
650
Delve into the dynamics of political influence with our
645
651
interactive visualization. As you've journeyed through the ebb
@@ -648,8 +654,9 @@ <h1>Uncover the Impact: Your Interactive Analysis</h1>
648
654
we empower you to uncover these mysteries.
649
655
</ p >
650
656
< p >
651
- Select from key political events, choose the candidates of interest, and
652
- decide whether to track coverage sentiment or volume.
657
+ Select from key political events, choose the candidates of
658
+ interest, and decide whether to track coverage sentiment or
659
+ volume.
653
660
</ p >
654
661
< p >
655
662
This tool is designed to bring your observations full circle,
@@ -661,7 +668,11 @@ <h1>Uncover the Impact: Your Interactive Analysis</h1>
661
668
</ p >
662
669
</ div >
663
670
< div class ="col-md-6 ">
664
- < img src ="img/breakingnews.png " id ="breaking-news-image " class ="img-fluid " />
671
+ < img
672
+ src ="img/breakingnews.png "
673
+ id ="breaking-news-image "
674
+ class ="img-fluid "
675
+ />
665
676
</ div >
666
677
</ div >
667
678
</ div >
@@ -691,7 +702,7 @@ <h1>Impactful Events</h1>
691
702
< div class ="row title-area " id ="settingstitle ">
692
703
< div class ="col-md-12 mx-auto text-center ">
693
704
< span class ="adjustments-title "
694
- > Make Your Own Adjustments</ span
705
+ > Make Your Own Adjustments</ span
695
706
>
696
707
</ div >
697
708
</ div >
@@ -725,16 +736,22 @@ <h5 class="settingsQ">How did the...</h5>
725
736
</ div >
726
737
</ div >
727
738
</ div >
728
- < div id ="metric-legend-container " class ="container-fluid legend-section ">
739
+ < div
740
+ id ="metric-legend-container "
741
+ class ="container-fluid legend-section "
742
+ >
729
743
< div class ="col-md-12 mx-auto text-center ">
730
744
< h5 class ="dropdown-textfield ">
731
745
Impact the
732
746
< span class ="form-group ">
733
- < select class ="form-control " id ="line-stat-selection-impact ">
734
- < option value ="volume "> Number of Mentions</ option >
735
- < option value ="sentiment "> Sentiment of Coverage</ option >
736
- </ select >
737
- </ span >
747
+ < select
748
+ class ="form-control "
749
+ id ="line-stat-selection-impact "
750
+ >
751
+ < option value ="volume "> Number of Mentions</ option >
752
+ < option value ="sentiment "> Sentiment of Coverage</ option >
753
+ </ select >
754
+ </ span >
738
755
</ h5 >
739
756
</ div >
740
757
</ div >
@@ -829,7 +846,10 @@ <h1>What Did We Learn?</h1>
829
846
</ div >
830
847
</ div >
831
848
< div class ="row ">
832
- < div class ="shadow p-3 mb-5 bg-white rounded col-6 " id ="conclusion-col ">
849
+ < div
850
+ class ="shadow p-3 mb-5 bg-white rounded col-6 "
851
+ id ="conclusion-col "
852
+ >
833
853
Many of our beliefs regarding the shortcomings of television
834
854
media were confirmed:
835
855
@@ -845,9 +865,9 @@ <h1>What Did We Learn?</h1>
845
865
adversarial candidates
846
866
</ li >
847
867
< li >
848
- There is a clear incumbency advantage in the media. The coverage
849
- of both President Biden and former President Trump dwarf that of
850
- the candidates.
868
+ There is a clear incumbency advantage in the media. The
869
+ coverage of both President Biden and former President Trump
870
+ dwarf that of the candidates.
851
871
</ li >
852
872
</ ul >
853
873
@@ -1058,7 +1078,7 @@ <h6 style="padding: 0.5em">
1058
1078
</ div >
1059
1079
< div class ="row text-center ">
1060
1080
< div >
1061
- < p style ="text-align: left; " id ="candidate-modal-bio "> </ p >
1081
+ < p style ="text-align: left " id ="candidate-modal-bio "> </ p >
1062
1082
</ div >
1063
1083
</ div >
1064
1084
< div class ="row text-center ">
@@ -1172,17 +1192,17 @@ <h5 class="modal-title">
1172
1192
< script src ="js/impactful-events.js "> </ script >
1173
1193
< script src ="js/project-intro.js "> </ script >
1174
1194
< script >
1175
- window . addEventListener ( ' load' , function ( ) {
1176
- var loading = document . getElementById ( ' loading' ) ;
1177
- var mainContent = document . getElementById ( ' main-content' ) ;
1195
+ window . addEventListener ( " load" , function ( ) {
1196
+ var loading = document . getElementById ( " loading" ) ;
1197
+ var mainContent = document . getElementById ( " main-content" ) ;
1178
1198
1179
1199
// Start the fade-out
1180
- loading . style . opacity = '0' ;
1200
+ loading . style . opacity = "0" ;
1181
1201
1182
1202
// Wait for the fade-out to finish
1183
- setTimeout ( function ( ) {
1184
- loading . style . display = ' none' ;
1185
- mainContent . style . display = ' block' ; // Show the main content
1203
+ setTimeout ( function ( ) {
1204
+ loading . style . display = " none" ;
1205
+ mainContent . style . display = " block" ; // Show the main content
1186
1206
} , 500 ) ; // This duration should match the CSS transition time
1187
1207
} ) ;
1188
1208
</ script >
0 commit comments