<center></center> E-learning library was created with the promise to help to create activities for e-learning courses that can return data about score and time, and improve the experience of evaluation from the virtuality of the class room. I'm back to this project and I hope to evolve it and get a stable library. I have great plans for this project and Steem. You can follow development in the next link: [Link to Project](https://github.com/cunigarro/e-learning-js). This release was based of three improvements: 1. ES Lint audit based on Airbnb Javascript recommendations 2. Improve design qualities. 3. Better use for import in css and javascript. # 1. ES Lint audit based on Airbnb Javascript recommendations <div class="pull-left"> Airbnb has an excellent <a href="https://github.com/airbnb/javascript">style guide for javascript</a> and I adde this audit to this project with Es Lint. Mainly is the implementation of the last standard for javascript, in this case Ecmascript 2018 (ES8). Now you can use last javascript standard (ES8): arrow functions, destructuring, const, let, literal templates, import, export and classes with the audit of airbnb. It will improve the understanding for code and let you to join to the project following some rules to make the code more readable for all contributors. </div> <div class="pull-right"> https://i.postimg.cc/SKmMSW0T/Screen-Shot-2019-02-01-at-10-09-19-PM.png </div> <hr> <div class="clearfix"> To ES Lint audit run the next commands in the root to the project: 1. Install dependencies `npm install`. 2. Run `eslint ./src/js/activities/*.js` 3. Review problems and solve it. </div> # 2. Improve design qualities I improve design qualities suggested in the before post about e-learning js here in steemit. * Show message when click on Check without set an answer. [](https://postimg.cc/mzqZNvZ4) <hr> <center> [](https://postimg.cc/kBHZM71q) </center> * The design is broken when the answer is wrong. [](https://postimg.cc/V0Cf7K5C) <center> [](https://postimg.cc/BLNYr3PW) </center> <hr> * The crosses aren't on the same line height as the text. [](https://postimg.cc/TyzHVQ8S) <hr> <center> [](https://postimg.cc/D4wvh7C1) </center> * I can add multiple answers in a drop and drap that's weird. And the line height is not the same when I have an answer or no answer at all. The text inside the yellow box is not centered. [](https://postimg.cc/n9ZR5zhG) <hr> <center> [](https://postimg.cc/sMptTtmz) </center> * If I add images in the same field I can't go back or reset until I check. [](https://postimg.cc/yDtzGm4h) <hr> <center> [](https://postimg.cc/v43v8hH9) </center> <hr> Finally, you can validate this fixes in the next [link](https://cunigarro.github.io/e-learning-js/), where you can interact with the library. # 3. Better use for import in css and javascript This is a simple fix but you can now call the library with import in js and css, with the next commands: **Common js:** `require('e-learning-js');` **Import ES6 js:** `import 'e-learning-js';` **Import sass (css):** `@import '~e-learning-js/dist/e-learning-js.min.css';` <hr> **Proof of Work Done** Github account: [https://github.com/cunigarro](https://github.com/cunigarro) Pull Request: [link to Pull Request](https://github.com/cunigarro/e-learning-js/pull/13) <hr/> **See you soon Steemiants** ✋ <hr/>
author | cunigarro |
---|---|
permlink | e-learning-js-0-1-release-0-1-3-alpha-1 |
category | utopian-io |
json_metadata | {"tags":["utopian-io","development","e-learning","javascript"],"image":["https://i.postimg.cc/jSj7LDn2/logo.png","https://i.postimg.cc/SKmMSW0T/Screen-Shot-2019-02-01-at-10-09-19-PM.png","https://i.postimg.cc/prV9xvgm/fix-it.png","https://i.postimg.cc/YC2w39QG/fix-1-2.gif","https://i.postimg.cc/0jtzy3sc/fix-it-2.png","https://i.postimg.cc/cCGp84sJ/fix-2-1.gif","https://i.postimg.cc/vBTFdS0Q/fix-it-4.png","https://i.postimg.cc/Y01h19YD/fix-3.gif","https://i.postimg.cc/cCtpvtq2/fix-it-5.png","https://i.postimg.cc/NjVBjtrK/fix-4.gif","https://i.postimg.cc/Ls66nDxW/fix-it-6.png","https://i.postimg.cc/1zZ7H7kW/fix-6.gif"],"links":["https://github.com/cunigarro/e-learning-js","https://github.com/airbnb/javascript","https://postimg.cc/mzqZNvZ4","https://postimg.cc/kBHZM71q","https://postimg.cc/V0Cf7K5C","https://postimg.cc/BLNYr3PW","https://postimg.cc/TyzHVQ8S","https://postimg.cc/D4wvh7C1","https://postimg.cc/n9ZR5zhG","https://postimg.cc/sMptTtmz","https://postimg.cc/yDtzGm4h","https://postimg.cc/v43v8hH9","https://cunigarro.github.io/e-learning-js/","https://github.com/cunigarro","https://github.com/cunigarro/e-learning-js/pull/13"],"app":"steemit/0.1","format":"markdown"} |
created | 2019-02-02 04:51:03 |
last_update | 2019-02-02 04:51:51 |
depth | 0 |
children | 6 |
last_payout | 2019-02-09 04:51:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.826 HBD |
curator_payout_value | 0.234 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,997 |
author_reputation | 42,847,167,243,710 |
root_title | "[ E-learning Js 0.1 ] Release 0.1.3 - alpha 1" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,284,990 |
net_rshares | 2,251,862,992,165 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
drifter1 | 0 | 734,450,952 | 5% | ||
rufans | 0 | 12,612,734,533 | 100% | ||
dimitrisp | 0 | 2,493,377,119 | 5% | ||
steemitboard | 0 | 14,349,674,861 | 1% | ||
miniature-tiger | 0 | 138,038,579,655 | 50% | ||
destrudo | 0 | 15,278,487 | 15% | ||
codingdefined | 0 | 23,289,721,922 | 20% | ||
alexzicky | 0 | 8,235,498,082 | 9% | ||
juanangel40bcn | 0 | 286,966,078 | 100% | ||
leir | 0 | 2,052,573,786 | 50% | ||
silviu93 | 0 | 3,490,618,444 | 15% | ||
nicola71 | 0 | 253,785,070 | 6.3% | ||
espoem | 0 | 74,200,269,201 | 40.25% | ||
mcfarhat | 0 | 33,771,679,664 | 20.12% | ||
nicejob | 0 | 85,943,930 | 22.5% | ||
rscalabrini | 0 | 1,406,037,870 | 30% | ||
loshcat | 0 | 3,130,446,729 | 100% | ||
jaff8 | 0 | 84,258,944,057 | 50.32% | ||
newsrx | 0 | 166,755,053 | 11% | ||
aboutcoolscience | 0 | 43,880,813,406 | 31% | ||
imcesca | 0 | 8,397,108,868 | 15% | ||
greenorange | 0 | 546,473,590 | 100% | ||
singhpratyush | 0 | 7,118,501,278 | 100% | ||
amosbastian | 0 | 117,888,600,272 | 50.32% | ||
tdre | 0 | 81,076,282,852 | 100% | ||
asaj | 0 | 18,037,446,929 | 100% | ||
jjay | 0 | 500,743,753 | 100% | ||
knfitaly | 0 | 774,502,256 | 30% | ||
giornalista | 0 | 307,170,095 | 4.5% | ||
magpielover | 0 | 79,421,485 | 100% | ||
onin91 | 0 | 102,309,646 | 30% | ||
mondodidave73 | 0 | 495,611,994 | 5.4% | ||
robertbira | 0 | 3,064,004,515 | 7.5% | ||
davinci.witness | 0 | 82,106,035,292 | 30% | ||
simplymike | 0 | 64,712,805,272 | 30% | ||
adamada | 0 | 16,352,533,467 | 50% | ||
spaghettiscience | 0 | 6,956,771,790 | 15% | ||
feronio | 0 | 991,545,941 | 100% | ||
kendallron | 0 | 223,850,290 | 15% | ||
phage93 | 0 | 1,387,948,395 | 7.5% | ||
ryuna.siege | 0 | 208,755,686 | 100% | ||
davinci.polyglot | 0 | 243,959,824 | 30% | ||
indayclara | 0 | 272,872,303 | 7.5% | ||
cryptomaniacsgr | 0 | 309,812,439 | 3% | ||
sergino | 0 | 401,362,771 | 2% | ||
davinci.times | 0 | 5,584,406,326 | 30% | ||
itastem | 0 | 11,574,663,267 | 30% | ||
davinci.art | 0 | 626,841,314 | 30% | ||
introduce.bot | 0 | 21,540,136,604 | 5% | ||
mightypanda | 0 | 52,022,878,812 | 30% | ||
bestofph | 0 | 6,422,347,071 | 15% | ||
steam.erotic | 0 | 229,683,629 | 15% | ||
ulockblock | 0 | 50,336,833,759 | 17.77% | ||
davinci.pay | 0 | 18,497,810,912 | 15% | ||
mops2e | 0 | 466,678,366 | 32.2% | ||
davinci.vote | 0 | 318,756,677 | 30% | ||
bullinachinashop | 0 | 3,702,153,562 | 100% | ||
merlin7 | 0 | 288,212,730 | 0.01% | ||
steem-ua | 0 | 1,188,260,396,487 | 11% | ||
akireuna | 0 | 6,038,977,840 | 15% | ||
aristotle.team | 0 | 7,351,721,343 | 10% | ||
bluesniper | 0 | 535,847,189 | 0.08% | ||
vaultec | 0 | 1,767,641,071 | 100% | ||
primeradue | 0 | 11,868,322,969 | 15% | ||
ascorphat | 0 | 1,971,383,967 | 2.5% | ||
bejust | 0 | 1,653,722,285 | 100% | ||
progressing | 0 | 1,492,996,083 | 100% |
✅ Enjoy the vote! For more amazing content, please follow @themadcurator!
author | introduce.bot |
---|---|
permlink | introduce-bot-re-cunigarroe-learning-js-0-1-release-0-1-3-alpha-1 |
category | utopian-io |
json_metadata | "" |
created | 2019-02-02 05:06:21 |
last_update | 2019-02-02 05:06:21 |
depth | 1 |
children | 0 |
last_payout | 2019-02-09 05:06:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 73 |
author_reputation | 20,568,707,332,317 |
root_title | "[ E-learning Js 0.1 ] Release 0.1.3 - alpha 1" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,285,423 |
net_rshares | 0 |
Thank you for your contribution. 1. magik numbers such as `tempPage <= 9` 2. You might want to let users define these data in a JSON/XML instead of `main.js` 3. you probably could use some librarys/frameworks to make your Javascript code such as `document.getQuerySelector` or `.style.display=` shorter. 4. some code duplications (could be refactored) for example: ``` const questionsHtml = document.querySelector(options.questionsHtml); const resetButton = document.querySelector(options.resetButton); ... ``` Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category. To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/2-2-2-2-0-1-2-). ---- Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
author | justyy |
---|---|
permlink | re-cunigarro-e-learning-js-0-1-release-0-1-3-alpha-1-20190202t204433872z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/2-2-2-2-0-1-2-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"} |
created | 2019-02-02 20:44:36 |
last_update | 2019-02-02 20:46:15 |
depth | 1 |
children | 2 |
last_payout | 2019-02-09 20:44:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 10.170 HBD |
curator_payout_value | 3.278 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 965 |
author_reputation | 280,616,224,641,976 |
root_title | "[ E-learning Js 0.1 ] Release 0.1.3 - alpha 1" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,314,312 |
net_rshares | 27,778,140,111,030 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
happyukgo | 0 | 467,184,908 | 25% | ||
superbing | 0 | 2,161,932,668 | 25% | ||
dailyfortune | 0 | 29,606,277 | 25% | ||
espoem | 0 | 27,019,319,748 | 15% | ||
dailystats | 0 | 6,224,641,935 | 25% | ||
utopian-io | 0 | 27,500,852,767,716 | 19.39% | ||
amosbastian | 0 | 60,281,168,955 | 25.33% | ||
organicgardener | 0 | 7,467,758,498 | 25% | ||
dailychina | 0 | 5,947,520,473 | 25% | ||
sttest1 | 0 | 0 | 13.76% | ||
reazuliqbal | 0 | 17,848,623,708 | 10% | ||
cunigarro | 0 | 4,187,922,647 | 100% | ||
mightypanda | 0 | 112,304,365,292 | 65% | ||
turtlegraphics | 0 | 2,254,070,700 | 25% | ||
ulockblock | 0 | 14,271,103,847 | 4.9% | ||
fastandcurious | 0 | 2,298,483,566 | 60% | ||
witnesstools | 0 | 2,172,802,436 | 25% | ||
ilovecoding | 0 | 2,156,396,436 | 25% | ||
curbot | 0 | 2,451,620,951 | 100% | ||
steemfuckeos | 0 | 1,404,816,010 | 25% | ||
linknotfound | 0 | 1,216,869,467 | 100% | ||
ascorphat | 0 | 1,951,878,981 | 2.5% | ||
monster-inc | 0 | 3,169,255,811 | 100% |
Thanks [@justyy](https://steemit.com/@justyy) for your recomendations, I will take this improvements in the project dashboard in github.
author | cunigarro |
---|---|
permlink | cunigarro-re-justyy-re-cunigarro-e-learning-js-0-1-release-0-1-3-alpha-1-20190203t185433958z |
category | utopian-io |
json_metadata | {"app":"partiko","client":"android"} |
created | 2019-02-03 18:54:33 |
last_update | 2019-02-03 18:54:57 |
depth | 2 |
children | 0 |
last_payout | 2019-02-10 18:54:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 136 |
author_reputation | 42,847,167,243,710 |
root_title | "[ E-learning Js 0.1 ] Release 0.1.3 - alpha 1" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,352,204 |
net_rshares | 0 |
Thank you for your review, @justyy! Keep up the good work!
author | utopian-io |
---|---|
permlink | re-re-cunigarro-e-learning-js-0-1-release-0-1-3-alpha-1-20190202t204433872z-20190205t161611z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-02-05 16:16:12 |
last_update | 2019-02-05 16:16:12 |
depth | 2 |
children | 0 |
last_payout | 2019-02-12 16:16:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 58 |
author_reputation | 152,955,367,999,756 |
root_title | "[ E-learning Js 0.1 ] Release 0.1.3 - alpha 1" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,439,038 |
net_rshares | 0 |
#### Hi @cunigarro! Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation! Your post is eligible for our upvote, thanks to our collaboration with @utopian-io! **Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
author | steem-ua |
---|---|
permlink | re-e-learning-js-0-1-release-0-1-3-alpha-1-20190204t115723z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.18"}" |
created | 2019-02-04 11:57:24 |
last_update | 2019-02-04 11:57:24 |
depth | 1 |
children | 0 |
last_payout | 2019-02-11 11:57:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 288 |
author_reputation | 23,214,230,978,060 |
root_title | "[ E-learning Js 0.1 ] Release 0.1.3 - alpha 1" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,380,785 |
net_rshares | 0 |
Congratulations @cunigarro! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) : <table><tr><td>https://steemitimages.com/60x70/http://steemitboard.com/@cunigarro/posts.png?201902020639</td><td>You published more than 20 posts. Your next target is to reach 30 posts.</td></tr> </table> <sub>_[Click here to view your Board](https://steemitboard.com/@cunigarro)_</sub> <sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub> To support your work, I also upvoted your post! > 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**!
author | steemitboard |
---|---|
permlink | steemitboard-notify-cunigarro-20190202t073029000z |
category | utopian-io |
json_metadata | {"image":["https://steemitboard.com/img/notify.png"]} |
created | 2019-02-02 07:30:30 |
last_update | 2019-02-02 07:30:30 |
depth | 1 |
children | 0 |
last_payout | 2019-02-09 07:30:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 796 |
author_reputation | 38,975,615,169,260 |
root_title | "[ E-learning Js 0.1 ] Release 0.1.3 - alpha 1" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,289,181 |
net_rshares | 0 |