Learn Practical Web Components Quickly

Course

Online

£ 10 VAT inc.

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

Build reusable web components for use in any projectAs a developer, haven't you often suffered from writing too much code? More often than not, you rewrite the same piece of code for different pages and end up wasting precious time you could have used more productively.In this course, we introduce you to the world of web components, a fairly new concept that has simplified coding for web developers. Web components allow you to create custom and reusable HTML tags that will work across modern web browsers and can be used with any JavaScript library or web framework that works with HTML.After working through this course, you will be ready to develop production-ready web component applications! You will be able to build your own custom components that can be reused again and again. Moreover, you will also be able to share your custom components with other developers.To benefit fully from this course, you need to have at least a basic idea of ES6 concepts such as const, let, classes, map, filters, and so on. A basic understanding of JavaScript frameworks such as Angular, React, and Vue would be beneficial in order to gain a full understanding of web component integration aspects.About the AuthorRushabh Shah is a seasoned UI developer working in an exciting start-up based out of Mumbai. He is one of the founding members of the company and also the Senior UI Developer there. Rushabh has worked on a variety of projects across different frameworks and software architectures. His forte lies in creating web applications and user-friendly dashboards using reusable component-friendly library like React along with the latest developments in the traditional web development technologies..
Rushabh has previously worked with major companies like Capgemini India Pvt. Ltd

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

Develop reusable and lightweight custom HTML elements that you can use in all your future projects
Build simple web components such as tooltips to create complex components such as modals and backdrops
Create dynamic web components that can receive data and use it to showcase UI element.
Make your web-components stand-alone entities by coding custom events
Explore the Shadow DOM and isolate CSS and JavaScript for your web components
Master the numerous benefits of user-defined templates when creating web components
Glimpse the React .js world and how it simplifies the complex process of coding web applications
Learn to integrate your custom web-components with React .js and Angular

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 4 years

Subjects

  • Housing
  • Import
  • Web
  • Javascript
  • HTML
  • Javascript training
  • Access

Course programme

Building Our First Web Component 6 lectures 31:22 The Course Overview This video will give you an overview about the course. Custom Elements Often, developers end up repeating the same structure of code unnecessarily. Web components help you resolve the unnecessary replication of code. • The first step to create a web component is to create a custom element of your own • To create a custom element, create a class and define a custom hyphenated name for the element • Add content you want to add to your custom element Shadow DOM For web components, you need to have a DOM tree that cannot be accidentally accessed from the outside. Shadow DOM helps you encapsulate a part of the DOM. • To create a shadow DOM, you need to access an element and attach shadow to it • You need to ensure that mode is open so that you can reference shadow outside • Add HTML and style which can only be accessed by the shadow and not by anyone else HTML Templates To resolve the problem of rewriting unnecessary code, we need to create a structure which can be reused with different content. HTML Template helps you create a structure which can be reused unlimited times. • Create HTML code inside a template tag which will not be rendered until called upon • Copy the template code into a variable using importNode • Add content as many times as you want and add the content to any part of HTML Creating Reusable HTML Templates To create our blog page, we need two web components – a card for housing all the titles and a modal for showing the content inside the card. • Create a HTML template which has a title, subtitle, and synopsis elements • Fetch the content of HTML template and store it in a variable • Run through data and add it to template’s placeholder elements Joining the Dots Add Shadow DOM and create a custom element to complete our first web component – Card component. • Create a class for 'card' and define a custom name for it • Create a shadow root and add template data to the ShadowRoot instance • Import the custom element in the index.html file and call it Building Our First Web Component - Quiz Building Our First Web Component. 6 lectures 31:22 The Course Overview This video will give you an overview about the course. Custom Elements Often, developers end up repeating the same structure of code unnecessarily. Web components help you resolve the unnecessary replication of code. • The first step to create a web component is to create a custom element of your own • To create a custom element, create a class and define a custom hyphenated name for the element • Add content you want to add to your custom element Shadow DOM For web components, you need to have a DOM tree that cannot be accidentally accessed from the outside. Shadow DOM helps you encapsulate a part of the DOM. • To create a shadow DOM, you need to access an element and attach shadow to it • You need to ensure that mode is open so that you can reference shadow outside • Add HTML and style which can only be accessed by the shadow and not by anyone else HTML Templates To resolve the problem of rewriting unnecessary code, we need to create a structure which can be reused with different content. HTML Template helps you create a structure which can be reused unlimited times. • Create HTML code inside a template tag which will not be rendered until called upon • Copy the template code into a variable using importNode • Add content as many times as you want and add the content to any part of HTML Creating Reusable HTML Templates To create our blog page, we need two web components – a card for housing all the titles and a modal for showing the content inside the card. • Create a HTML template which has a title, subtitle, and synopsis elements • Fetch the content of HTML template and store it in a variable • Run through data and add it to template’s placeholder elements Joining the Dots Add Shadow DOM and create a custom element to complete our first web component – Card component. • Create a class for 'card' and define a custom name for it • Create a shadow root and add template data to the ShadowRoot instance • Import the custom element in the index.html file and call it Building Our First Web Component - Quiz The Course Overview This video will give you an overview about the course. The Course Overview This video will give you an overview about the course. The Course Overview This video will give you an overview about the course. The Course Overview This video will give you an overview about the course. This video will give you an overview about the course. This video will give you an overview about the course. Custom Elements Often, developers end up repeating the same structure of code unnecessarily. Web components help you resolve the unnecessary replication of code. • The first step to create a web component is to create a custom element of your own • To create a custom element, create a class and define a custom hyphenated name for the element • Add content you want to add to your custom element Custom Elements Often, developers end up repeating the same structure of code unnecessarily. Web components help you resolve the unnecessary replication of code. • The first step to create a web component is to create a custom element of your own • To create a custom element, create a class and define a custom hyphenated name for the element • Add content you want to add to your custom element Custom Elements Often, developers end up repeating the same structure of code unnecessarily. Web components help you resolve the unnecessary replication of code. • The first step to create a web component is to create a custom element of your own • To create a custom element, create a class and define a custom hyphenated name for the element • Add content you want to add to your custom element Custom Elements Often, developers end up repeating the same structure of code unnecessarily. Web components help you resolve the unnecessary replication of code. • The first step to create a web component is to create a custom element of your own • To create a custom element, create a class and define a custom hyphenated name for the element • Add content you want to add to your custom element Often, developers end up repeating the same structure of code unnecessarily. Web components help you resolve the unnecessary replication of code. • The first step to create a web component is to create a custom element of your own • To create a custom element, create a class and define a custom hyphenated name for the element • Add content you want to add to your custom element Often, developers end up repeating the same structure of code unnecessarily. Web components help you resolve the unnecessary replication of code. • The first step to create a web component is to create a custom element of your own • To create a custom element, create a class and define a custom hyphenated name for the element • Add content you want to add to your custom element Shadow DOM For web components, you need to have a DOM tree that cannot be accidentally accessed from the outside. Shadow DOM helps you encapsulate a part of the DOM. • To create a shadow DOM, you need to access an element and attach shadow to it • You need to ensure that mode is open so that you can reference shadow outside • Add HTML and style which can only be accessed by the shadow and not by anyone else Shadow DOM For web components, you need to have a DOM tree that cannot be accidentally accessed from the outside. Shadow DOM helps you encapsulate a part of the DOM. • To create a shadow DOM, you need to access an element and attach shadow to it • You need to ensure that mode is open so that you can reference shadow outside • Add HTML and style which can only be accessed by the shadow and not by anyone else Shadow DOM For web components, you need to have a DOM tree that cannot be accidentally accessed from the outside. Shadow DOM helps you encapsulate a part of the DOM. • To create a shadow DOM, you need to access an element and attach shadow to it • You need to ensure that mode is open so that you can reference shadow outside • Add HTML and style which can only be accessed by the shadow and not by anyone else Shadow DOM For web components, you need to have a DOM tree that cannot be accidentally accessed from the outside. Shadow DOM helps you encapsulate a part of the DOM. • To create a shadow DOM, you need to access an element and attach shadow to it • You need to ensure that mode is open so that you can reference shadow outside • Add HTML and style which can only be accessed by the shadow and not by anyone else For web components, you need to have a DOM tree that cannot be accidentally accessed from the outside. Shadow DOM helps you encapsulate a part of the DOM. • To create a shadow DOM, you need to access an element and attach shadow to it • You need to ensure that mode is open so that you can reference shadow outside • Add HTML and style which can only be accessed by the shadow and not by anyone else For web components, you need to have a DOM tree that cannot be accidentally accessed from the outside. Shadow DOM helps you encapsulate a part of the DOM. • To create a shadow DOM, you need to access an element and attach shadow to it • You need to ensure that mode is open so that you can reference shadow outside • Add HTML and style which can only be accessed by the shadow and not by anyone else HTML Templates To resolve the problem of rewriting unnecessary code, we need to create a structure which can be reused with different content. HTML Template helps you create a structure which can be reused unlimited times. • Create HTML code inside a template tag which will not be rendered until called upon • Copy the template code into a variable using importNode • Add content as many times as you want and add the content to any part of HTML HTML Templates To resolve the problem of rewriting unnecessary code, we need to create a structure which can be reused with different content. HTML Template helps you create a structure which can be reused unlimited times. • Create HTML code inside a template tag which will not be rendered until called upon • Copy the template code into a variable using importNode • Add content as many times as you want and add the content to any part of HTML HTML Templates To resolve the problem of rewriting unnecessary code, we need to create a structure which can be reused with different content. HTML Template helps you create a structure which can be reused unlimited times. • Create HTML code inside a template tag which will not be rendered until called upon • Copy the template code into a variable using importNode • Add content as many times as you want and add the content to any part of HTML HTML Templates To resolve the problem of rewriting unnecessary code, we need to create a structure which can be reused with different content. HTML Template helps you create a structure which can be reused unlimited times. • Create HTML code inside a template tag which will not be rendered until called upon • Copy the template code into a variable using importNode • Add content as many times as you want and add the content to any part of HTML To resolve the problem of rewriting unnecessary code, we need to create a structure which can be reused with different content. HTML Template helps you create a structure which can be reused unlimited times. • Create HTML code inside a template tag which will not be rendered until called upon • Copy the template code into a variable using importNode • Add content as many times as you want and add the content to any part of HTML To resolve the problem of rewriting unnecessary code, we need to create a structure which can be reused with different content. HTML Template helps you create a structure which can be reused unlimited times. • Create HTML code inside a template tag which will not be rendered until called upon • Copy the template code into a variable using importNode • Add content as many times as you want and add the content to any part of HTML Creating Reusable HTML Templates To create our blog page, we need two web components – a card for housing all the titles and a modal for showing the content inside the card. • Create a HTML template which has a title, subtitle, and synopsis elements • Fetch the content of HTML template and store it in a variable • Run through data and add it to template’s placeholder elements Creating Reusable HTML Templates To create our blog page, we need two web components – a card for housing all the titles and a modal for showing the content inside the card. • Create a HTML template which has a title, subtitle, and synopsis elements • Fetch the content of HTML template and store it in a variable • Run through data and add it to template’s placeholder elements Creating Reusable HTML Templates To create our blog page, we need two web components – a card for housing all the titles and a modal for showing the content inside the card. • Create a HTML template which has a title, subtitle, and synopsis elements • Fetch the content of HTML template and store it in a variable • Run through data and add it to template’s placeholder elements Creating Reusable HTML Templates To create our blog page, we need two web components – a card for housing all the titles and a modal for showing the content inside the card. • Create a HTML template which has a title, subtitle, and synopsis elements • Fetch the content of HTML template and store it in a variable • Run through data and add it to template’s placeholder elements To create our blog page, we need two web components – a card for housing all the titles and a modal for showing the content inside the card. • Create a HTML template which has a title, subtitle, and synopsis elements • Fetch the content of HTML template and store it in a variable • Run through data and add it to template’s placeholder elements To create our blog page, we need two web components – a card for housing all the titles and a modal for showing the content inside the card. • Create a HTML template which has a title, subtitle, and synopsis elements • Fetch the content of HTML template and store it in a variable • Run through data and add it to template’s placeholder elements Joining the Dots Add Shadow DOM and create a custom element to complete our first web component – Card component. • Create a class for 'card' and define a custom name for it • Create a shadow root and add template data to the ShadowRoot instance • Import the custom element in the index.html file and call it Joining the Dots Add Shadow DOM and create a custom element to complete our first web component – Card component...

Additional information

Basic HTML, CSS, and JavaScript knowledge is a must! You need to have at least a basic idea of ES6 concepts such as const, let, classes, map, filters, and so on A basic understanding of JavaScript frameworks such as Angular, React, and Vue would be beneficial in order to gain a full understanding of web component integration aspects

Learn Practical Web Components Quickly

£ 10 VAT inc.