Get 50% Off Udacity Nanodegrees — Code CC50
Gain a Splash of New Skills - Coursera+ Annual Nearly 45% Off
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