forked from muziejus/javascripting-english-major-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscriptsOLD.js
More file actions
39 lines (35 loc) · 1.22 KB
/
Copy pathscriptsOLD.js
File metadata and controls
39 lines (35 loc) · 1.22 KB
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
29
30
31
32
33
34
35
36
37
38
39
let linguistic;
linguistic = prompt("Does your message use text?", "Type yes or no here.");
if ( linguistic === "yes" ) {
$("#response").html("Your message is linguistic.");
} else {
$("#response").html("Your message is not linguistic.");
}
let literal;
literal = prompt("Is your message literal?", "Type yes or no here.");
if ( literal === "yes" ) {
$("#response").html("Your message is denoted.");
} else {
$("#response").html("Your message is not literal.");
}
let symbolic;
symbolic = prompt("Is your message symbolic?", "Type yes or no here.");
if ( symbolic === "yes" ) {
$("#response").html("Your message is connoted.");
} else {
$("#response").html("Your message is not symbolic.");
}
let anchor;
anchor = prompt("Does your message use text with the image to create a general meaning?", "Type yes or no here.");
if ( anchor === "yes" ) {
$("#response").html("Your message is anchored.");
} else {
$("#response").html("Your message is not unclear.");
}
let relay;
relay = prompt("Does your message use an image and text to convey meaning?", "Type yes or no here.");
if ( anchor === "yes" ) {
$("#response").html("Your message is relayed.");
} else {
$("#response").html("Your message could use some more work.");
}