Introduction
Introduction to this course
()
About this course
()
About the exercise files
()
1. Preparing the Page Structure with HTML
Hook in CSS and AngularJS
()
Add the main HTML structure
()
Add the labels, wattage, and cost
()
Add the form elements
()
2. Creating the Layout with CSS
Style the light bulb sections
()
Add bulb graphics to sections
()
Style section text area
()
Add content with CSS pseudo-elements
()
Style the form area
()
Style the form text and elements
()
Adjust the main area for small screens
()
Adjust the form area for small screens
()
3. Programming the Calculator with JavaScript and AngularJS
Define the AngularJS application and controller
()
Set up the select options
()
Set default input values
()
Set variables for conversion values
()
Create a custom function in the controller
()
Calculate wattage usage for incandescent bulbs
()
Calculate wattage usage for remaining bulbs
()
Calculating the cost
()
Ex_Files_CalcTool_AngularJS.zip
(61 KB)