create account

RE: Coding Diary Entry #1 - Fear and Doubts in Javascript World by markhu

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @cryptoctopus/coding-diary-entry-1-fear-and-doubts-in-javascript-world

· @markhu ·
The code you posted at https://codepen.io/anon/pen/NXJXXE is fairly complex for beginner learning. It is 3 languages at once. I would concentrate on  HTML first (do you know ` `?), then CSS, and finally Javascript. 
Maybe you should start with something simpler.
Beginners should not skip along until you understand everything, and can reproduce it several different ways.
Hate to say it, but your JS style is kind of atrocious.  Try refactoring your code to eliminate one of the functions. Try replacing throw-away vars with functions or inlines.
properties (22)
authormarkhu
permlinkre-cryptoctopus-coding-diary-entry-1-fear-and-doubts-in-javascript-world-20180123t070922990z
categorycoding
json_metadata{"tags":["coding"],"links":["https://codepen.io/anon/pen/NXJXXE"],"app":"steemit/0.1"}
created2018-01-23 07:10:09
last_update2018-01-23 07:10:09
depth1
children0
last_payout2018-01-30 07:10:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length552
author_reputation12,697,446,977
root_title"Coding Diary Entry #1 - Fear and Doubts in Javascript World"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id31,580,711
net_rshares0