-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVerseBox.js
More file actions
91 lines (87 loc) · 6.11 KB
/
Copy pathVerseBox.js
File metadata and controls
91 lines (87 loc) · 6.11 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
console.log("Welcome to VerseBox: My JWB Bible Verse Storage");
console.log("By @JwBZx");
console.log("(You can view this Project on GitHub at github.com/JwBZx/VerseBox)");
// I hope that you like this Project! Hopefully my accountability partner Justin will like it as well haha :P
var justinVerses = false;
var sevenNineVerses = false;
var favoriteVerses = false;
// Introduction:
console.log("Welcome to VerseBox! This a simple JavaScript Application that stores all of the Bible Verses I have in my real life Verse Box!");
console.log("In this app, you can view the Verses my accountability partner Justin has given me, or you can view the verses I have gotton from 7-9, a Bible Study group I am in!");
console.log("If you want to view my verses from Justin, type 'JUSTIN' in the prompt box below.");
console.log("If you want to view my verses from 7-9, type 'SEVENNINE' in the prompt box below.");
console.log("Thank You for checking out this application! I hope you like it!");
console.log("Thank You and God Bless!");
console.log("---Jonathan Bruce (@JwBZx)");
// The Starting Block (Prompts):
prompt("So, what verses do you want to view? Type either 'JUSTIN' or 'SEVENNINE'");
if(prompt = "justin".toUppercase) {
var justinVerses = true;
console.log("Okay sweet! Let's look at the verses I got from Justin!");
} else if(prompt = "sevennine".toUppercase) {
var sevenNineVerses = true;
console.log("Okay sweet! Let's look at the verses I got from 7-9!");
}
// My Justin Verses:
console.log("Here are the verses I have gotton from Justin: [To view the full verse, type the verse name as instructed below]");
console.log("2 Timothy 1:7 [Type 'TWOTIMOTHY']");
console.log("Hebrews 4:12 [Type 'HEBREWSFOUR']");
console.log("Acts 20:26-27 [Type 'ACTSTWENTY']");
console.log("1 John 1:6-7 [Type 'FIRSTJOHNSIX']");
console.log("Luke 14:23 [Type 'LUKEFOURTEEN']");
console.log("1 Corinthians 1:30 [Type 'FIRSTCORINTHIANSONETHIRTY']");
prompt("So which verse do you want to view? Type the word inside of the brackets to view that particular verse.");
if(prompt = "twotimothy".toUppercase) {
console.log("2 Timothy 1:7: 'For the spirit God gave us does not make us timid, but gives us power, love, and seld-discipline'.");
} else if(prompt = "hebrewsfour".toUppercase) {
console.log("Hebrews 4:12: 'For the Word of God is alive and acive. Sharper than any double-edged sword; it penetrates even to dividing soul and spirit, joints & marrow; it judges the thoughts and attitudes of the heart'.");
} else if(prompt = "actstwenty".toUppercase) {
console.log("Acts 20:26-27: 'Therefore, I declare to you today that I am innocent of the blood of everyone. For I have not hesitated to proclaim to you the whole will of God'.");
} else if(prompt = "firstjohnsix".toUppercase) {
console.log("1 John 1:6-7: 'If we claim to have fellowship with Him and yet walk in the darkness, we lie and do not live out the truth. But if we walk in the light, as He is in the light, we have fellowship with one another, and the blood of Jesus, His Son, purifies us from all sin'.");
} else if(prompt = "lukefourteen".toUppercase) {
console.log("Luke 14:23: 'Then the master told his servant, go out to the roads and country lanes and compel them to come in, so that my house will be full'.");
} else if(prompt = "firstcorinthiansonethirty".toUppercase) {
console.log("1 Corinthians 1:30: 'It is because of him that you are in Christ Jesus, who has become for us wisdom from God-that is, our righteousness, holiness, and redemption'.");
}
// My 7-9 Verses:
console.log("Here are the verses I have gotton from 7-9: [To view the full verse, type the verse name as instructed below]");
console.log("Psalms 145:9 [Type 'PSALMSONEFOUR']");
console.log("Psalms 118:24 [Type 'PSALMSONEEONE']");
console.log("James 1:17 [Type 'JAMESONE']");
console.log("Psalms 117: [Type 'PSALMSONESEVENTEEN']");
prompt("So which verse do you want to view? Type the word inside of the brackets to view that particular verse.");
if(prompt = "psalmsonefour".toUppercase) {
console.log("Psalms 145:9: 'The Lord is good to all'.");
} else if(prompt = "psalmsoneone".toUppercase) {
console.log("Psalms 118:24: 'This is the day the Lord has made. Let us rejoice and be glad in it'.");
} else if (prompt = "jamesone".toUppercase) {
console.log("James 1:17: 'Every good gift and every perfect gift is from above'.");
} else if (prompt = "psalmsoneseventeen".toUppercase) {
console.log("Psalms 117: 'Praise the Lord, all nations! Extol him, all peoples! For great is his steadfast love toward us, and the faithfulness of the Lord endures forever. Praise the Lord!'.");
} else {
console.log("Oops! It didn't work...Try typing in one of the words inside the brackets above to view the full verse!");
}
// My Favorite Verses:
console.log("Here are some of my favorite verses that are not in my Verse Box! [To view the full verse, type the verse name as instructed below]");
console.log("1 Corinthians 10:13 [Type 'CORINTHIANSTEN']");
console.log("Romans 8:1 [Type 'ROMANSEIGHTONE']");
prompt("So which verse do you want to view? Type the word inside of the brackets to view that particular verse.");
// The Finish Line (End):
console.log("Well, that is the end of this app! I hope you liked it!");
console.log("You can view this project on GitHub at github.com/JwBZx/VerseBox");
console.log("If you want to offer any suggestions and comments, you can open an issue on this project on GitHub.");
console.log("Thank You and God Bless!");
console.log("---Jonathan Bruce (@JwBZx)");
// Call to Action (The Afterparty):
console.log("If you want to submit any Bible Verses that you want to see in this app,");
console.log("all you need to do is open up an Issue on GitHub at github.com/JwBZx/VerseBox.");
console.log("If you want to add a story of why you like this verse, that would be cool as well!");
console.log("Thank You for helping make this app better, and for doing it for the Glory of God!");
console.log("Thank You and God Bless!");
// My JWB Links and Stuff:
console.log(" ");
console.log("My JWB GitHub: github.com/JwBZx");
console.log("My JWB Tumblr: jwbzx.tumblr.com");
console.log("My Company's Website: soderminal.weebly.com");
console.log("My Company's Tumblr: soderminal.tumblr.com");