diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..88789d8ad 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,27 @@ - - - + + + My form exercise - - - - -
-

Product Pick

-
-
-
+ + + + +
+

Product Pick

+
+
+ - - -
- - - + +
+ + + \ No newline at end of file diff --git a/Wireframe/images/branch.webp b/Wireframe/images/branch.webp new file mode 100644 index 000000000..779928a41 Binary files /dev/null and b/Wireframe/images/branch.webp differ diff --git a/Wireframe/images/md.png b/Wireframe/images/md.png new file mode 100644 index 000000000..1bdfb2b5d Binary files /dev/null and b/Wireframe/images/md.png differ diff --git a/Wireframe/images/wireframes-01.png.webp b/Wireframe/images/wireframes-01.png.webp new file mode 100644 index 000000000..c927aec89 Binary files /dev/null and b/Wireframe/images/wireframes-01.png.webp differ diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..ebb77a8ef 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -1,33 +1,95 @@ - - - - Wireframe - - - -
-

Wireframe

-

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

-
+ + + + + + The Blog | Learning Programming Basics + + + + + + + + + + +
-
- -

Title

-

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. -

- Read more -
+
+ illustration of a readme.md file +
+

What is the purpose of a README file

+

+ according to GitHub Docs, a README file serves as the primary source of information about a project + and + helps users understand how to install, use, and contribute to it (GitHub Docs, n.d.). +

+

+ A README file is one of the most important documents within a software + project. It is usually the first file that users, developers, recruiters, + or potential employers look at when they visit a project's repository. + The name "README" comes from the idea that it should be the file people + read before doing anything else with the project. +

+ README file ... +
+
+ +
+
+ illustration of a man showing a wireframe +

What is the purpose of a wireframe

+

+ A wireframe is a simple visual representation of a website or application's layout. It acts as a + blueprint. +

+

Figma describes a wireframe as a low-fidelity representation of a user interface that focuses on + layout, + structure, and functionality before visual design decisions are made (Figma, n.d.).

+ Wireframes +
+ +
+ illustration of a git tree branching out +

What is a branch in Git?

+

Git documentation explains that branches allow developers to diverge from the main line of + development + and work independently on features before merging their changes back into the project + (Git SCM, n.d.).

+

+

+ A branch in Git is a separate line of development that allows developers to + work on changes independently without affecting the main project. +

+ Git + branching +
+
- - +
+ + + diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..2626d1509 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,89 +1,78 @@ -/* 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 */ +body { + margin: 0; + box-sizing: border-box; + line-height: 1.5; + font-family: "Cantarell", sans-serif; + font-weight: 400; +} -/* ====== 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 ====== */ -:root { - --paper: oklch(7 0 0); - --ink: color-mix(in oklab, var(--color) 5%, black); - --font: 100%/1.5 system-ui; - --space: clamp(6px, 6px + 2vw, 15px); - --line: 1px solid; - --container: 1280px; +.container { + width: 80%; + max-width: 1200px; + margin: 0 auto; } -/* ====== Base Elements ====== - General rules for basic HTML elements in any context */ -body { - background: var(--paper); - color: var(--ink); - font: var(--font); +article { + border: 1px solid #fb8500; +} + +.article-feature-text { + padding: 0 0 2em 2em; +} + +.article-secondary-flex { + display: flex; + justify-content: space-between; +} + +.article-sec { + margin-top: 1.5em; + padding: 1.5em; + width: 44% } -a { - padding: var(--space); - border: var(--line); - max-width: fit-content; +img{ + width: 100%; } -img, -svg { - width: 100%; - object-fit: cover; + +h1 { + font-weight: 900; + font-style: italic; + color: #c1121f; + margin-bottom:0; } -/* ====== Site Layout ====== -Setting the overall rules for page regions -https://www.w3.org/WAI/tutorials/page-structure/regions/ -*/ -main { - max-width: var(--container); - margin: 0 auto calc(var(--space) * 4) auto; + +.site-tagline { + color: #780000; + margin-top: 0; + font-size: 18px; + font-weight: 700; } + +/* ====== Header ====== */ +header { + text-align: center; + margin: 0; + padding: 20px; +} + footer { - position: fixed; - bottom: 0; - text-align: center; + text-align: center; } -/* ====== 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; - } + +/* ====== Navigation ====== */ +.article-read-more { + text-decoration: none; + border: 1px solid #03045e; + padding: .7em 1.2em; + color: #fff; + background: #e76f51; + border-radius: 2px; } -/* ====== 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 { - border: var(--line); - padding-bottom: var(--space); - text-align: left; - display: grid; - grid-template-columns: var(--space) 1fr var(--space); - > * { - grid-column: 2/3; - } - > img { - grid-column: span 3; - } + +.article-read-more:hover, +.article-read-more:focus { + background: #ffc300; + color: black; + font-size: 20px; } + +