Sort 41 Discussions, By:

Sorry, you do not have a permission to answer to this question.

  • Krizzu 9 years ago + 3 comments

    TO ANYONE STRUGGLING:
    YOU HAVE TO USE ` INSTEAD OF ' or ".
    You can find that key under the 'Esc' button, to the left of 1, above the 'tab' button on your keyboard.

    Add Reply Preview cancel

    Sorry, you do not have a permission to answer to this question.

    • trendsetter37 9 years ago + 0 comments

      I believe this is referred to as a backtick. For what it's worth.

      Add Reply Preview cancel

      Sorry, you do not have a permission to answer to this question.

      • davidmeza 9 years ago + 0 comments

        Oh wow. Glad I came here. Only 5 minutes wasted hah.

        Add Reply Preview cancel

        Sorry, you do not have a permission to answer to this question.

        • SebetheWombat 9 years ago + 0 comments

          Thank you! I had no idea what I was doing wrong.

          Add Reply Preview cancel

          Sorry, you do not have a permission to answer to this question.

        • jonmcclung 9 years ago + 1 comment

          So, today's challenge was an excercise in Ctrl+C, Ctrl+V?

          Add Reply Preview cancel

          Sorry, you do not have a permission to answer to this question.

          • TheMadness 9 years ago + 0 comments

            hahaha! that's one way to look at it. I considered it a typing practice... learning the backtick ES6 feature was cool though.

            Add Reply Preview cancel

            Sorry, you do not have a permission to answer to this question.

          • PRASHANTB1984 9 years ago + 1 comment

            hint: use backticks

            Add Reply Preview cancel

            Sorry, you do not have a permission to answer to this question.

            • rajatsharma9895 9 years ago + 1 comment

              var my_template_string = My name is ${my_name}. My id is ${my_id}. My address is ${my_address}.; what is wrong with this?

              Add Reply Preview cancel

              Sorry, you do not have a permission to answer to this question.

              • gabrielhidasy 9 years ago + 0 comments

                You are missing a few newlines (\n) after the first two dots

                Add Reply Preview cancel

                Sorry, you do not have a permission to answer to this question.

            • sasankadx 9 years ago + 2 comments

              var my_template_string = My name is{my_id}.My address is ${my_address} ; I'm using backticks. still giving error what's wrong with my code?

              Add Reply Preview cancel

              Sorry, you do not have a permission to answer to this question.

              • nisar_ahmed 9 years ago + 0 comments

                Give a space after each full stop (.) and make sure each sentence is on a new line.

                Add Reply Preview cancel

                Sorry, you do not have a permission to answer to this question.

                • viktor_korolyuk 9 years ago + 0 comments

                  Use (\n) to go to new line in a string.

                  Add Reply Preview cancel

                  Sorry, you do not have a permission to answer to this question.

                • ayse_gul5212 2 years ago + 0 comments

                  var my_template_string = My name is${my_name}.+\n+My id is ${my_id}. +\n + My address is ${my_address}.; works like a charm.

                  Add Reply Preview cancel

                  Sorry, you do not have a permission to answer to this question.

                  1. Challenge Walkthrough
                    Let's walk through this sample challenge and explore the features of the code editor.1 of 6
                  2. Review the problem statement
                    Each challenge has a problem statement that includes sample inputs and outputs. Some challenges include additional information to help you out.2 of 6
                  3. Choose a language
                    Select the language you wish to use to solve this challenge.3 of 6
                  4. Enter your code
                    Code your solution in our custom editor or code in your own environment and upload your solution as a file.4 of 6
                  5. Test your code
                    You can compile your code and test it for errors and accuracy before submitting.5 of 6
                  6. Submit to see results
                    When you're ready, submit your solution! Remember, you can go back and refine your code anytime.6 of 6
                  1. Check your score