Suesa's Adventures in Programming - Part 4/? - Half way through the basics by suesa-random

View this thread on steempeak.com
· @suesa-random · (edited)
$9.38
Suesa's Adventures in Programming - Part 4/? - Half way through the basics
![](https://cdn.pixabay.com/photo/2015/05/16/14/15/moon-769918_960_720.jpg)
<sub>By yeniguel on pixabay.com</sub>

---
<center>![Half way through.PNG](https://files.steempeak.com/file/steempeak/suesa-random/XJkrWTCV-Half20way20through.PNG)</center>

It's been a bit over a week since I started my "Introduction To JavaScript" course on Codecademy, and as of today, I'm 50% done. I'm a lot faster than I had anticipated, but I think that's partially this way because SML taught me certain basics that apply to JS too. Yay! Those weeks crying over math were not wasted!

Anyway, what did it teach me after [my last post](https://steempeak.com/programming/@suesa-random/suesa-s-adventures-in-programming-part-3-first-steps-in-javascript) about it?

I wrote a short rock/scissors/paper game (yes, it is important to insult the user if you want to test if your code works):

<center>![It's a tie.png](https://files.steempeak.com/file/steempeak/suesa-random/0zRyyVNL-Its20a20tie.png)</center>
<center>![owned by ai.png](https://files.steempeak.com/file/steempeak/suesa-random/zb0oOtps-owned20by20ai.png)
![You won.png](https://files.steempeak.com/file/steempeak/suesa-random/Ee53RP40-You20won.png)</center>

With ... cheats:

<center>![Da bomb.png](https://files.steempeak.com/file/steempeak/suesa-random/FDhsOHTc-Da20bomb.png)</center>

I also figured out why my plants always die, seems like it is never Wednesday when I check ...

<center>![Plant needs water.PNG](https://files.steempeak.com/file/steempeak/suesa-random/ddnSNW1E-Plant20needs20water.PNG)</center>

I don't understand why people keep asking me how to best take care of their plants, just because I am a biologist. All my plants have died. All of them. A slow, cruel, death.


I also learned about arrays, in the form of a list of chores. I might have gotten something mixed up here tho.

<center>![chores.PNG](https://files.steempeak.com/file/steempeak/suesa-random/BaKqCpSq-chores.PNG)</center>

Arrays are also great to imitate "Dory" from "Finding Nemo". Remember her? She knows how to speak with whales. Well, with my code, you can too! Just 20 Steem!

<center>![whale speak.PNG](https://files.steempeak.com/file/steempeak/suesa-random/Fw6ITw6j-whale20speak.PNG)</center>

There were more exercises, of course. The lessons are quite extensive, and I like how gamified the whole thing is, albeit a little bit expensive.

My most recent "mini-project" was a program that's supposed to replace @rhondak as an editor :P

That's the output:

<center>![Your story contains.png](https://files.steempeak.com/file/steempeak/suesa-random/xaTkqrzt-Your20story20contains.png)</center>

However, coding it didn't go as smoothly as expected, because the instructions Codecademy gave me where, honestly, overly complicated. So I did it my way. Fuck the police.

<center>![Fuck the police.png](https://files.steempeak.com/file/steempeak/suesa-random/gL3Tl92E-Fuck20the20police.png)</center>

Just for shits and giggles, I added some more info to the output text. Here's the whole code:

<center>![Improve your text.PNG](https://files.steempeak.com/file/steempeak/suesa-random/A1XohHQZ-Improve20your20text.PNG)</center>

And because I'm [~~Marcell D'Avis~~](https://youtu.be/5jpluWjJuL0?t=5)* Suesa and because having a 16h/week lab job, being COO at Utopian, overseeing the steemSTEM honor members, moderating steem.chat #general, writing occasional Steem posts, going to the gym 5 times a week, and learning JavaScript does not use me to full capacity, I have also started learning Irish.

Suesa out.

![grafik.png](https://files.steempeak.com/file/steempeak/suesa-random/oDAta7c0-grafik.png)

---
---
*This is a joke for the Germans.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 21 others
properties (23)
post_id70,582,562
authorsuesa-random
permlinksuesa-s-adventures-in-programming-part-4-half-way-through-the-basics
categorycoding
json_metadata{"community":"steempeak","app":"steempeak\/1.7.2b","format":"markdown","tags":["coding","code","codecademy","diary","irish"],"users":["suesa-random","rhondak"],"links":["https:\/\/steempeak.com\/programming\/@suesa-random\/suesa-s-adventures-in-programming-part-3-first-steps-in-javascript","\/@rhondak","https:\/\/youtu.be\/5jpluWjJuL0?t=5","\/trending\/general"],"image":["https:\/\/cdn.pixabay.com\/photo\/2015\/05\/16\/14\/15\/moon-769918_960_720.jpg","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/XJkrWTCV-Half20way20through.PNG","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/0zRyyVNL-Its20a20tie.png","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/zb0oOtps-owned20by20ai.png","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/Ee53RP40-You20won.png","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/FDhsOHTc-Da20bomb.png","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/ddnSNW1E-Plant20needs20water.PNG","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/BaKqCpSq-chores.PNG","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/Fw6ITw6j-whale20speak.PNG","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/xaTkqrzt-Your20story20contains.png","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/gL3Tl92E-Fuck20the20police.png","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/A1XohHQZ-Improve20your20text.PNG","https:\/\/files.steempeak.com\/file\/steempeak\/suesa-random\/oDAta7c0-grafik.png"]}
created2019-02-24 20:49:57
last_update2019-02-24 20:52:15
depth0
children8
net_rshares15,801,284,036,941
last_payout2019-03-03 20:49:57
cashout_time1969-12-31 23:59:59
total_payout_value7.174 SBD
curator_payout_value2.202 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length3,685
author_reputation29,892,040,056,464
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries
0.
accountsteempeak
weight100
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (85)
@berniesanders ·
Enjoy the free vote!  I hope you continue to enjoy your time here in this wonderful community we call Steemit!
👍  ,
👎  ,
properties (23)
post_id70,583,020
authorberniesanders
permlinkberniesanders-re-suesa-randomsuesa-s-adventures-in-programming-part-4-half-way-through-the-basics
categorycoding
json_metadata{}
created2019-02-24 21:06:21
last_update2019-02-24 21:06:21
depth1
children0
net_rshares-10,939,693,743
last_payout2019-03-03 21:06:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length110
author_reputation604,103,165,045,172
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (4)
@steemitboard ·
Congratulations @suesa-random! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td>https://steemitimages.com/60x60/http://steemitboard.com/notifications/firstcommented.png</td><td>You got a First Reply</td></tr>
</table>

<sub>_[Click here to view your Board](https://steemitboard.com/@suesa-random)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
post_id70,588,300
authorsteemitboard
permlinksteemitboard-notify-suesa-random-20190225t003508000z
categorycoding
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2019-02-25 00:35:06
last_update2019-02-25 00:35:06
depth1
children0
net_rshares0
last_payout2019-03-04 00:35:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length701
author_reputation38,705,954,145,809
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@dexterdev ·
$0.02
You reached Ireland?
👍  
properties (23)
post_id70,615,713
authordexterdev
permlinkre-suesa-random-suesa-s-adventures-in-programming-part-4-half-way-through-the-basics-20190225t162031962z
categorycoding
json_metadata{"tags":["coding"],"app":"steemit\/0.1"}
created2019-02-25 16:23:30
last_update2019-02-25 16:23:30
depth1
children2
net_rshares42,646,952,749
last_payout2019-03-04 16:23:30
cashout_time1969-12-31 23:59:59
total_payout_value0.018 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length20
author_reputation14,307,229,891,937
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@suesa ·
$0.02
Not yet. I'll probably make a big celebration post once I've been accepted to the university of my choice.
But practicing Irish helps with anxiety ^^'
👍  ,
properties (23)
post_id70,615,756
authorsuesa
permlinkre-dexterdev-re-suesa-random-suesa-s-adventures-in-programming-part-4-half-way-through-the-basics-20190225t162459833z
categorycoding
json_metadata{"tags":["coding"],"community":"steempeak","app":"steempeak\/1.7.2b"}
created2019-02-25 16:25:00
last_update2019-02-25 16:25:00
depth2
children1
net_rshares42,953,891,624
last_payout2019-03-04 16:25:00
cashout_time1969-12-31 23:59:59
total_payout_value0.018 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length150
author_reputation203,131,734,918,063
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@dexterdev ·
$0.02
Best wishes :)

![](https://media1.giphy.com/media/UKWxGMEPjRwCA/giphy-downsized.gif?cid=f56849795c7417076a52395536635902)
👍  ,
properties (23)
post_id70,615,785
authordexterdev
permlinkre-suesa-re-dexterdev-re-suesa-random-suesa-s-adventures-in-programming-part-4-half-way-through-the-basics-20190225t162300493z
categorycoding
json_metadata{"tags":["coding"],"image":["https:\/\/media1.giphy.com\/media\/UKWxGMEPjRwCA\/giphy-downsized.gif?cid=f56849795c7417076a52395536635902"],"app":"steemit\/0.1"}
created2019-02-25 16:25:57
last_update2019-02-25 16:25:57
depth3
children0
net_rshares46,078,129,585
last_payout2019-03-04 16:25:57
cashout_time1969-12-31 23:59:59
total_payout_value0.020 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length122
author_reputation14,307,229,891,937
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@juanmanuellopez1 ·
$0.02
<div class="text-justify">


I think people ask you how to take care of your plants, for this bad habit of generalizing and supposing everything. They say that if you are a biologist, you know how to take care of plants, if you are a computer engineer, you know how to fix computers ... And so on. 

About the musicians they often say that if we know how to play, it is because we also know how to dance. Big mistake! They are totally different things.

It's good that you're making progress in your programming classes, and that you're doing very well, that's the most important thing!
</div>
👍  
properties (23)
post_id70,812,362
authorjuanmanuellopez1
permlinkre-suesa-random-suesa-s-adventures-in-programming-part-4-half-way-through-the-basics-20190301t192613353z
categorycoding
json_metadata{"tags":["coding"],"app":"steemit\/0.1"}
created2019-03-01 18:55:18
last_update2019-03-01 18:55:18
depth1
children2
net_rshares40,282,292,197
last_payout2019-03-08 18:55:18
cashout_time1969-12-31 23:59:59
total_payout_value0.018 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length593
author_reputation10,417,842,270,264
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@suesa ·
$0.12
So you can't dance? :P
👍  ,
properties (23)
post_id70,812,381
authorsuesa
permlinkre-juanmanuellopez1-re-suesa-random-suesa-s-adventures-in-programming-part-4-half-way-through-the-basics-20190301t185603646z
categorycoding
json_metadata{"tags":["coding"],"community":"steempeak","app":"steempeak\/1.8.1b"}
created2019-03-01 18:56:06
last_update2019-03-01 18:56:06
depth2
children1
net_rshares193,645,834,389
last_payout2019-03-08 18:56:06
cashout_time1969-12-31 23:59:59
total_payout_value0.090 SBD
curator_payout_value0.029 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length22
author_reputation203,131,734,918,063
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@juanmanuellopez1 ·
$0.02
<div class="text-justify">


Is that they are very different things, and that they require practice, in my case I do not dance because I never set out to learn to do it. And well, when I was a child, nobody had patience with that ... Hahaha!

It's like being bilingual, if we can see music and dance like two totally different languages.
</div>
👍  
properties (23)
post_id70,812,655
authorjuanmanuellopez1
permlinkre-suesa-re-juanmanuellopez1-re-suesa-random-suesa-s-adventures-in-programming-part-4-half-way-through-the-basics-20190301t193445794z
categorycoding
json_metadata{"tags":["coding"],"app":"steemit\/0.1"}
created2019-03-01 19:03:51
last_update2019-03-01 19:03:51
depth3
children0
net_rshares40,260,884,412
last_payout2019-03-08 19:03:51
cashout_time1969-12-31 23:59:59
total_payout_value0.018 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length344
author_reputation10,417,842,270,264
root_title"Suesa's Adventures in Programming - Part 4/? - Half way through the basics"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)