Use the <a> tag to link to external sites or internal pages.
- when linking internally take into consideration directory structure and relative file path when imputing the file name
Other features:
- email links
mailto: - open link in new window
target="_blank" - link to part of the same page using element id attribute
Newer more semantic elements introduced in HTML5 provide a clearer structure over the previous method of using div.
A function is a group of statements used together to accomplish as specific task.
- once you declare a function, it still needs to be called to execute the code
- you can pass arguements into the function that can be used within it
- to get a value out of a function you need to use
return - expressions that return a value can be used anywhere a value is accepted
- variable scope plays a big factor in functions
- varibles declared in functions or blocks are local to those
- variables declared at the top level are global
Code Fellows 6 reasons for pair programming
Pair programming allows you to focus on improving listening, speaking, reading, and writing, all while still learning to code!
6 Reasons for pair programming:
- Greater Efficiency
- while it make take longer up front, the code developed is usually higher quality
- Engaged Collaboration
- when working with someone you are both focused and less easily distracted
- Learning From Fellow Students
- exposure to different problem solving styles and techniques
- Social Skills
- getting comfortable talking
- Job Interview Readiness
- learning to talk to and through code
- Work Environment Readiness
- this is a common practice in the workplace and its worth knowing