Back

in JavaScript

let html = `
<h1>Hello</h1>
`
;

in PHP
echo <<<HTML
<h1>Hello</h1>
HTML;

1 β€’ β€’

180

β€’
β€’

I worked on a legacy SIP application a year ago, and the previous developer had written everything in vanilla JS with embedded HTML. It was a mess just one massive JS file. This post triggered my trauma 😩

1 β€’ β€’

163

β€’
β€’