-
Notifications
You must be signed in to change notification settings - Fork 0
/
lifeStates.js
87 lines (81 loc) · 2.39 KB
/
lifeStates.js
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
let main = document.querySelector('main')
let lifeEvents =[
"👶 Be born",
"🚶 Take first steps",
"📣 Say first words",
"👨🏫 Learn to read",
"🤗 Make a friend",
"🚴 Learn to ride a bike",
"📗 Read a book",
"💓 Subscribed WebPath",
"🏊 Learn to swim",
"🏫 Finish elementary school",
"⚽ Play a sport",
"🛫 Fly in a plane",
"🛥️ Ride a boat",
"🚆 Ride in a train",
"🚁 Ride a helicopter",
"🌊 See the ocean",
"❄️ See snow",
"☃️ Make a snowman",
"🏫 Finish middle school",
"🎶 Go to a concert",
"🏕️ Go camping",
"🎢 Ride a rollercoaster",
"🎻 Play an instrument",
"💋 Get kissed",
"💳 Get a credit card",
"🚘 Start driving",
"🗺️ Go on a roadtrip",
"🗾 Visit another country",
"🎤 Give a speech",
"🏫 Graduate high school",
"🌐 Learn another language",
"💸 Invest some money",
"📷 Meet an idol",
"😩 Make a terrible mistake",
"🏆 Win a trophy",
"⛰️ Climb a mountain",
"🎽 Run a marathon",
"🍳 Learn to cook",
"🔦 Explore a cave",
"🌋 See a volcano",
"🎓 Graduate college",
"💕 Have a long relationship",
"🖊️ Sign a contract",
"🏢 Get a job",
"☝️ Get promoted",
"💵 Get a paycheck",
"🔥 Get fired",
"📰 Get in the news",
"🗳️ Vote in an election",
"🤡 Switch careers",
"🏠 Buy a house",
"💍 Get engaged",
"👰 Get married",
"👶 Have a kid",
"🚶 Teach your kid to walk",
"📣 Teach your kid to talk",
"🎓 Watch your kid graduate",
"👰 Watch your kid get married",
"👴 Become a grandparent",
"🏖️ Retire",
"📔 Tell your grandkid a story",
"🌑 See a solar eclipse",
"🌷 Plant a garden",
"🌎 Travel the world",
"🎂 Turn 100",
"✔️ Complete Life Checklist",
]
lifeEvents.forEach((e,i)=>{
let section = document.createElement('section')
let input = document.createElement('input')
let label = document.createElement('label')
input.type = "checkbox"
input.id = i
label.setAttribute('for', i)
label.textContent = e
section.append(input)
section.append(label)
main.append(section)
})