loading...

re: Web Components: from zero to hero, part two VIEW POST

FULL DISCUSSION
 

Great Post, thank you! There might be a typo in the example code:

const sayHello = (name) => html`
    <h1>Hello ${name}</h1>
`;

sayHi('world');
sayHi('universe');

I believe this sayHi should be sayHello?

Code of Conduct Report abuse