Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Build Components in JavaScript Without a Framework

Okta via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to build a simple JavaScript component for a regular HTML website without relying on a framework in this 23-minute screencast. Discover the process of creating a star rating system using vanilla JavaScript, including setting up the HTML structure, implementing event listeners, and handling user interactions. Explore techniques for reading component data, setting default ratings, highlighting selected stars, and managing hover and click events. Gain practical insights into developing lightweight, efficient components that can be easily integrated into any web project without the overhead of a full framework.

Syllabus

Intro
Create Index
Star Rating
Script Tag
Raider
EventListener
Reading Components
Default Rating
Highlight Rating
Hover
Click Event

Taught by

Okta

Reviews

Start your review of Build Components in JavaScript Without a Framework

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.