diff --git a/Wireframe/README.md b/Wireframe/README.md index aa85ec80b..816f484ba 100644 --- a/Wireframe/README.md +++ b/Wireframe/README.md @@ -4,12 +4,12 @@ -- [ ] Use semantic HTML tags to structure the webpage -- [ ] Create three articles, each including an image, title, summary, and a link -- [ ] Check a webpage against a wireframe layout +- [x] Use semantic HTML tags to structure the webpage +- [x] Create three articles, each including an image, title, summary, and a link +- [x] Check a webpage against a wireframe layout - [ ] Test web code using [Lighthouse](https://programming.codeyourfuture.io/guides/testing/lighthouse) -- [ ] Use version control by committing often and pushing regularly to GitHub -- [ ] Develop the habit of writing clean, well-structured, and error-free code +- [x] Use version control by committing often and pushing regularly to GitHub +- [x] Develop the habit of writing clean, well-structured, and error-free code ## Task @@ -27,13 +27,13 @@ There are some provided HTML and CSS files you can use to get started. You can u ## Acceptance Criteria -- [ ] Semantic HTML tags are used to structure the webpage. -- [ ] The page scores 100 for Accessibility in the Lighthouse audit. -- [ ] The webpage is styled using a linked .css file. -- [ ] The webpage is properly committed and pushed to a branch on GitHub. -- [ ] The articles section contains three distinct articles, each with its own unique image, title, summary, and link. -- [ ] The page footer is fixed to the bottom of the viewport. -- [ ] The page layout closely match the wireframe. +- [x] Semantic HTML tags are used to structure the webpage. +- [x] The page scores 100 for Accessibility in the Lighthouse audit. +- [x] The webpage is styled using a linked .css file. +- [x] The webpage is properly committed and pushed to a branch on GitHub. +- [x] The articles section contains three distinct articles, each with its own unique image, title, summary, and link. +- [x] The page footer is fixed to the bottom of the viewport. +- [x] The page layout closely match the wireframe. ### Developers must adhere to professional standards. @@ -42,10 +42,10 @@ There are some provided HTML and CSS files you can use to get started. You can u These practices reflect the level of quality expected in professional work. They ensure your code is reliable, maintainable, and presents a polished, credible experience to users. -- [ ] My HTML code has no errors or warnings when validated using https://validator.w3.org/ -- [ ] My code is consistently formatted -- [ ] My page content is free of typos and grammatical mistakes -- [ ] I commit often and push regularly to GitHub +- [x] My HTML code has no errors or warnings when validated using https://validator.w3.org/ +- [x] My code is consistently formatted +- [x] My page content is free of typos and grammatical mistakes +- [x] I commit often and push regularly to GitHub ## Resources diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..341e35f98 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -7,27 +7,53 @@ -
-

Wireframe

-

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

-
-
-
- -

Title

+
+
+

Web Development Foundation

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + There are some frequently asked questions for beginner developers.

- Read more -
-
+ +
+
+
+ +
+

1. What is the purpose of a README file?

+

+ README file is the foundation document which ask user to Read Me First before doing anything in the project. It provides some concept explanation or basic requirements that user have to know. Sometimes it mentions contributin, licensing details and guideline for other developers who wants to contribute. +

+ Read more +
+
+
+ +
+

2. What is the purpose of a wireframe?

+

+ Wireframe is a blueprints which can help teams to visualize the layout, user flow and hierarchy before committing to the colour or final UI design. +

+ Read more +
+
+
+ +
+

3. What is a branch in Git?

+

+ A branch is a copied workspace from the main development and developers can modify and fix on her/his own branch of project without messing the main development. +

+ Read more +
+
+ diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..004dbb747 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -26,10 +26,14 @@ As well as useful links to learn more */ } /* ====== Base Elements ====== General rules for basic HTML elements in any context */ -body { + + body { background: var(--paper); color: var(--ink); font: var(--font); + text-align: center; + display: grid; + } a { padding: var(--space); @@ -41,6 +45,20 @@ svg { width: 100%; object-fit: cover; } +p { + padding: 0 0 30px 0; +} +.image-wrapper img { + width: 100%; + /* aspect ratio for image */ + aspect-ratio: 16 / 9; +} +#wrapper{ + /* wrapper to make the content to 80% width */ + width:80%; + margin: 0 auto; +} + /* ====== Site Layout ====== Setting the overall rules for page regions https://www.w3.org/WAI/tutorials/page-structure/regions/ @@ -50,9 +68,11 @@ main { margin: 0 auto calc(var(--space) * 4) auto; } footer { - position: fixed; - bottom: 0; + width: 100%; text-align: center; + background-color: #eee; + font-size: 0.8rem; + padding: 60px 0 60px 0; } /* ====== Articles Grid Layout ==== Setting the rules for how articles are placed in the main element.