In this video I'll be taking you step by step in detail how I solved the "Binary Agents" challenge in 5 easy steps using javascript on FreeCodeCamp.
The steps I took to complete this challenge are as follows(I go into more detail in the video):
STEP 1
Split the string on every spacebar
STEP 2
map over all items in the array
STEP 3
run the fromCharCode method on every item in the array
STEP 4
parse the binary number into a decimal number and use it as argument for fromCharCode
STEP 5
join the strings
Useful links:
parseInt(): https://goo.gl/W4HHDt
String.fromCharChode(): https://goo.gl/vgE6BS
binary translator: https://goo.gl/8hMcdG