JSFiddle - React, Tailwind, and code Playground

by keif

JavaScript

// create a haiku variable

// assign it to an expression involving the input lines, such that they format correct when the return value is logged to the console

// return the haiku variable

function generateHaiku(firstLine, secondLine, thirdLine) {

	let haiku = (firstLine, \nsecondLine, \nthirdLine);

	return haiku

}