Introduction to Front End Development
Learning Outcome Guide
Section titled “Learning Outcome Guide”At the end of this class, you should be able to…
- Describe the role of a front-end developer within the software development lifecycle.
- Identify key technologies and tools used in front-end development, including HTML, CSS, and JavaScript.
- Explain the course structure, learning outcomes, and assessment methods.
- Navigate and set up the development environment, including code editors and browser developer tools.
Coding Demo
Section titled “Coding Demo”✅ In-Class Demo Jan 2026 term
To run the coding demo, you need to have accepted your Student Workbook and cloned it onto your computer.
-
Open your Student Workbook in VS Code.
-
Open the terminal window.
-
Paste in the following.
Run from the root of your repository pnpm dlx tiged --disable-cache --force DG-InClass/SDEV-1150-A04-Jan-2026/sk/lesson-01 ./src/lesson-01 -
View the code in the files
index.html,main.js, andstyles.css -
Open Windows Explorer.
-
Double-click the
index.htmlto open it in your browser.Notice how the URL in the browser’s address bar notes that this is a File as opposed to a standard URL.
-
Open the dev tools. Notice the error in loading the JavaScript file.
-
Make some code edits.
css/styles.css h1 {color: rebeccapurple;text-decoration: underline;}js/main.js console.log('Lesson 01 starter loaded');alert('Hello World-Wide-Web'); -
Discuss why the CSS was loaded, but the JavaScript was not.
What would happen if we edited the
index.htmlreference for the script file, changing it from a root-relative link format to a relative link? -
Convert this to a Web Project.
Run the following from the terminal. Make sure you are in the root of
lesson-01folder../src/lesson-01 of your workbook pnpm initpnpm add -D vitecode package.jsonThen, edit line 7 of the
package.jsonto read as follows:package.json "dev": "vite"Create a file named
package.jsonand paste in the following code. Then runpnpm installin the terminal.package.json {"name": "lesson-01","version": "1.0.0","description": "Web Server","main": "index.js","scripts": {"dev": "vite"},"keywords": [],"author": "","license": "ISC","packageManager": "pnpm@10.17.1","devDependencies": {"vite": "^7.3.1"}} -
Run
pnpm devto run the web server. Pressoandenterto open the page in the browser. -
Observe that the JavaScript now loads and runs.
To finish up, commit and push your code. In the terminal, run the following:
git add .git commit -m "My first code demo"git push