JSFiddle - React, Tailwind, and code Playground

by Agustin Gomez

HTML

hello

JavaScript

const strguest = 'Hello';
const strlogged = 'Its nice to se you again';
let name = " ";
if(name == " "){
  console.log(strguest.concat(', ', "guest"));
}else{
  console.log(strlogged.concat(', ', name));
}