lab 4 and 5
Unit 4: Lesson 6 Lab 6.51
Purpose
In this lab, you will review different websites and examine the way the sites are coded and which language is used. Additionally, you will identify the types of logic used in each.
Lab Instructions
You’ve been given the task of reviewing different websites. The lab requires your review and understanding of programming, type of language and use of logic.
On uCertify, in section 6.5 for the Lab, review and provide your written experiences and recommendations for each of the lab questions.
If you want to become a programmer, you will need to study one or more languages. You have a variety of options available, including online materials, in-person classes, and study guides. While this lesson certainly didn’t teach you everything you need to know to become a programmer, you did learn some concepts and a bit about how to read and understand code. For this lab, you will look at a few different websites and see how their code was constructed.
Review a few different websites in Chrome or Edge. To view the source code in Chrome, right-click the page, and choose View Page Source. In Edge, press the F12 key to show the code. (Or, you can click the Settings And More menu—the three horizontal dots in the upper-right corner—and click F12 Developer Tools.) Some websites present themselves as more organized than others when you view the source code, document which website you initially choose. You will notice some similarities and differences between the developers and the websites.
*Please note the following as you review websites to evaluate which programming language they are built with:
● Complete Beginners Start Here: Getting Started with the Web - https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web
● Structuring the Web with HTML - https://developer.mozilla.org/en-US/docs/Learn/HTML
● Learn to Style HTML with CSS - https://developer.mozilla.org/en-US/docs/Learn/CSS
● JavaScript: Dynamic Client-Side Scripting: https://developer.mozilla.org/en-US/docs/Learn/JavaScript
Submission requirements: o Answer each of these topics/steps with a written paragraph of 3-4 sentences o Add an image (snip-it or screenshot) showing what you found
Here are some questions for you:
Unit 4: Lesson 6 Lab 6.52
1. In what language is the page written?
2. What organizational techniques do you see?
3. Do you see any branching or looping logic?
4. Does the page use functions at all?
5. Which scripting languages are used on the home page?
6. Find a string of text. Can you find where that string is on the web page?
7. Can you find any instances of where a background color is set?
Unit 4: Lesson 6 Lab 6.53
References