Skip to content

CodeCrew-CodeSchool/JS-Challenge-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

JS-Challenge-2

On a piece of paper, write code to fulfill the following requirements.

  1. Create a function

    Declare a variable

    assign your variable the value of "Hakuna Matata"

    if your variable is over 10 characters long

     add an exclamation mark to your variable
    

    if not

     add a period to your variable
    

    write the string into the console

    return the string

  2. Call the function

Technical terms used in this assignment:

functions

variables

if else statements

console.log

return

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published