Skip to content

Commit 95040f5

Browse files
fturmelshiffmankfahn22
authored
Challenge 73 - Acrostic (#1671)
* challenge 73 * update source code link * update acrostic challenge content and image * update the "Programming from A to Z" links to use the archived version of `shiffman.net` * Update code link. * Add code image * Use same code image for original code example --------- Co-authored-by: Daniel Shiffman <[email protected]> Co-authored-by: Kathy <[email protected]>
1 parent 22b5b7a commit 95040f5

File tree

7 files changed

+111
-4
lines changed

7 files changed

+111
-4
lines changed

content/videos/challenges/42-markov-chain-name-generator/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
{
128128
"icon": "💻",
129129
"title": "Programming from A to Z - Markov Chains",
130-
"url": "https://shiffman.net/a2z/markov/",
130+
"url": "https://shiffman-archive.netlify.app/a2z/markov/",
131131
"description": "Webpage with material from my \"Programming from A to Z\" course."
132132
}
133133
]
Loading
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"title": "Acrostic",
3+
"description": "In this coding challenge, I create an acrostic generator with the Wordnik API and p5.js. This challenge is part of my \"Programming with Text\" series.",
4+
"videoNumber": "73",
5+
"videoId": "jwoK5WKVXGw",
6+
"date": "2017-09-11",
7+
"languages": ["p5.js", "JavaScript"],
8+
"topics": ["Wordnik API", "acrostic", "text", "DOM elements", "poetry"],
9+
"canContribute": true,
10+
"relatedChallenges": ["37-diastic-machine", "84-word-definition-chrome-extension"],
11+
"timestamps": [
12+
{ "time": "0:00", "title": "Introduction" },
13+
{ "time": "0:25", "title": "What is an acrostic?" },
14+
{ "time": "2:45", "title": "On to the code" },
15+
{ "time": "3:00", "title": "Creating HTML DOM elements" },
16+
{ "time": "4:15", "title": "noCanvas()" },
17+
{ "time": "5:10", "title": "Selecting DOM elements with the p5.js select() function" },
18+
{ "time": "6:47", "title": "Writing the mousePressed() button handler" },
19+
{ "time": "7:19", "title": "Getting the word from the input element" },
20+
{ "time": "8:46", "title": "Creating a div element for each letter" },
21+
{ "time": "10:16", "title": "Using the Wordnik API to get a list of words" },
22+
{ "time": "17:18", "title": "Get a list of words for each letter" },
23+
{ "time": "18:09", "title": "Dealing with async requests and out-of-order responses" },
24+
{ "time": "20:26", "title": "Picking random words from the lists" },
25+
{ "time": "22:01", "title": "Put the words in the correct divs" },
26+
{ "time": "25:24", "title": "Wrapping up and variation ideas" }
27+
],
28+
"codeExamples": [
29+
{
30+
"title": "Updated source code",
31+
"description": "An updated version of the challenge using the Datamuse API.",
32+
"image": "img.jpg",
33+
"urls": {
34+
"p5": "https://editor.p5js.org/codingtrain/sketches/48yinqNpT"
35+
}
36+
},
37+
{
38+
"title": "Original source code",
39+
"description": "Note that the Wordnik 'word search' API endpoint is not currently available.",
40+
"image": "img.jpg",
41+
"urls": {
42+
"p5": "https://github.com/CodingTrain/Coding-Challenges/tree/main/073_Acrostic/P5"
43+
}
44+
}
45+
],
46+
"groupLinks": [
47+
{
48+
"title": "References",
49+
"links": [
50+
{
51+
"icon": "🔗",
52+
"title": "ECMAScript on Wikipedia",
53+
"url": "https://en.wikipedia.org/wiki/ECMAScript"
54+
},
55+
{
56+
"icon": "🔗",
57+
"title": "Fun Fun Function YouTube Channel",
58+
"url": "https://www.youtube.com/@funfunfunction"
59+
},
60+
{
61+
"icon": "🔗",
62+
"title": "Wordnik",
63+
"url": "https://www.wordnik.com/"
64+
},
65+
{
66+
"icon": "🔗",
67+
"title": "Datamuse word search API",
68+
"url": "https://www.datamuse.com/api/"
69+
},
70+
{
71+
"icon": "🔗",
72+
"title": "Acrostic on Wikipedia",
73+
"url": "https://en.wikipedia.org/wiki/Acrostic"
74+
},
75+
{
76+
"icon": "🔗",
77+
"title": "Programming from A to Z course",
78+
"url": "https://shiffman-archive.netlify.app/a2z/"
79+
},
80+
{
81+
"icon": "🔗",
82+
"title": "Visual Studio Code",
83+
"url": "https://code.visualstudio.com/download"
84+
}
85+
]
86+
},
87+
{
88+
"title": "Videos",
89+
"links": [
90+
{
91+
"icon": "🎥",
92+
"title": "FunFunFunction's video on let/var/const",
93+
"url": "https://youtu.be/sjyJBL5fkp8"
94+
},
95+
{
96+
"icon": "🎥",
97+
"title": "My Video on Closures",
98+
"url": "https://youtu.be/-jysK0nlz7A"
99+
}
100+
]
101+
}
102+
],
103+
"credits": [
104+
{ "title": "Editing", "name": "Mathieu Blanchette" },
105+
{ "title": "Animations", "name": "Jason Heglund" }
106+
]
107+
}
90.1 KB
Loading

content/videos/challenges/82-image-chrome-extension/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
{
4242
"icon": "🔤",
4343
"title": "Programming from A to Z",
44-
"url": "https://shiffman.net/a2z/",
44+
"url": "https://shiffman-archive.netlify.app/a2z/",
4545
"description": "This course focuses on programming strategies and techniques behind procedural analysis and generation of text-based data."
4646
},
4747
{

content/videos/challenges/83-p5-sketch-chrome-extension/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{
3939
"icon": "🔤",
4040
"title": "Programming from A to Z",
41-
"url": "https://shiffman.net/a2z/",
41+
"url": "https://shiffman-archive.netlify.app/a2z/",
4242
"description": "This course focuses on programming strategies and techniques behind procedural analysis and generation of text-based data."
4343
},
4444
{

content/videos/challenges/84-word-definition-chrome-extension/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
{
5858
"icon": "🔤",
5959
"title": "Programming from A to Z",
60-
"url": "https://shiffman.net/a2z/",
60+
"url": "https://shiffman-archive.netlify.app/a2z/",
6161
"description": "This course focuses on programming strategies and techniques behind procedural analysis and generation of text-based data."
6262
},
6363
{

0 commit comments

Comments
 (0)