CJCoding With Joseph
15free / daySign inCreate account
TitleOpen
1
Console OutputUse console.log() to display the message shown in Expected Output.
easyNot startedSolve
2
Variable AdditionCreate two variables (num1 = 5 and num2 = 10), calculate their sum, and use console.log() to display the output shown in Expected Output.
easyNot startedSolve
3
Array LengthCreate an array with these fruits: 'apple', 'banana', 'orange', 'grape', and use console.log() to display the output shown in Expected Output.
easyNot startedSolve
37
Template Literal GreetingCreate two variables: name = 'Joseph' and track = 'JavaScript'.
easyNot startedSolve
38
Average Score OutputCreate three variables: score1 = 78, score2 = 85, and score3 = 92.
easyNot startedSolve
39
Print a NumberUse console.log to print the number 42 to the console.
easyNot startedSolve
40
Print a Division ResultUse console.log to print the result of 10 divided by 4.
easyNot startedSolve
41
Print a Comparison ResultUse console.log to print whether 10 is greater than 7.
easyNot startedSolve
42
Concatenate Two WordsTwo string variables are commonly joined with the + operator.
easyNot startedSolve
43
Print Three LinesUse three separate console.log calls to print these three lines in the exact order shown in Expected Output.
easyNot startedSolve
44
Print a String's LengthStrings have a length property.
easyNot startedSolve
45
Print in UppercasePrint the string "hello" converted to all uppercase letters.
easyNot startedSolve
46
Print in LowercasePrint the string "SHOUTING" converted to all lowercase letters.
easyNot startedSolve
47
Print a Repeated CharacterThe string method .repeat(n) returns a string repeated n times.
easyNot startedSolve
48
Print a Labeled NumberPrint a score with a label by joining text and a number.
easyNot startedSolve
49
Add Two Variables and PrintTwo number variables are given.
easyNot startedSolve
76
Say Hello to the WorldEvery programmer's journey starts with a greeting.
easyNot startedSolve
77
Print a Whole NumberNumbers do not need quotation marks when you print them.
easyNot startedSolve
78
Greet Someone by NameTemplate literals let you drop a variable straight into a string.
easyNot startedSolve
79
Join First and Last NameYou can glue strings together with the + operator, which is called concatenation.
easyNot startedSolve
80
Print a Label and a Valueconsole.log can take more than one value at a time, separated by commas, and it prints them with a single space between each one.
easyNot startedSolve
81
Show a Price with a Dollar SignTemplate literals can mix plain text, symbols, and variables.
easyNot startedSolve
82
Build a Sentence About a PetConcatenation is handy for slotting a variable into the middle of a sentence.
easyNot startedSolve
116
Print a Boolean ValueA boolean prints as the word true or false.
easyNot startedSolve
117
Print a Tab-Separated PairPrint the two words Name and Age separated by a single tab character (\t) so the output is exactly what is shown in Expected Output.
easyNot startedSolve
118
Print the First CharacterThe variable word holds the string "Hello".
easyNot startedSolve
119
Print the Last Array ElementThe array nums holds [10, 20, 30].
easyNot startedSolve
120
Print a Number SquaredThe variable n holds 6.
easyNot startedSolve
121
Print the RemainderUse the remainder (modulo) operator % to print the remainder of 17 divided by 5 so the output is exactly what is shown in Expected Output.
easyNot startedSolve
122
Print the Larger NumberUse Math.max() to print the larger of the two numbers 8 and 3 so the output is exactly what is shown in Expected Output.
easyNot startedSolve
123
Print an Absolute ValueUse Math.abs() to print the absolute value of -7 so the output is exactly what is shown in Expected Output.
easyNot startedSolve
124
Print the Type of a ValueUse the typeof operator to print the type of the value 42 so the output is exactly what is shown in Expected Output.
easyNot startedSolve
125
Print a Full NameThe variables first and last hold "Ada" and "Lovelace".
easyNot startedSolve
126
Print a SubstringThe variable text holds "JavaScript".
easyNot startedSolve
127
Print Two Lines with One LogUsing a SINGLE console.log() call, print two lines by including a newline (\n) inside the string so the output is exactly what is shown in Expected Output.
easyNot startedSolve
128
Print a Rounded-Down NumberUse Math.floor() to round 4.9 DOWN to the nearest whole number and print it so the output is exactly what is shown in Expected Output.
easyNot startedSolve
50
Print Numbers One to FiveUse a loop to print the numbers 1 through 5, each on its own line.
mediumNot startedSolve
51
Print Even Numbers in a RangeUse a loop to collect the even numbers from 2 to 10 and print them on one line, separated by single spaces.
mediumNot startedSolve
52
Print a Multiplication StatementTwo numbers are given.
mediumNot startedSolve
53
Print a Price with Two DecimalsA price is given as a number.
mediumNot startedSolve
54
Round to Two DecimalsA number with many decimals is given.
mediumNot startedSolve
55
Join an Array with CommasAn array of numbers is given.
mediumNot startedSolve
56
Print a Countdown on One LineUse a loop to print a countdown from 5 down to 1 on a single line, separated by single spaces.
mediumNot startedSolve
57
Print a Right TriangleUse a loop and the .repeat() method to print a right triangle of stars with 4 rows.
mediumNot startedSolve
58
Print a Sentence from VariablesA name and a number of items are given.
mediumNot startedSolve
83
Write a Full IntroductionThis time you will combine two variables in a single sentence.
mediumNot startedSolve
84
Announce the Sum of Two NumbersInside a template literal, ${...} can hold not just a variable but a whole calculation.
mediumNot startedSolve
85
Report a Rectangle's AreaCombine variables and a multiplication inside one template literal.
mediumNot startedSolve
129
Print a Reversed StringThe variable s holds "hello".
mediumNot startedSolve
130
Print the Sum of an ArrayThe array nums holds [1, 2, 3, 4].
mediumNot startedSolve
131
Print a Capitalized WordThe variable w holds "banana".
mediumNot startedSolve
132
Print Numbers Separated by SpacesThe array nums holds [1, 2, 3, 4, 5].
mediumNot startedSolve
133
Print the Word CountThe variable sentence holds "the quick brown fox".
mediumNot startedSolve
134
Print a Zero-Padded NumberThe variable n holds 7.
mediumNot startedSolve
135
Print Odd Numbers to NinePrint each odd number from 1 to 9, one per line, so the output is exactly what is shown in Expected Output.
mediumNot startedSolve
136
Print a Temperature ConversionThe variable c holds 25 (degrees Celsius).
mediumNot startedSolve
137
Print the Minimum of an ArrayThe array nums holds [4, 2, 8, 1].
mediumNot startedSolve
138
Print a Times TablePrint the 3 times table from 1 to 5, one equation per line, using the format 3 x <i> = <product>.
hardNot startedSolve
139
Print a Square of StarsThe variable size holds 3.
hardNot startedSolve
140
Print a FactorialThe variable n holds 5.
hardNot startedSolve