added javascript

master
bernadette 8 months ago
parent 1aa5e35983
commit d62929bbdf

@ -34,6 +34,7 @@ body {
.intro-text {
font-family: LibreBaskerville;
font-style: italic;
line-height: 130%;
font-size: 20px;
}
@ -49,7 +50,7 @@ body {
display: flex;
}
.command-line {
#user_input {
display: flex;
height: 100%;
width: 80%;
@ -86,8 +87,9 @@ body {
flex-direction: column;
}
.literal-function-text {
#output {
width: 80%;
margin-top: 30px;
}
.quotationmark-up-container {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

@ -8,105 +8,128 @@
.st2{stroke:#000000;stroke-width:0.7;stroke-miterlimit:10;}
</style>
<g>
<path class="st1" d="M128.75,108.88l-3.14,3.14l-11.66,4.93l-4.93-4.93l-1.35-4.93c-5.08-4.33-10.02-5.98-14.8-4.93l-5.83-3.14
l-4.04-6.28h-1.79l-1.35-1.79v-1.79l-3.59,1.79v8.07l-3.36,6.73v9.87c0,1.05,0.41,2.96,1.23,5.72c0.82,2.77,1.08,5.2,0.78,7.29
l-2.02,3.14l2.02,8.07l-6.95,4.93h-4.93l-1.35-1.35h-3.59l-1.35-1.79l-1.79-8.07l4.93-6.73v-8.07l-1.79-1.79h-1.35v-1.35
l-3.59-4.93l1.79-13c2.84-2.84,5.08-5.68,6.73-8.52v-1.35l-1.79-1.79v-4.93h-1.79l-8.07,9.87h-1.79l-3.14,4.48l-13,8.52h-6.73
l-4.93,6.73c-2.84,1.65-7.18,2.09-13,1.35l-3.14-3.14v-8.07l4.93-8.07c3.44-2.09,9.42-2.69,17.94-1.79v-3.14l6.73-4.93h6.28
c1.64-2.84,3.89-5.16,6.73-6.95h1.35v-4.93l3.59-3.14h1.35l-1.35-6.73h-4.93l-3.59-3.14v-3.14c-5.08-2.24-12.71-4.93-22.87-8.07
l-8.07-6.73l-1.35-6.73l1.35-8.07l3.59-3.14l8.07-1.79l6.28,6.73v6.28l3.59,1.79v1.79l1.35,1.35h4.93v3.59l4.93,4.93l8.07,1.35
l4.93,3.14v1.79h1.79l3.14-3.14l-3.14-6.73c4.18-5.23,5.83-10.16,4.93-14.8l-3.14-4.93v-8.07l4.93-8.07l6.28-1.79l5.16,1.79
l3.14,6.73c-2.09,4.64-3.14,11.06-3.14,19.28c0-0.6,0.6,2.69,1.79,9.87l1.35,1.79h3.59l6.28-9.87l8.07-1.79l8.52-9.87l8.07-1.35
l4.93,4.93v3.14l3.14,4.93v4.93l-4.93,4.93h-4.93l-3.14-3.14h-3.14l-4.93,6.28l-8.52,1.79l-1.35,4.93l-4.93,3.14v4.93l-6.73,6.73
v3.14l1.79,3.14l4.93,1.79l6.28,6.5v4.93l8.52-1.35l4.93,8.07l3.14,1.79l6.28-1.79l8.52,1.79
C126.96,100.22,128,103.95,128.75,108.88z"/>
<path class="st1" d="M841.31,108.88l-3.14,3.14l-11.66,4.93l-4.93-4.93l-1.35-4.93c-5.08-4.33-10.02-5.98-14.8-4.93l-5.83-3.14
l-4.04-6.28h-1.79l-1.35-1.79v-1.79l-3.59,1.79v8.07l-3.36,6.73v9.87c0,1.05,0.41,2.96,1.23,5.72c0.82,2.77,1.08,5.2,0.78,7.29
l-2.02,3.14l2.02,8.07l-6.95,4.93h-4.93l-1.35-1.35h-3.59l-1.35-1.79l-1.79-8.07l4.93-6.73v-8.07l-1.79-1.79h-1.35v-1.35
l-3.59-4.93l1.79-13c2.84-2.84,5.08-5.68,6.73-8.52v-1.35l-1.79-1.79v-4.93h-1.79l-8.07,9.87h-1.79l-3.14,4.48l-13,8.52h-6.73
l-4.93,6.73c-2.84,1.65-7.18,2.09-13,1.35l-3.14-3.14v-8.07l4.93-8.07c3.44-2.09,9.42-2.69,17.94-1.79v-3.14l6.73-4.93h6.28
c1.64-2.84,3.89-5.16,6.73-6.95h1.35v-4.93l3.59-3.14h1.35l-1.35-6.73h-4.93l-3.59-3.14v-3.14c-5.08-2.24-12.71-4.93-22.87-8.07
l-8.07-6.73l-1.35-6.73l1.35-8.07l3.59-3.14l8.07-1.79l6.28,6.73v6.28l3.59,1.79v1.79l1.35,1.35h4.93v3.59l4.93,4.93l8.07,1.35
l4.93,3.14v1.79h1.79l3.14-3.14l-3.14-6.73c4.18-5.23,5.83-10.16,4.93-14.8l-3.14-4.93v-8.07l4.93-8.07l6.28-1.79l5.16,1.79
l3.14,6.73c-2.09,4.64-3.14,11.06-3.14,19.28c0-0.6,0.6,2.69,1.79,9.87l1.35,1.79h3.59l6.28-9.87l8.07-1.79l8.52-9.87l8.07-1.35
l4.93,4.93v3.14l3.14,4.93v4.93l-4.93,4.93h-4.93l-3.14-3.14h-3.14l-4.93,6.28l-8.52,1.79l-1.35,4.93l-4.93,3.14v4.93l-6.73,6.73
v3.14l1.79,3.14l4.93,1.79l6.28,6.5v4.93l8.52-1.35l4.93,8.07l3.14,1.79l6.28-1.79l8.52,1.79
C839.51,100.22,840.56,103.95,841.31,108.88z"/>
<g>
<g>
<path class="st2" d="M216.04,139.79v-6.99c5.74,4.42,11.49,6.26,17.74,6.26c7,0,10.6-2.28,10.6-6.55c0-1.99-0.74-4.49-6.41-5.96
l-9.94-2.5c-8.54-2.21-11.93-6.26-11.93-11.41c0-6.99,6.41-12,17.3-12c7,0,12,2.06,15.83,4.64v6.99
c-3.83-3.02-9.2-5.45-16.05-5.45c-6.77,0-10.16,2.28-10.16,5.67c0,2.72,2.28,4.42,7.58,5.67l9.5,2.28
c6.92,1.69,11.41,5.23,11.41,11.71c0,7.88-6.7,13.18-17.38,13.18C227.68,145.31,221.27,143.55,216.04,139.79z"/>
<path class="st2" d="M256.28,122.71c0-12,8.25-22.09,22.01-22.09c12.15,0,19.58,6.99,19.58,19.22v4.12h-34.31
c0.59,9.28,7.07,14.8,17.08,14.8c6.41,0,12.22-2.65,15.83-5.82v6.7c-4.2,3.46-10.53,5.67-16.86,5.67
C265.85,145.31,256.28,136.11,256.28,122.71z M291.18,118.59c-0.37-7.36-5.15-11.41-13.18-11.41c-8.17,0-13.03,4.79-14.21,11.41
H291.18z"/>
<path class="st2" d="M306.54,102.24h7.07v9.72c2.14-6.99,6.48-10.45,11.71-10.45c2.28,0,4.12,0.59,5.67,1.77v7.14
c-1.77-1.4-4.05-2.13-6.85-2.13c-5.89,0-10.45,4.86-10.53,13.91v22.01h-7.07V102.24z"/>
<path class="st2" d="M334.38,102.24h7.66l14.72,33.79l14.72-33.79h7.44l-18.85,41.97h-6.77L334.38,102.24z"/>
<path class="st2" d="M379.99,122.71c0-12,8.25-22.09,22.01-22.09c12.15,0,19.58,6.99,19.58,19.22v4.12h-34.31
c0.59,9.28,7.07,14.8,17.08,14.8c6.41,0,12.22-2.65,15.83-5.82v6.7c-4.2,3.46-10.53,5.67-16.86,5.67
C389.56,145.31,379.99,136.11,379.99,122.71z M414.89,118.59c-0.37-7.36-5.15-11.41-13.18-11.41c-8.17,0-13.03,4.79-14.21,11.41
H414.89z"/>
<path class="st2" d="M430.25,102.24h7.07v9.72c2.14-6.99,6.48-10.45,11.71-10.45c2.28,0,4.12,0.59,5.67,1.77v7.14
c-1.77-1.4-4.05-2.13-6.85-2.13c-5.89,0-10.45,4.86-10.53,13.91v22.01h-7.07V102.24z"/>
<path class="st2" d="M482.67,102.24h7.07v9.72c2.14-6.99,6.48-10.45,11.71-10.45c2.28,0,4.12,0.59,5.67,1.77v7.14
c-1.77-1.4-4.05-2.13-6.85-2.13c-5.89,0-10.45,4.86-10.53,13.91v22.01h-7.07V102.24z"/>
<path class="st2" d="M509.85,122.93c0-12.59,8.98-22.31,22.31-22.31c13.47,0,22.31,9.72,22.31,22.31
c0,12.52-8.83,22.38-22.31,22.38C518.83,145.31,509.85,135.45,509.85,122.93z M532.15,138.76c9.35,0,15.09-6.77,15.09-15.83
c0-9.13-5.74-15.76-15.09-15.76c-9.35,0-15.09,6.63-15.09,15.76C517.06,131.99,522.8,138.76,532.15,138.76z"/>
<path class="st2" d="M562.7,91.2h6.92v53.01h-6.92V91.2z"/>
<path class="st2" d="M577.75,122.71c0-12,8.25-22.09,22.01-22.09c12.15,0,19.58,6.99,19.58,19.22v4.12h-34.31
c0.59,9.28,7.07,14.8,17.08,14.8c6.41,0,12.22-2.65,15.83-5.82v6.7c-4.2,3.46-10.53,5.67-16.86,5.67
C587.32,145.31,577.75,136.11,577.75,122.71z M612.65,118.59c-0.37-7.36-5.15-11.41-13.18-11.41c-8.17,0-13.03,4.79-14.21,11.41
H612.65z"/>
<path class="st2" d="M625.62,139.79v-6.99c5.74,4.42,11.49,6.26,17.74,6.26c7,0,10.6-2.28,10.6-6.55c0-1.99-0.74-4.49-6.41-5.96
l-9.94-2.5c-8.54-2.21-11.93-6.26-11.93-11.41c0-6.99,6.41-12,17.3-12c7,0,12,2.06,15.83,4.64v6.99
c-3.83-3.02-9.2-5.45-16.05-5.45c-6.77,0-10.16,2.28-10.16,5.67c0,2.72,2.28,4.42,7.58,5.67l9.5,2.28
c6.92,1.69,11.41,5.23,11.41,11.71c0,7.88-6.7,13.18-17.38,13.18C637.25,145.31,630.85,143.55,625.62,139.79z"/>
</g>
<g>
<path d="M210.65,74.37c-6.23,24.85-12.47,30.53-22.92,30.53c-5.04,0-8.8-3.03-8.8-6.97c0-3.03,1.65-4.95,4.49-4.95
c5.13,0,2.75,6.42,7.52,6.42c2.84,0,5.32-3.21,6.51-7.98l13.29-51.62h-8.8l1.19-4.22h8.71c5.41-21.91,12.56-30.62,22.1-30.62
c7.15,0,12.38,3.39,12.38,7.89c0,2.75-1.65,5.04-4.4,5.04c-7.06,0-3.03-8.8-8.8-8.8c-4.86,0-9.72,11.09-12.84,26.5h9.26
l-1.28,4.22h-8.99L210.65,74.37z"/>
<path d="M258.33,68.87c-5.23,8.62-12.01,13.11-19.62,13.11c-8.34,0-13.11-5.5-13.11-14.95c0-16.87,15.4-35.48,29.34-35.48
c5.87,0,10,3.3,10,7.98c0,8.53-13.66,18.7-29.98,22.37c-0.27,1.74-0.37,3.39-0.37,5.04c0,6.51,2.48,9.99,7.06,9.99
c4.49,0,9.63-3.76,13.75-9.99L258.33,68.87z M235.87,57.78c11.74-3.21,20.45-10.73,20.45-18.06c0-2.57-1.1-3.85-3.21-3.85
C246.69,35.86,238.98,46.59,235.87,57.78z"/>
<path d="M329.48,38.98c0-1.93-0.55-2.66-1.83-2.66c-3.3,0-7.98,4.68-13.2,13.02c-3.76,5.96-5.5,10.27-13.02,31.72h-8.62
l6.05-18.43c5.13-15.59,6.6-20.72,6.6-23.29c0-1.93-0.83-3.03-2.29-3.03c-4.86,0-14.49,12.29-18.8,23.93l-7.7,20.81h-8.07
l6.79-21c4.58-14.3,5.78-18.52,5.78-20.91c0-1.65-0.55-2.57-1.56-2.57c-2.66,0-7.43,6.97-10.09,14.76l-2.75-1.38
c4.31-12.47,9.54-18.43,16.32-18.43c3.94,0,5.41,2.02,5.41,7.15c0,2.93-0.46,5.59-1.56,8.44l0.28,0.27
c5.59-10.45,11.74-15.86,18.06-15.86c4.77,0,7.61,3.12,7.61,8.16c0,1.74-0.37,3.48-1.56,7.79l0.18,0.27
c6.88-11.64,12.1-16.23,18.52-16.23c4.77,0,7.15,2.48,7.15,7.98c0,3.48-1.28,7.7-4.58,17.51c-4.22,12.56-4.58,13.94-4.58,16.05
c0,1.28,0.28,1.74,0.92,1.74c1.83,0,5.41-3.39,11.28-10.73l2.38,1.28c-4.13,8.16-13.75,16.6-18.89,16.6
c-3.03,0-4.95-2.84-4.95-7.24c0-3.03,0.92-6.05,7.24-24.21C329.21,41.46,329.48,40.54,329.48,38.98z"/>
<path d="M355.25,50.81c1.74-4.77,2.38-7.61,2.38-9.26s-0.64-2.11-1.28-2.11c-2.57,0-6.97,5.87-7.98,7.79l-2.66-1.65
c2.84-5.5,11.37-14.03,17.7-14.03c3.03,0,4.58,1.56,4.58,6.14c0,3.58-2.38,9.35-5.78,18.71l-3.39,9.26
c-0.46,1.28-1.92,5.41-1.92,7.15c0,1.1,0.55,2.11,1.92,2.11c3.58,0,8.44-7.06,9.81-9.54l2.75,1.56
c-2.93,5.96-10.27,15.04-18.34,15.04c-3.58,0-5.32-1.74-5.32-5.96c0-3.48,1.19-7.24,3.39-13.48L355.25,50.81z M363.05,10.92
c0-3.3,2.48-5.96,5.69-5.96c3.39,0,5.87,2.75,5.87,5.87c0,3.21-2.66,5.68-5.87,5.68C365.7,16.52,363.05,14.22,363.05,10.92z"/>
<path d="M391.49,62.73l-6.79,18.34h-8.07l6.79-21c4.31-13.39,5.78-18.61,5.78-21c0-1.56-0.55-2.48-1.56-2.48
c-2.75,0-7.7,7.34-10.09,14.76l-2.75-1.38c4.31-12.47,9.54-18.43,16.32-18.43c3.94,0,5.41,2.02,5.41,7.24
c0,3.12-0.46,5.78-1.56,8.34l0.28,0.27c6.23-10.91,12.47-15.86,19.99-15.86c5.32,0,8.25,2.66,8.25,7.43
c0,3.21-1.1,7.15-4.86,18.06c-2.84,8.25-4.86,14.12-4.86,16.41c0,0.92,0.27,1.38,0.92,1.38c1.74,0,4.86-2.66,10.45-8.89
l2.38,1.28c-3.94,7.24-13.11,14.76-17.97,14.76c-3.03,0-4.95-2.93-4.95-7.34c0-3.39,0.73-5.68,7.24-24.11
c2.2-6.33,2.84-8.62,2.84-10.82c0-2.29-0.83-3.39-2.48-3.39C406.43,36.32,396.44,49.43,391.49,62.73z"/>
<path d="M440.82,50.81c1.74-4.77,2.38-7.61,2.38-9.26s-0.64-2.11-1.28-2.11c-2.57,0-6.97,5.87-7.98,7.79l-2.66-1.65
c2.84-5.5,11.37-14.03,17.7-14.03c3.03,0,4.58,1.56,4.58,6.14c0,3.58-2.38,9.35-5.78,18.71l-3.39,9.26
c-0.46,1.28-1.92,5.41-1.92,7.15c0,1.1,0.55,2.11,1.92,2.11c3.58,0,8.44-7.06,9.81-9.54l2.75,1.56
c-2.93,5.96-10.27,15.04-18.34,15.04c-3.58,0-5.32-1.74-5.32-5.96c0-3.48,1.19-7.24,3.39-13.48L440.82,50.81z M448.62,10.92
c0-3.3,2.48-5.96,5.69-5.96c3.39,0,5.87,2.75,5.87,5.87c0,3.21-2.66,5.68-5.87,5.68C451.27,16.52,448.62,14.22,448.62,10.92z"/>
<path d="M482.68,31.55c5.87,0,10.27,3.3,10.27,7.89c0,2.57-1.56,4.13-3.94,4.13c-5.59,0-3.85-8.07-8.44-8.07
c-2.66,0-4.77,2.66-4.77,6.05c0,8.16,11.55,13.02,11.55,25.31c0,8.25-7.79,15.13-16.14,15.13c-7.24,0-12.01-3.48-12.01-8.62
c0-3.48,1.83-5.68,4.58-5.68c2.57,0,4.13,1.83,4.49,5.41c0.37,3.94,1.01,4.86,3.76,4.86c4.4,0,7.15-2.84,7.15-7.43
c0-9.9-11.74-13.85-11.74-24.94C467.46,37.51,473.87,31.55,482.68,31.55z"/>
<path d="M515.07,40.08l-7.61,25.21c-1.01,3.3-1.56,5.78-1.65,7.52c0,1.1,0.46,2.11,1.83,2.11c4.31,0,10.36-7.7,12.01-10.45
l2.66,1.56c-4.22,8.34-13.29,15.95-19.25,15.95c-4.22,0-6.05-1.74-6.05-5.96c0-2.38,0.73-6.33,2.84-13.48l6.79-22.46h-7.88
l1.19-4.22h7.98l4.77-15.77h8.44l-4.77,15.77h9.99l-1.28,4.22H515.07z"/>
</g>
<path d="M161.42,122.4c-5.03,20.05-10.06,24.64-18.5,24.64c-4.07,0-7.1-2.44-7.1-5.62c0-2.44,1.33-4,3.62-4
c4.14,0,2.22,5.18,6.07,5.18c2.29,0,4.29-2.59,5.25-6.44L161.5,94.5h-7.1l0.96-3.4h7.03c4.37-17.68,10.14-24.71,17.83-24.71
c5.77,0,9.99,2.74,9.99,6.36c0,2.22-1.33,4.07-3.55,4.07c-5.7,0-2.44-7.1-7.1-7.1c-3.92,0-7.84,8.95-10.36,21.38h7.47l-1.04,3.4
h-7.25L161.42,122.4z"/>
<path d="M200.41,117.96c-4.22,6.95-9.69,10.58-15.83,10.58c-6.73,0-10.58-4.44-10.58-12.06c0-13.61,12.43-28.63,23.68-28.63
c4.74,0,8.07,2.66,8.07,6.44c0,6.88-11.02,15.09-24.19,18.05c-0.22,1.41-0.3,2.74-0.3,4.07c0,5.25,2,8.07,5.7,8.07
c3.62,0,7.77-3.03,11.1-8.07L200.41,117.96z M182.28,109.01c9.47-2.59,16.5-8.66,16.5-14.58c0-2.07-0.89-3.11-2.59-3.11
C191.01,91.32,184.79,99.98,182.28,109.01z"/>
<path d="M258.26,93.84c0-1.55-0.44-2.15-1.48-2.15c-2.66,0-6.44,3.77-10.65,10.51c-3.03,4.81-4.44,8.29-10.51,25.6h-6.95
l4.88-14.87c4.14-12.58,5.33-16.72,5.33-18.79c0-1.55-0.67-2.44-1.85-2.44c-3.92,0-11.69,9.91-15.17,19.31l-6.22,16.79h-6.51
l5.47-16.94c3.7-11.54,4.66-14.95,4.66-16.87c0-1.33-0.44-2.07-1.26-2.07c-2.15,0-5.99,5.62-8.14,11.91l-2.22-1.11
c3.48-10.06,7.69-14.87,13.17-14.87c3.18,0,4.37,1.63,4.37,5.77c0,2.37-0.37,4.51-1.26,6.81l0.22,0.22
c4.51-8.43,9.47-12.8,14.58-12.8c3.85,0,6.14,2.52,6.14,6.59c0,1.41-0.3,2.81-1.26,6.29l0.15,0.22c5.55-9.4,9.77-13.1,14.95-13.1
c3.85,0,5.77,2,5.77,6.44c0,2.81-1.04,6.21-3.7,14.13c-3.4,10.14-3.7,11.25-3.7,12.95c0,1.04,0.22,1.41,0.74,1.41
c1.48,0,4.37-2.74,9.1-8.66l1.92,1.04c-3.33,6.58-11.1,13.39-15.24,13.39c-2.44,0-4-2.29-4-5.84c0-2.44,0.74-4.88,5.85-19.53
C258.04,95.84,258.26,95.1,258.26,93.84z"/>
<path d="M279.53,103.38c1.41-3.85,1.92-6.14,1.92-7.47c0-1.33-0.52-1.7-1.04-1.7c-2.07,0-5.62,4.74-6.44,6.29l-2.15-1.33
c2.29-4.44,9.17-11.32,14.28-11.32c2.44,0,3.7,1.26,3.7,4.96c0,2.89-1.92,7.55-4.66,15.09l-2.74,7.47
c-0.37,1.04-1.55,4.37-1.55,5.77c0,0.89,0.44,1.7,1.55,1.7c2.89,0,6.81-5.7,7.92-7.69l2.22,1.26c-2.37,4.81-8.29,12.13-14.8,12.13
c-2.89,0-4.29-1.41-4.29-4.81c0-2.81,0.96-5.84,2.74-10.88L279.53,103.38z M285.82,71.2c0-2.66,2-4.81,4.59-4.81
c2.74,0,4.74,2.22,4.74,4.74c0,2.59-2.15,4.59-4.74,4.59C287.97,75.71,285.82,73.86,285.82,71.2z"/>
<path d="M309.24,113l-5.47,14.8h-6.51l5.47-16.94c3.48-10.8,4.66-15.02,4.66-16.94c0-1.26-0.44-2-1.26-2
c-2.22,0-6.22,5.92-8.14,11.91l-2.22-1.11c3.48-10.06,7.69-14.87,13.17-14.87c3.18,0,4.37,1.63,4.37,5.85
c0,2.52-0.37,4.66-1.26,6.73l0.22,0.22c5.03-8.8,10.06-12.8,16.13-12.8c4.29,0,6.66,2.15,6.66,5.99c0,2.59-0.89,5.77-3.92,14.58
c-2.29,6.66-3.92,11.39-3.92,13.24c0,0.74,0.22,1.11,0.74,1.11c1.41,0,3.92-2.15,8.43-7.18l1.92,1.04
c-3.18,5.85-10.58,11.91-14.5,11.91c-2.44,0-3.99-2.37-3.99-5.92c0-2.74,0.59-4.59,5.84-19.46c1.78-5.11,2.29-6.95,2.29-8.73
c0-1.85-0.67-2.74-2-2.74C321.3,91.69,313.23,102.27,309.24,113z"/>
<path d="M349.53,103.38c1.41-3.85,1.92-6.14,1.92-7.47c0-1.33-0.52-1.7-1.04-1.7c-2.07,0-5.62,4.74-6.44,6.29l-2.15-1.33
c2.29-4.44,9.17-11.32,14.28-11.32c2.44,0,3.7,1.26,3.7,4.96c0,2.89-1.92,7.55-4.66,15.09l-2.74,7.47
c-0.37,1.04-1.55,4.37-1.55,5.77c0,0.89,0.44,1.7,1.55,1.7c2.89,0,6.81-5.7,7.92-7.69l2.22,1.26c-2.37,4.81-8.29,12.13-14.8,12.13
c-2.89,0-4.29-1.41-4.29-4.81c0-2.81,0.96-5.84,2.74-10.88L349.53,103.38z M355.82,71.2c0-2.66,2-4.81,4.59-4.81
c2.74,0,4.74,2.22,4.74,4.74c0,2.59-2.15,4.59-4.74,4.59C357.97,75.71,355.82,73.86,355.82,71.2z"/>
<path d="M383.72,87.85c4.74,0,8.29,2.66,8.29,6.36c0,2.07-1.26,3.33-3.18,3.33c-4.51,0-3.11-6.51-6.81-6.51
c-2.15,0-3.85,2.15-3.85,4.88c0,6.58,9.32,10.51,9.32,20.42c0,6.66-6.29,12.21-13.02,12.21c-5.85,0-9.69-2.81-9.69-6.95
c0-2.81,1.48-4.59,3.7-4.59c2.07,0,3.33,1.48,3.63,4.37c0.3,3.18,0.81,3.92,3.03,3.92c3.55,0,5.77-2.29,5.77-5.99
c0-7.99-9.47-11.17-9.47-20.12C371.44,92.66,376.62,87.85,383.72,87.85z"/>
<path d="M410.33,94.73l-6.14,20.35c-0.81,2.66-1.26,4.66-1.33,6.07c0,0.89,0.37,1.7,1.48,1.7c3.48,0,8.36-6.22,9.69-8.43
l2.15,1.26c-3.4,6.73-10.73,12.87-15.54,12.87c-3.4,0-4.88-1.41-4.88-4.81c0-1.92,0.59-5.1,2.29-10.88l5.47-18.13h-6.36l0.96-3.4
h6.44l3.85-12.73h6.81l-3.85,12.73h8.06l-1.04,3.4H410.33z"/>
<path d="M458.27,87.85c4.74,0,8.29,2.66,8.29,6.36c0,2.07-1.26,3.33-3.18,3.33c-4.51,0-3.11-6.51-6.81-6.51
c-2.15,0-3.85,2.15-3.85,4.88c0,6.58,9.32,10.51,9.32,20.42c0,6.66-6.29,12.21-13.02,12.21c-5.85,0-9.69-2.81-9.69-6.95
c0-2.81,1.48-4.59,3.7-4.59c2.07,0,3.33,1.48,3.63,4.37c0.3,3.18,0.81,3.92,3.03,3.92c3.55,0,5.77-2.29,5.77-5.99
c0-7.99-9.47-11.17-9.47-20.12C445.99,92.66,451.17,87.85,458.27,87.85z"/>
<path d="M495.15,117.96c-4.22,6.95-9.69,10.58-15.83,10.58c-6.73,0-10.58-4.44-10.58-12.06c0-13.61,12.43-28.63,23.68-28.63
c4.74,0,8.07,2.66,8.07,6.44c0,6.88-11.02,15.09-24.19,18.05c-0.22,1.41-0.3,2.74-0.3,4.07c0,5.25,2,8.07,5.7,8.07
c3.62,0,7.77-3.03,11.1-8.07L495.15,117.96z M477.02,109.01c9.47-2.59,16.5-8.66,16.5-14.58c0-2.07-0.89-3.11-2.59-3.11
C485.75,91.32,479.54,99.98,477.02,109.01z"/>
<path d="M503.29,98.87c2.22-4.96,9.62-11.02,13.54-11.02c2.37,0,3.4,1.7,3.4,5.62c0,1.55-0.15,2.96-0.52,4.88l0.22,0.22
c2.44-5.77,9.1-11.47,13.54-11.47c2.81,0,5.03,2.07,5.03,4.74c0,2.59-1.85,4.44-4.37,4.44c-3.11,0-3.4-2.74-5.18-2.74
c-3.77,0-10.28,10.65-14.65,24.05l-3.33,10.21h-6.88l4.81-15.31c3.77-11.76,4.66-15.17,4.66-17.24c0-1.11-0.37-1.63-1.11-1.63
c-2,0-5.99,3.4-7.25,6.21L503.29,98.87z"/>
<path d="M570.73,92.06c0-2.74,1.33-4.22,3.85-4.22c3.03,0,4.29,2.07,4.29,7.03c0,15.69-12.5,33.66-23.38,33.66
c-5.4,0-9.4-4.44-9.4-10.43c0-5.62,3.18-13.61,8.8-21.68l-0.15-0.22c-5.4,0-6.59-3.85-8.66-3.85c-0.81,0-1.26,0.52-1.26,1.26
c0,1.85,2.59,2.52,2.59,4.88c0,1.78-1.55,3.03-3.7,3.03c-2.52,0-3.99-1.7-3.99-4.51c0-4.88,4.29-9.17,9.17-9.17
c3.92,0,5.11,3.18,8.21,3.18c1.04,0,1.7-0.3,2.52-1.11c2.07-1.85,2.37-2.07,3.55-2.07c0.96,0,1.48,0.44,1.48,1.26
c0,0.81-0.07,0.89-3.03,4.44c-4.51,5.47-7.77,14.35-7.77,21.09c0,5.25,2,8.8,4.88,8.8c5.47,0,13.69-13.24,13.69-22.05
C572.43,97.39,570.73,95.1,570.73,92.06z"/>
<path d="M607.89,117.96c-4.22,6.95-9.69,10.58-15.83,10.58c-6.73,0-10.58-4.44-10.58-12.06c0-13.61,12.43-28.63,23.68-28.63
c4.74,0,8.07,2.66,8.07,6.44c0,6.88-11.02,15.09-24.19,18.05c-0.22,1.41-0.3,2.74-0.3,4.07c0,5.25,2,8.07,5.7,8.07
c3.62,0,7.77-3.03,11.1-8.07L607.89,117.96z M589.76,109.01c9.47-2.59,16.5-8.66,16.5-14.58c0-2.07-0.89-3.11-2.59-3.11
C598.49,91.32,592.28,99.98,589.76,109.01z"/>
<path d="M616.03,98.87c2.22-4.96,9.62-11.02,13.54-11.02c2.37,0,3.4,1.7,3.4,5.62c0,1.55-0.15,2.96-0.52,4.88l0.22,0.22
c2.44-5.77,9.1-11.47,13.54-11.47c2.81,0,5.03,2.07,5.03,4.74c0,2.59-1.85,4.44-4.37,4.44c-3.11,0-3.4-2.74-5.18-2.74
c-3.77,0-10.28,10.65-14.65,24.05l-3.33,10.21h-6.88l4.81-15.31c3.77-11.76,4.66-15.17,4.66-17.24c0-1.11-0.37-1.63-1.11-1.63
c-2,0-5.99,3.4-7.25,6.21L616.03,98.87z"/>
<path d="M661.27,123.51c0-2.96,2.22-5.33,5.1-5.33c3.03,0,5.25,2.44,5.25,5.25c0,2.89-2.37,5.1-5.25,5.1
C663.64,128.54,661.27,126.47,661.27,123.51z"/>
<path d="M680.45,123.51c0-2.96,2.22-5.33,5.1-5.33c3.03,0,5.25,2.44,5.25,5.25c0,2.89-2.37,5.1-5.25,5.1
C682.81,128.54,680.45,126.47,680.45,123.51z"/>
<path d="M699.62,123.51c0-2.96,2.22-5.33,5.1-5.33c3.03,0,5.25,2.44,5.25,5.25c0,2.89-2.37,5.1-5.25,5.1
C701.99,128.54,699.62,126.47,699.62,123.51z"/>
</g>
<g>
<path class="st2" d="M149.77,6.25h7.52v45.65H187v6.99h-37.23V6.25z"/>
<path class="st2" d="M190.05,37.16c0-12.86,9.18-22.79,22.79-22.79c13.76,0,22.79,9.93,22.79,22.79
c0,12.79-9.03,22.87-22.79,22.87C199.23,60.03,190.05,49.95,190.05,37.16z M212.84,53.34c9.55,0,15.42-6.92,15.42-16.17
c0-9.33-5.87-16.1-15.42-16.1c-9.55,0-15.42,6.77-15.42,16.1C197.42,46.42,203.29,53.34,212.84,53.34z"/>
<path class="st2" d="M241.53,46.04c0-7.9,6.47-13.91,16.02-13.91c6.62,0,11.73,2.41,14.52,6.54v-3.99
c0-9.18-6.02-13.61-13.99-13.61c-6.09,0-10.45,2.11-14.14,6.17v-7.45c3.53-2.86,8.27-5.42,15.49-5.42
c11.96,0,19.78,6.84,19.78,19.4V58.9h-7.15v-6.24c-2.93,5.19-8.35,7.67-14.82,7.67C248,60.33,241.53,54.09,241.53,46.04z
M259.96,54.39c7.07,0,12.11-3.84,12.11-8.65c0-4.66-4.66-8.2-11.81-8.2c-7.37,0-11.43,3.53-11.43,8.35
C248.83,50.85,252.89,54.39,259.96,54.39z"/>
<path class="st2" d="M287.5,37.32c0-13.76,9.4-22.94,21.36-22.94c7.9,0,13.46,4.06,16.7,10.38V4.75h7.15V58.9h-7.15v-9.85
c-3.01,6.09-8.72,10.98-17.67,10.98C296,60.03,287.5,50.33,287.5,37.32z M309.91,53.41c9.63,0,15.87-7.22,15.87-16.55
c0-9.1-6.02-15.87-15.64-15.87c-9.4,0-15.27,6.84-15.27,16.17C294.87,46.49,300.74,53.41,309.91,53.41z"/>
<path class="st2" d="M348.01,2.79c2.56,0,4.66,1.96,4.66,4.51s-2.03,4.66-4.66,4.66c-2.71,0-4.74-2.11-4.74-4.66
S345.38,2.79,348.01,2.79z M344.4,16.03h7.15V58.9h-7.15V16.03z"/>
<path class="st2" d="M384.11,21.07c-9.1,0-13.91,6.54-13.91,14.59V58.9h-7.07V16.03h7.07v8.8c3.08-6.99,8.57-10.45,16.1-10.45
c10.83,0,17.37,7.52,17.37,20.46V58.9h-7.15V36.56C396.52,25.96,392.61,21.07,384.11,21.07z"/>
<path class="st2" d="M415.97,68.53v-7.22c4.66,4.29,10.6,6.39,17,6.39c11.88,0,16.7-6.39,16.7-16.25v-4.36
c-3.08,6.54-8.57,11.13-16.92,11.13c-12.33,0-20.91-9.18-20.91-21.59c0-13.16,9.18-22.26,21.36-22.26
c7.97,0,13.09,3.84,16.47,10.3v-8.65h7.07v36.4c0,13.61-9.4,21.89-23.54,21.89C427.41,74.32,420.79,72.59,415.97,68.53z
M434.1,51.68c9.48,0,15.72-6.62,15.72-15.42c0-8.87-6.09-15.34-15.42-15.34c-9.4,0-15.19,6.69-15.19,15.64
C419.21,45.21,425,51.68,434.1,51.68z"/>
<path class="st2" d="M471.94,22.65c2.93,0,5.04,2.18,5.04,5.11c0,3.01-2.11,5.19-5.04,5.19c-3.01,0-5.19-2.26-5.19-5.19
C466.75,24.9,468.93,22.65,471.94,22.65z M466.75,54.84c0-2.86,2.18-5.11,5.19-5.11c2.93,0,5.04,2.18,5.04,5.11
c0,3.01-2.11,5.19-5.04,5.19C468.93,60.03,466.75,57.77,466.75,54.84z"/>
</g>
</g>
<path class="st1" d="M111.83,93.12l-2.74,2.74l-10.19,4.31l-4.31-4.31l-1.18-4.31c-4.44-3.79-8.75-5.22-12.93-4.31l-5.09-2.74
l-3.53-5.49h-1.57l-1.18-1.57v-1.57l-3.14,1.57v7.05l-2.94,5.88V99c0,0.92,0.36,2.58,1.08,5c0.72,2.42,0.95,4.54,0.69,6.37
l-1.76,2.74l1.76,7.05l-6.07,4.31h-4.31l-1.18-1.18h-3.14l-1.18-1.57l-1.57-7.05l4.31-5.88v-7.05l-1.57-1.57h-1.18V99l-3.14-4.31
l1.57-11.36c2.48-2.48,4.44-4.96,5.88-7.45V74.7l-1.57-1.57v-4.31h-1.57l-7.05,8.62h-1.57l-2.74,3.92l-11.36,7.45H21.5l-4.31,5.88
c-2.48,1.44-6.27,1.83-11.36,1.18l-2.74-2.74v-7.05l4.31-7.05c3-1.83,8.23-2.35,15.68-1.57V74.7l5.88-4.31h5.49
c1.44-2.48,3.4-4.51,5.88-6.07h1.18v-4.31l3.14-2.74h1.18l-1.18-5.88h-4.31l-3.14-2.74V45.9c-4.44-1.96-11.1-4.31-19.99-7.05
l-7.05-5.88l-1.18-5.88l1.18-7.05l3.14-2.74l7.05-1.57l5.49,5.88v5.49l3.14,1.57v1.57l1.18,1.18h4.31v3.14l4.31,4.31l7.05,1.18
l4.31,2.74v1.57h1.57l2.74-2.74l-2.74-5.88c3.66-4.57,5.09-8.88,4.31-12.93l-2.74-4.31v-7.05l4.31-7.05l5.49-1.57l4.51,1.57
l2.74,5.88c-1.83,4.05-2.74,9.67-2.74,16.85c0-0.52,0.52,2.35,1.57,8.62l1.18,1.57h3.14l5.49-8.62l7.05-1.57l7.45-8.62l7.05-1.18
l4.31,4.31v2.74l2.74,4.31v4.31l-4.31,4.31H98.9l-2.74-2.74h-2.74l-4.31,5.49l-7.45,1.57l-1.18,4.31l-4.31,2.74v4.31l-5.88,5.88
v2.74l1.57,2.74l4.31,1.57l5.49,5.68v4.31l7.45-1.18l4.31,7.05l2.74,1.57l5.49-1.57l7.45,1.57
C110.26,85.54,111.17,88.81,111.83,93.12z"/>
<path class="st1" d="M842.72,93.12l-2.74,2.74l-10.19,4.31l-4.31-4.31l-1.18-4.31c-4.44-3.79-8.75-5.22-12.93-4.31l-5.09-2.74
l-3.53-5.49h-1.57l-1.18-1.57v-1.57l-3.14,1.57v7.05l-2.94,5.88V99c0,0.92,0.36,2.58,1.08,5c0.72,2.42,0.95,4.54,0.69,6.37
l-1.76,2.74l1.76,7.05l-6.07,4.31h-4.31l-1.18-1.18H781l-1.18-1.57l-1.57-7.05l4.31-5.88v-7.05l-1.57-1.57h-1.18V99l-3.14-4.31
l1.57-11.36c2.48-2.48,4.44-4.96,5.88-7.45V74.7l-1.57-1.57v-4.31H781l-7.05,8.62h-1.57l-2.74,3.92l-11.36,7.45h-5.88l-4.31,5.88
c-2.48,1.44-6.27,1.83-11.36,1.18l-2.74-2.74v-7.05l4.31-7.05c3-1.83,8.23-2.35,15.68-1.57V74.7l5.88-4.31h5.49
c1.44-2.48,3.4-4.51,5.88-6.07h1.18v-4.31l3.14-2.74h1.18l-1.18-5.88h-4.31l-3.14-2.74V45.9c-4.44-1.96-11.1-4.31-19.99-7.05
l-7.05-5.88l-1.18-5.88l1.18-7.05l3.14-2.74l7.05-1.57l5.49,5.88v5.49l3.14,1.57v1.57l1.18,1.18h4.31v3.14l4.31,4.31l7.05,1.18
l4.31,2.74v1.57h1.57l2.74-2.74l-2.74-5.88c3.66-4.57,5.09-8.88,4.31-12.93l-2.74-4.31v-7.05l4.31-7.05l5.49-1.57l4.51,1.57
l2.74,5.88c-1.83,4.05-2.74,9.67-2.74,16.85c0-0.52,0.52,2.35,1.57,8.62l1.18,1.57h3.14l5.49-8.62l7.05-1.57l7.45-8.62l7.05-1.18
l4.31,4.31v2.74l2.74,4.31v4.31l-4.31,4.31h-4.31l-2.74-2.74h-2.74l-4.31,5.49l-7.45,1.57l-1.18,4.31l-4.31,2.74v4.31l-5.88,5.88
v2.74l1.57,2.74l4.31,1.57l5.49,5.68v4.31l7.45-1.18l4.31,7.05l2.74,1.57l5.49-1.57l7.45,1.57
C841.16,85.54,842.07,88.81,842.72,93.12z"/>
</svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@ -0,0 +1,91 @@
var responses = {
"zombie": {
screen: "Definition: A child process whose parent has been terminated, causing the memory and resources that were allocated to it to be removed so they can be used for ongoing processes, but whose exit status hasn't been read.",
paper: "Which past event still takes up space in your mind?",
},
"kill": {
screen: "Definition: Sending a signal to end an ongoing process, using its name instead of its number.",
paper: "Define a negative thought and ask it to stop.",
},
"server": {
screen: "Definition: A computer providing a service via network, managing resources, processing requests, and running services to meet the needs of its clients, i.e. other computers.",
paper: "Give what someone asks for only when they use the right words.",
},
"ghost": {
screen: "Definition: An image of a system that prevents system files from missing and helps data recovery.",
paper: "Give something that represents you to someone you care about.",
},
"parent": {
screen: "Definition: When a process creates a new process it is called a parent. For example, if you were to start a process and then this would divide into two (like a fork), the initial process would be the parent and the subsequent the child.",
paper: "Formulate an idea and let it spread. Congratulations, you are a parent now.",
},
"interrupt": {
screen: "Definition: An event that changes the order in which instructions for a process are executed, altering the flow of a program.",
paper: "Distract someone for a second.",
},
"client": {
screen: "Definition: The device or program that requests a service provided by the server.",
paper: "Go to the kitchen and ask for food.",
},
"nice": {
screen: "Alter the priority of a process by invoking the command. The lower the niceness, the higher the priority.",
paper: "Next time you're asked to do something, do something more important first.",
},
"echo": {
screen: "Definition: Display lines of text, just to see the terminal talking back to you, or to output the status of an ongoing process.",
paper: "Choose a sentence you hear in the room and repeat it.",
},
"alias": {
screen: "Definition: Give a less complicated, shorter, or more familiar name to a command (or a string of commands); for example, changing 'echo' to 'say' because it makes more sense to you.",
paper: "Choose one of your complex thoughts and give it a simple name.",
},
"less": {
screen: "Definition:Displays a text one page at a time, and saves resources.",
paper: "Take a snack, break it in smaller bites and eat it slowly.",
},
"tail": {
screen: "Definition: A command-line utility that prints data from the end of a specified file or files to standard output.",
paper: "Ask a friend what they were doing right a moment ago.",
},
"touch": {
screen: "Definition: A command used to create an empty file or change the timestamp of an already existing one. It is like opening a file, making no changes and saving it. This can be useful for backup utilities which typically look at files that have been opened since the last time the program was run.",
paper: "Go to the library. Don't touch anything but mark the time.",
},
"history": {
screen: "Definition: A list of used commands that can be easily reused.",
paper: "Go to the kitchen and make a list of the latest cliensts' requests.",
},
"uname": {
screen: "Definition:Displays the operating system name ('you name') as well as the system node name, operating system release, operating system version, hardware name, and processor type.",
paper: "Ask someone to describe themselves in a few words.",
},
"which": {
screen: "Definition: Find the location of executables (tasks performed following encoded instructions). This could be useful while trying to look at the path a certain executable has taken to standard output.",
paper: "Take a look at the info you received at the entrance and locate the library.",
},
"shred": {
screen: "Definition: Overwriting and erasing what you no longer need in a way that makes it unrecoverable.",
paper: "Rip this paper until no one can read it.",
}
};
function getResponse(keyword) {
var responseObj = responses[keyword.toLowerCase()];
if (responseObj) {
return responseObj;
} else {
return {
screen: "I'm not sure how to respond. Change your approach.",
paper: "Unknown",
};
}
}
function handleInput() {
var userInput = document.getElementById("user_input").value.trim();
var response = getResponse(userInput);
document.getElementById("output").innerText = response.screen;
console.log("Paper: " + userInput);
}

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Loading: Feminist Server ...</title>
<link rel="stylesheet" href="assets/css/stylesheet.css">
<link rel="stylesheet" href="assets/css/fonts.css">
<link rel="stylesheet" type="text/css" href="https://issue.xpub.nl/23/quilt/quilt.css">
@ -13,21 +14,25 @@
<div class="columns">
<div class="column column-left">
<p class="intro-text">Here could be a very short introduction/instruction.</p>
<p class="intro-text">
1. Pick up a card (and feel free to keep it afterwards). </br>
2. Insert the single word you see in the bar below. </br>
3. Get the printed response and execute the request. </br>
</p>
<div class="command-bar">
<input class="command-line" type="text" placeholder="enter command ...">
<button class="command-button" type="image">
<input id="user_input" class="command-line" type="text" placeholder="enter command ...">
<button class="command-button" type="image" onclick="handleInput()">
<img class="button-arrow" src="assets/img/arrow.svg"></img>
</button>
</div>
<div class="literal-function-container">
<div class="quotationmark-up-container">
<!-- <div class="quotationmark-up-container">
<img class="quotationmark-up" src="assets/img/quotationmark-up.svg"></img>
</div>
<p class="literal-function-text">A child process whose parent has been terminated, causing the memory and resources that were allocated to it to be removed so they can be used for ongoing processes.</p>
<div class="quotationmark-down-container">
</div> -->
<div id="output" class="literal-function-text"></div>
<!-- <div class="quotationmark-down-container">
<img class="quotationmark-down" src="assets/img/quotationmark-down.svg"></img>
</div>
</div> -->
</div>
</div>
@ -39,5 +44,7 @@
</div>
</div>
</body>
<script src="assets/js/script.js"></script>
</html>
Loading…
Cancel
Save