Sprints: Template Literals takes so long to appear on JS Learning Area pathway

Created on 4 Feb 2020  Â·  3Comments  Â·  Source: mdn/sprints

Request type

  • [ ] Please close this issue, I accidentally submitted it without adding any details
  • [ ] New documentation
  • [x] Correction or update

Details

Hello, folks. First of all, I thank all the MDN team for delivering this high quality content on this high quality environment, and I send a "hello" from Brazil.

I just wanted to ask you guys to introduce the concept of "template literals" in the beginning of JavaScript Learning Area, 'cause this technique is such useful over the simple "concatenation", and it takes so long to appear, in my opinion (just appears on https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Inheritance , a OOJS content, a pretty advanced context to introduce a String shorthand)

Opera Snapshot_2020-02-04_194956_developer mozilla org

JS Medium P1

All 3 comments

Hi @EduardoPazz , and thank you for your kind words!

Also thanks for bringing this up — basically, this happened because a lot of the basic learning content was written before we started using modern ES features in our content (this decision was only made a couple of years ago).

This bit of content was written after that.

I think the best thing for me to do would be to add a section to our strings article to cover usage of template literals, and then gradually start changing the examples over.

New skilltest example created to test template literal knowledge:

https://wiki.developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Test_your_skills:_Strings#Strings_4

What do you think @EduardoPazz ? Does this look for now?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ddbeck picture ddbeck  Â·  4Comments

chrisdavidmills picture chrisdavidmills  Â·  6Comments

mattiapontonio picture mattiapontonio  Â·  5Comments

bershanskiy picture bershanskiy  Â·  4Comments

Elchi3 picture Elchi3  Â·  4Comments