diff --git a/scripts/adekoya_script.js b/idris_002_script.js similarity index 76% rename from scripts/adekoya_script.js rename to idris_002_script.js index 534f82d9..41773544 100644 --- a/scripts/adekoya_script.js +++ b/idris_002_script.js @@ -3,4 +3,4 @@ const full_name = 'Idris Adekoya'; const hng_id = 'HNG-02675'; const language = 'javascript'; -console.log("Hello world, this is " + full_name + " with HNGi7 ID " + hng_id + " using " + language + " for stage 2 task email " + email); \ No newline at end of file +console.log("Hello World, this is " + full_name + " with HNGi7 ID " + hng_id + " using " + language + " for stage 2 task email " + email); \ No newline at end of file diff --git a/scripts/idris001_script.js b/scripts/idris001_script.js new file mode 100644 index 00000000..30a34ed4 --- /dev/null +++ b/scripts/idris001_script.js @@ -0,0 +1,10 @@ +let email = 'adekoyainfo@gmail.com'; +let fullName = 'Idris Adekoya'; +let hngId = 'HNG-02675'; +let language = 'javascript'; + +function myInfo() { + return `Hello World, this is ${fullName} with HNGi7 ID ${hngId} using ${language} for stage 2 task email ${email}` + } + + console.log(myInfo()) \ No newline at end of file diff --git a/scripts/idris_script.js b/scripts/idris_script.js deleted file mode 100644 index 726d4256..00000000 --- a/scripts/idris_script.js +++ /dev/null @@ -1,6 +0,0 @@ -const email = 'adekoyainfo@gmail.com'; -const full_name = Idris Adekoya'; -const hng_id = 'HNG-02675'; -const language = 'javascript'; - -console.log("Hello world, this is " + full_name + " with HNGi7 ID " + hng_id + " using " + language + " for stage 2 task email " + email); \ No newline at end of file