Hello World custom elementCreate a custom element that extends the Hello World custom element with a button that changes the message to “Hello
Universe!” when clicked.
Create a custom element that which expects a numeric attribute we name ‘nr’. The value of nr determines how many times
the line I'm a lazy developer, therefore I will write a custom element to print this line x times. is printed, in
which you replace x with the value of nr attribute.
Create a custom element called shadow-dom-card that renders the following HTML within it’s shadow-root:
<section>
<h1>Card Title</h1>
<p>Card Content</p>
</section>
Let the index.html file contain the following code:
<shadow-dom-card></shadow-dom-card>
<section>
<h1>Card Title</h1>
<p>Card Content</p>
</section>
Style the section element so that it look like a card (e.g. with a border, padding, and a shadow).
Augment the previous challenge by using a CSS file that contains the styling for the component.
title and content and an HTML file that shows 5 of those components.