diff --git a/Wireframe/branch.html b/Wireframe/branch.html new file mode 100644 index 000000000..719633ddf --- /dev/null +++ b/Wireframe/branch.html @@ -0,0 +1,70 @@ + + + + + + Git branch + + + +
+

Git branch

+
+
+
+

what is a branch in Git?

+

+ A branch in Git is a lightweight, movable pointer to a specific commit + in a repository. Branches allow developers to work on different + features, bug fixes, or experiments independently without affecting + the main codebase. They are one of Git’s most important features + because they enable parallel development and make collaboration + easier. +

+

+ When a Git repository is created, it usually starts with a default + branch, commonly called main (previously often called master). This + branch contains the stable version of the project. Developers can + create new branches from the main branch to work on separate tasks. + For example, if a team is adding a new login feature, a developer + might create a branch named login-feature. Any changes made on this + branch remain isolated from the main branch until they are ready to be + integrated. +

+

+ Creating a branch is fast and efficient because Git does not copy all + project files. Instead, it creates a new pointer to an existing + commit. As development progresses, commits made on the branch record + changes independently of other branches. This allows multiple + developers to work on different parts of a project at the same time + without interfering with each other’s work. +

+

+ Once the work on a branch is complete and tested, it can be merged + back into the main branch. Merging combines the changes from the + branch with the target branch. Git automatically merges changes when + possible, but if two branches modify the same part of a file, a merge + conflict may occur. Developers must then manually resolve the conflict + before completing the merge. +

+

+ Branches are also useful for experimentation. A developer can create a + branch to test a new idea without risking the stability of the main + project. If the experiment succeeds, it can be merged; if not, the + branch can simply be deleted. +

+

+ In summary, a Git branch is a separate line of development within a + repository. It enables developers to work independently, collaborate + efficiently, test new ideas safely, and maintain a stable main + codebase. By isolating changes until they are ready to be integrated, + branches help teams manage software development in an organized and + flexible manner. +

+
+
+ + + diff --git a/Wireframe/chickpeas.html b/Wireframe/chickpeas.html new file mode 100644 index 000000000..731976e42 --- /dev/null +++ b/Wireframe/chickpeas.html @@ -0,0 +1,47 @@ + + + + + + Chickpeas + + + +
+

Chickpeas

+
+
+
+

Chickpeas: A Superfood for Health and Wellness

+

+ Chickpeas, also known as garbanzo beans, have been cultivated for thousands of years and are a staple in cuisines from the Middle East to the Mediterranean. Beyond their versatility and mild, nutty flavour, chickpeas are widely recognized as a superfood due to their dense nutritional profile and numerous health benefits. +

+

+ One of the most compelling reasons chickpeas are considered a superfood is their high protein content. Rich in plant-based protein, chickpeas provide essential amino acids needed for muscle growth, repair, and overall body function. They are particularly valuable for vegetarians and vegans, offering a wholesome, low-fat alternative to animal proteins. Protein, combined with their fiber content, also helps keep you full longer, aiding in appetite control and weight management. +

+

+ Chickpeas are loaded with dietary fibre, which supports digestive health by promoting regular bowel movements and feeding beneficial gut bacteria. Soluble fibre in chickpeas helps reduce LDL cholesterol, lowering the risk of heart disease, while also regulating blood sugar levels. This makes chickpeas an excellent choice for those managing diabetes or aiming for steady energy levels throughout the day. +

+

+ In addition to protein and fibre, chickpeas are packed with essential vitamins and minerals. They are a rich source of folate, iron, magnesium, manganese, and phosphorus, nutrients vital for red blood cell production, energy metabolism, bone health, and proper nervous system function. Regular consumption of chickpeas can help prevent nutrient deficiencies and support overall health. +

+

+ Another reason chickpeas are a superfood is their low glycemic index, which allows for slow digestion and gradual glucose release into the bloodstream. This contributes to stable blood sugar levels, improved energy, and reduced risk of insulin resistance. Their versatility also makes them easy to incorporate into a variety of dishes—hummus, salads, soups, stews, roasted snacks, and even baked goods—ensuring that getting their nutritional benefits can also be delicious. +

+

+ Chickpeas also have environmental benefits. They are nitrogen-fixing legumes, which enrich the soil and reduce the need for synthetic fertilizers. Compared to animal proteins, chickpeas require less water and produce fewer greenhouse gas emissions, making them an eco-friendly choice that supports sustainable agriculture. +

+

+ Incorporating chickpeas into your diet can be simple and rewarding. Nutrition experts recommend including at least two servings per week to reap the benefits for heart health, digestion, blood sugar regulation, and overall nutrient intake. With their combination of protein, fiber, vitamins, minerals, and environmental sustainability, chickpeas are more than just a pantry staple—they are a superfood that supports long-term wellness. +

+

+ In summary, chickpeas offer an impressive array of health benefits in a small, versatile package. Their ability to promote cardiovascular health, support digestion, provide sustained energy, and deliver essential nutrients makes them a true superfood. By including chickpeas regularly in meals, you can enhance your diet, improve overall health, and contribute to a more sustainable food system—all while enjoying delicious and satisfying dishes. +

+
+
+ + + diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..25399acef 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -1,33 +1,67 @@ - + - - + + + + + Wireframe - +
-

Wireframe

-

- This is the default, provided code and no changes have been made yet. -

+

Wireframing and documenting your code

- -

Title

+ Screen showing computer code +

What is the purpose of a README file?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + A README file is a document that provides essential information about + a project, software application, repository, or product...

- Read more + Read more +
+ +
+ Computer code +

What is the purpose of a wireframe?

+

+ A wireframe is a fundamental tool in the fields of web design, app + development, and user interface (UI) design. It serves as a blueprint + or schematic representation of a digital product, outlining its + structure, layout... +

+ Read more +
+ +
+ Tree branch +

What is a branch in Git?

+

+ A branch in Git is a lightweight, movable pointer to a specific commit + in a repository. Branches allow developers to work on different + features, bug fixes, or experiments independently without affecting + the main codebase ... +

+ Read more
diff --git a/Wireframe/legumes.html b/Wireframe/legumes.html new file mode 100644 index 000000000..c568034ce --- /dev/null +++ b/Wireframe/legumes.html @@ -0,0 +1,50 @@ + + + + + + Legumes + + + +
+

Legumes

+
+
+
+

Legumes: A Nutritional Powerhouse for Human Health

+

+ Legumes, which include beans, lentils, peas, chickpeas, and peanuts, are among the most nutrient-dense foods available. These humble plants have been staples in human diets for thousands of years, and modern science confirms their exceptional benefits for health and well-being. +

+

+ One of the most notable advantages of legumes is their high protein content. For individuals seeking plant-based protein, legumes are a natural solution, offering essential amino acids needed for muscle growth, repair, and overall bodily function. Unlike many animal-based protein sources, legumes are low in saturated fat, making them a heart-healthy alternative while still supporting strength and energy. +

+

+ Legumes are also an excellent source of dietary fibre, which plays a critical role in digestive health. Fibre promotes regular bowel movements, supports gut microbiota, and contributes to a feeling of fullness, which can help with weight management. Additionally, soluble fibre in legumes helps regulate blood sugar levels, reducing spikes after meals—a benefit particularly important for individuals with type 2 diabetes. Fibre also aids in lowering LDL cholesterol, supporting cardiovascular health over the long term. +

+

+ Beyond protein and fibre, legumes are rich in essential vitamins and minerals. Folate, iron, magnesium, potassium, and zinc are commonly found in legumes, helping with red blood cell formation, energy metabolism, bone health, and proper nerve and muscle function. Regular consumption of legumes can prevent nutrient deficiencies while providing a low-calorie, nutrient-dense dietary option. +

+

+ Another compelling reason to include legumes in the diet is their low glycemic index, which helps maintain steady energy levels and improves blood sugar management. This property, combined with their high fibre and protein content, makes legumes particularly beneficial for weight control and metabolic health. +

+

+ Legumes are also incredibly versatile in culinary applications. They can be added to soups, stews, salads, curries, dips, or even blended into spreads like hummus. Their mild flavour and ability to absorb seasonings make them adaptable to a wide variety of cuisines, helping people increase their nutrient intake without compromising taste. +

+

+ In addition to human health benefits, legumes contribute to environmental sustainability. As nitrogen-fixing plants, they enrich the soil, reducing the need for chemical fertilizers. They also require less water and produce fewer greenhouse gases compared to most animal-based protein sources, making them a responsible choice for both personal health and the planet. +

+

+ Incorporating legumes into the diet can be simple and highly rewarding. Nutritionists often recommend consuming at least 2–3 servings of legumes per week, which can support heart health, improve digestion, stabilize blood sugar, and promote weight management. With their unique combination of protein, fibre, vitamins, minerals, and environmental benefits, legumes are not only a nutritious dietary choice but also a smart investment in long-term health. +

+

+ In summary, legumes are much more than a traditional pantry staple—they are a superfood for modern diets. Their ability to provide essential nutrients, support metabolic and cardiovascular health, aid digestion, and promote sustainable food practices makes them one of the most valuable foods for human health. Adding a variety of legumes to daily meals is an easy, cost-effective way to enhance overall nutrition and well-being. +

+
+
+ + + diff --git a/Wireframe/lentils.html b/Wireframe/lentils.html new file mode 100644 index 000000000..ccad147a8 --- /dev/null +++ b/Wireframe/lentils.html @@ -0,0 +1,47 @@ + + + + + + Lentils + + + +
+

Lentils

+
+
+
+

Lentils: The Superfood You Shouldn't Ignore

+

+ Lentils, small lens-shaped legumes, have been a staple of diets around the world for thousands of years. From traditional Indian dals to Mediterranean soups, lentils are cherished not just for their taste but also for their remarkable nutritional value. They are widely recognized as a superfood—a nutrient-dense food that delivers a wide range of health benefits with relatively few calories. +

+

+ One of the standout features of lentils is their high protein content. For those seeking plant-based protein, lentils are an excellent choice, providing essential amino acids necessary for muscle growth, repair, and overall body function. They offer a heart-healthy alternative to meat, as they are naturally low in saturated fat and cholesterol-free. For vegetarians, vegans, or anyone looking to reduce animal protein intake, lentils are a powerful, versatile option. +

+

+ Dietary fibre is another reason lentils earn their superfood status. Rich in both soluble and insoluble fiber, lentils support healthy digestion, regulate bowel movements, and promote a feeling of fullness, which can aid in weight management. Soluble fibre also helps lower LDL cholesterol, reducing the risk of heart disease, while helping stabilise blood sugar levels—a key benefit for people with diabetes or insulin resistance. +

+

+ Lentils are packed with essential vitamins and minerals, including folate, iron, magnesium, potassium, and zinc. Folate supports cell growth and development, iron prevents anemia, magnesium aids in nerve and muscle function, and potassium helps maintain healthy blood pressure. Regular consumption of lentils contributes to overall vitality and helps prevent nutrient deficiencies. +

+

+ Another advantage of lentils is their low glycemic index, meaning they release energy slowly and help maintain stable blood sugar levels. This makes them an excellent food for sustained energy, weight management, and metabolic health. Lentils are also extremely versatile in cooking. They can be used in soups, stews, salads, veggie burgers, and even blended into spreads, making it easy to incorporate them into daily meals without sacrificing taste or variety. +

+

+ Beyond personal health, lentils are environmentally friendly. They are nitrogen-fixing plants, enriching the soil naturally and reducing the need for synthetic fertilizers. They also require less water than most animal protein sources and have a smaller carbon footprint, making them a sustainable choice that benefits both human health and the planet. +

+

+ Incorporating lentils into your diet can be simple and highly rewarding. Nutritionists often recommend including at least 2 to 3 servings per week, which can support heart health, improve digestion, stabilize blood sugar, and provide a rich source of vitamins and minerals. With their combination of protein, fiber, micronutrients, versatility, and environmental benefits, lentils clearly deserve their superfood label. +

+

+ In summary, lentils are more than just a pantry staple—they are a powerhouse of nutrition. By adding lentils to your meals regularly, you can enhance your health, support sustainable food practices, and enjoy delicious, versatile dishes. Whether in soups, salads, or stews, lentils are a simple, cost-effective way to nourish your body and promote long-term well-being. +

+
+
+ + + diff --git a/Wireframe/readme.html b/Wireframe/readme.html new file mode 100644 index 000000000..e78bbbbff --- /dev/null +++ b/Wireframe/readme.html @@ -0,0 +1,86 @@ + + + + + + README File + + + +
+

README File

+
+
+
+

What is the purpose of a README file?

+

+ A README file is a document that provides essential information about + a project, software application, repository, or product. It is usually + the first file that users, developers, and contributors read when they + encounter a project. The primary purpose of a README file is to + explain what the project is, how it works, and how people can use or + contribute to it. README files are commonly written in plain text or + Markdown format and are often named README.md. +

+

+ One of the most important purposes of a README file is to introduce + the project. It gives a brief overview of the project's goals, + features, and functionality. This helps users quickly understand + whether the project meets their needs without having to examine the + source code. A well-written README provides context and explains the + problem the project solves. +

+

+ Another key purpose is to provide installation instructions. Many + software projects require specific steps to install and configure them + correctly. A README typically includes information about + prerequisites, dependencies, setup procedures, and commands needed to + run the software. Clear installation guidance saves users time and + reduces confusion. +

+

+ README files also serve as user guides. They often contain examples + showing how to use the software, along with descriptions of available + features and options. Usage instructions help users get started + quickly and make effective use of the project. Screenshots, sample + commands, or code snippets may also be included to improve + understanding. +

+

+ For open-source projects, a README plays a crucial role in attracting + contributors. It can outline contribution guidelines, coding + standards, reporting procedures for bugs, and ways to submit + improvements. By providing clear instructions, the README encourages + collaboration and helps maintain consistency within the project. +

+

+ In addition, README files often include important project information + such as licensing details, version information, author credits, and + contact information. This ensures users understand the legal terms + under which the software is distributed and know where to seek support + if needed. +

+

+ A README file also improves project maintainability. New team members + can quickly learn about the project structure, objectives, and setup + process by reading the document. This reduces the learning curve and + facilitates smoother onboarding. +

+

+ In conclusion, the purpose of a README file is to act as a central + source of information for a project. It introduces the project, + explains installation and usage, provides contribution guidelines, and + offers essential documentation. A clear and comprehensive README + enhances usability, encourages collaboration, and helps users and + developers interact effectively with the project. Because it serves as + the project's first point of communication, a well-maintained README + is considered an essential component of successful software + development and project management. +

+
+
+ + + diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..a543004eb 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,35 +1,28 @@ -/* Here are some starter styles -You can edit these or replace them entirely -It's showing you a common way to organise CSS -And includes solutions to common problems -As well as useful links to learn more */ - -/* ====== Design Palette ====== - This is our "design palette". - It sets out the colours, fonts, styles etc to be used in this design - At work, a designer will give these to you based on the corporate brand, but while you are learning - You can design it yourself if you like - Inspect the starter design with Devtools - Click on the colour swatches to see what is happening - I've put some useful CSS you won't have learned yet - For you to explore and play with if you are interested - https://web.dev/articles/min-max-clamp - https://scrimba.com/learn-css-variables-c026 -====== Design Palette ====== */ +/* ====== Design Palette ====== */ +html { + font-size: 18px; + line-height: 1.2; +} :root { + --font-primary: "Roboto", sans-serif; + --clr-primary: #f5f5f5; + --clr-accent1: #bebfc5; + --clr-accent2: #dbd7d2; --paper: oklch(7 0 0); - --ink: color-mix(in oklab, var(--color) 5%, black); + --ink: #333333; --font: 100%/1.5 system-ui; --space: clamp(6px, 6px + 2vw, 15px); - --line: 1px solid; + --line: 1px solid #f5f5f5; --container: 1280px; } -/* ====== Base Elements ====== - General rules for basic HTML elements in any context */ +/* ====== Base Elements ====== */ body { + display: grid; + grid-template-rows: auto 1fr auto; + min-height: 100vh; background: var(--paper); color: var(--ink); - font: var(--font); + font-family: var(--font-primary); } a { padding: var(--space); @@ -41,10 +34,11 @@ svg { width: 100%; object-fit: cover; } -/* ====== Site Layout ====== -Setting the overall rules for page regions -https://www.w3.org/WAI/tutorials/page-structure/regions/ -*/ +/* ====== Site Layout ====== */ + +header { + text-align: center; +} main { max-width: var(--container); margin: 0 auto calc(var(--space) * 4) auto; @@ -53,30 +47,32 @@ footer { position: fixed; bottom: 0; text-align: center; + left: 50%; + transform: translateX(-50%); + width: 100%; + text-align: center; + background-color: #f1f1f1; + padding: 10px 0; + box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1); } -/* ====== Articles Grid Layout ==== -Setting the rules for how articles are placed in the main element. -Inspect this in Devtools and click the "grid" button in the Elements view -Play with the options that come up. -https://developer.chrome.com/docs/devtools/css/grid -https://gridbyexample.com/learn/ -*/ -main { - display: grid; - grid-template-columns: 1fr 1fr; - gap: var(--space); - > *:first-child { - grid-column: span 2; +/* ====== Articles Grid Layout ==== */ + +@media (min-width: 550px) { + main { + display: grid; + grid-template-columns: 1fr 1fr; + gap: var(--space); + > *:first-child { + grid-column: span 2; + } } } -/* ====== Article Layout ====== -Setting the rules for how elements are placed in the article. -Now laying out just the INSIDE of the repeated card/article design. -Keeping things orderly and separate is the key to good, simple CSS. -*/ +/* ====== Article Layout ====== */ article { border: var(--line); padding-bottom: var(--space); + background-color: var(--clr-primary); + margin-bottom: 1rem; text-align: left; display: grid; grid-template-columns: var(--space) 1fr var(--space); @@ -87,3 +83,14 @@ article { grid-column: span 3; } } + +article a { + font-weight: 600; + background-color: var(--clr-accent1); + text-transform: uppercase; + text-decoration: none; +} + +article a:hover { + background-color: var(--clr-accent2); +} diff --git a/Wireframe/wireframe.html b/Wireframe/wireframe.html new file mode 100644 index 000000000..e1f0e628f --- /dev/null +++ b/Wireframe/wireframe.html @@ -0,0 +1,79 @@ + + + + + + Wireframe + + + +
+

Wireframe

+
+
+
+

What is the purpose of a wireframe?

+

+ A wireframe is a fundamental tool in the fields of web design, app + development, and user interface (UI) design. It serves as a blueprint + or schematic representation of a digital product, outlining its + structure, layout, and key elements without diving into visual design + details like colours, fonts, or images. The primary purpose of a + wireframe is to provide a clear and organized framework that guides + designers, developers, and stakeholders in creating an intuitive, + functional, and user-friendly interface. +

+

+ One of the main purposes of a wireframe is planning and organization. + By presenting a visual skeleton of a website or application, + wireframes allow teams to define the placement of key components such + as navigation menus, buttons, forms, content sections, and interactive + elements. This ensures that the interface is logically structured, + making it easier for users to navigate and complete tasks efficiently. + Without a wireframe, designers may struggle to visualize the flow and + hierarchy of content, potentially leading to a confusing or cluttered + interface. +

+

+ Wireframes also facilitate communication and collaboration among + stakeholders. Because they focus on functionality and structure rather + than aesthetics, wireframes make it easier for designers, developers, + project managers, and clients to discuss ideas and provide feedback. + For instance, a client can review a wireframe and suggest adjustments + to the layout or features before any coding or visual design begins. + This early-stage feedback helps prevent costly revisions later in the + development process. +

+

+ Another key purpose is usability testing and problem-solving. + Wireframes allow designers to identify potential usability issues and + make improvements before investing significant time and resources into + detailed design or coding. By testing a wireframe with users or team + members, designers can evaluate navigation paths, the placement of + interactive elements, and overall user flow. This iterative process + ensures the final product is user-centric and meets its intended + goals. +

+

+ Finally, wireframes serve as a development guide. They act as a + reference for developers, providing a clear understanding of what + needs to be built and how different elements should interact. This + reduces ambiguity and streamlines the development process, ultimately + saving time and resources. +

+

+ In summary, wireframes are essential tools in the design and + development of digital products. They organize content, enhance + communication, identify usability issues, and guide development, all + while focusing on structure and functionality rather than visual + aesthetics. By providing a clear blueprint early in the project, + wireframes contribute significantly to creating intuitive and + effective user experiences. +

+
+
+ + +