From the course: JavaScript: Progressive Web Applications
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Set a Start URL and basic styling - JavaScript Tutorial
From the course: JavaScript: Progressive Web Applications
Set a Start URL and basic styling
- [Instructor] Okay, back in NetBeans. Right-click on the site.web manifest file and choose rename. Rename the file to manifest.json. Renaming this file to be a .json file, will highlight the syntax in the editor. After you've changed the name, we'll need to change the reference in the html. So find the spot where it is referred to and make sure you change the name there as well. Then double-click to open the manifest file. Let's change the name property to be ncc computer science. Let's change the theme color property to be the blue we used in our MAC OS 10 setup. So that's going to be hashtag 264DE4. Then add a start URL property. So we'll need a comma, I'll go to the next line, and add start URL and set that equal to index.html. Okay save that. Then jump back into index.html and let's find the theme color meta tag. And we're gonna change that to the blue as well. And so that's going to be again hashtag 264DE4. This tag overrides the theme color set in the manifest. Since this is a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.