Week 12
Why do we use loops?
-Loops are very convenient because it allows the programmer to shorten what could be hundreds of thousands of lines of code to just a few lines. It allows the programmer to write the code once and repeat it as many times needed.
To run it a specific number of times, use a “For” loop. If we don’t have a specific number of times, use a “While” loop.
A “For” loop code looks like — for (int i = 0; i < 10; I++)
Week 13
Which coding language adds structure to a web page?
-Use HTML. It makes up the layout and structure for a website,
Which coding language adds functionality to a web page?
-Use JavaScript. It is designed to provide interactivity on your webpage.
Which coding language adds design elements to a web page?
-Use CSS. It is used for adding colors, layouts, and fonts.
Your image is very simple, but very effective for distinguishing these three languages.