-
Notifications
You must be signed in to change notification settings - Fork 15
Brussels | itp-2025-1 | Tam Huynh | Onboarding | Coursework/form-controls branch #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
c1a9a63
e5f2da6
1050113
686469a
0713b17
84df316
20f4e68
a4dc304
eea15bf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,11 +17,45 @@ <h1>Product Pick</h1> | |
| <!-- | ||
| try writing out the requirements first as comments | ||
| this will also help you fill in your PR message later--> | ||
| <label for="name">What's your name?</label> | ||
| <br> | ||
| <input type="text" name="text" id="name" minlength="3" required placeholder="yourName"> | ||
| <br> | ||
|
|
||
| <label for="mail">What's your email?</label> | ||
| <br> | ||
| <input type="email" id="mail" name="mail" required placeholder="example@domain.com" pattern="^[^@\s]+@[^@\s]+\.[^@\s]+$"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sure all related inputs are grouped together with fieldset and legend, i.e. name and email |
||
|
|
||
| <p>What color do you like?</p> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The colour options should be grouped using semantic html. Wrap the radio buttons using fieldset and legend |
||
|
|
||
| <label for="black">black</label> | ||
| <input type="radio" id="black" name="answer" value="black" required> | ||
| <br> | ||
| <label for="white">white</label> | ||
| <input type="radio" id="white" name="answer" value="white"> | ||
| <br> | ||
| <label for="blue">blue</label> | ||
| <input type="radio" id="blue" name="answer" value="blue"> | ||
| <br> | ||
|
|
||
| <label for="size">What's size?</label> | ||
| <select id="size" name="size" required> | ||
| <option value="">None</option> | ||
| <option value="xs">XS</option> | ||
| <option value="s">S</option> | ||
| <option value="m">M</option> | ||
| <option value="l">L</option> | ||
| <option value="xl">XL</option> | ||
| <option value="xxl">XXL</option> | ||
| </select> | ||
| <br> | ||
| <input type="submit" value="Send"> | ||
|
|
||
| </form> | ||
| </main> | ||
| <footer> | ||
| <!-- change to your name--> | ||
| <h2>By HOMEWORK SOLUTION</h2> | ||
| <h2>By Tam</h2> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,33 +1,58 @@ | ||
| <!DOCTYPE html> | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Wireframe</title> | ||
| <title>Intro to Web Development</title> | ||
| <link rel="stylesheet" href="style.css" /> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Wireframe</h1> | ||
| <h1>Web Development for Dummies</h1> | ||
| <p> | ||
| This is the default, provided code and no changes have been made yet. | ||
| Explanation of the purpose of a README file, a wireframe, and what a Git branch is. These three elements are | ||
| fundamental to structuring, planning, and collaborating effectively in software development. | ||
| </p> | ||
| </header> | ||
| <main> | ||
| <article> | ||
| <img src="placeholder.svg" alt="" /> | ||
| <h2>Title</h2> | ||
| <img src="images/readme-github1.jpg" alt="image of a symbol from a readme file" /> | ||
| <h2>What is the purpose of a README file?</h2> | ||
| <p> | ||
| Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, | ||
| voluptates. Quisquam, voluptates. | ||
| Including a clear and well-structured README is considered a best practice as it helps others quickly | ||
| understand the project, encourages adoption or contributions, and makes maintenance easier for everyone | ||
| involved. | ||
| </p> | ||
| <a href="">Read more</a> | ||
| <a href="https://www.makeareadme.com/">Read more</a> | ||
| </article> | ||
|
|
||
| <article> | ||
| <img src="images/wireframe1.png" alt="image of a wireframe" /> | ||
| <h2>What is the purpose of a wireframe?</h2> | ||
| <p> | ||
| The purpose of a wireframe is to visually map out the basic structure and functionality of a website, app, or | ||
| digital product before adding any detailed design elements or content. Wireframes focus on layout, user flow, | ||
| and placement of key elements like menus, buttons, and content sections, helping teams to plan and refine | ||
| usability, navigation, and information architecture at an early stage. | ||
| </p> | ||
| <a href="https://www.experienceux.co.uk/faqs/what-is-wireframing/">Read more</a> | ||
| </article> | ||
|
|
||
| <article> | ||
| <img src="images/branchGit.jpeg" alt="image of a example of a git branch" /> | ||
| <h2>What is a branch in Git?</h2> | ||
| <p> | ||
| A branch in Git is an independent line of development that allows you to work on new features, bug fixes, or | ||
| experiments in isolation from the main code base (usually the main or master branch). It works like a parallel | ||
| workspace where changes can be made without affecting other branches, enabling multiple streams of work to | ||
| happen simultaneously. | ||
| </p> | ||
| <a href="https://www.w3schools.com/git/git_branch.asp">Read more</a> | ||
| </article> | ||
| </main> | ||
|
|
||
| <footer> | ||
| <p> | ||
| This is the default, provided code and no changes have been made yet. | ||
| </p> | ||
| <p>Made with love, Tam.</p> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
| </html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name field should allow 2 or more characters, not 3 or more