Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

@ArminNouri98
Copy link

@ArminNouri98 ArminNouri98 commented Oct 13, 2024

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

I did as much as I did in one commet! i should make more commit?
Ask any questions you have for your reviewer.

…ncluding their name, address, and details about the selected T-shirt such as size, color, and shipping date.
@netlify
Copy link

netlify bot commented Oct 13, 2024

Deploy Preview for cyf-ufd ready!

Name Link
🔨 Latest commit a9123e9
🔍 Latest deploy log https://app.netlify.com/sites/cyf-ufd/deploys/671e10728380330008e1f04e
😎 Deploy Preview https://deploy-preview-210--cyf-ufd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ArminNouri98 ArminNouri98 changed the title Create a form control that collects information about the customer, including their name, address, and details about the selected T-shirt such as size, color, and shipping date. Sheffiled_ArminNouri_ HTML-CSS-Module_Form controls _Week 2 #203 Oct 13, 2024
@ArminNouri98 ArminNouri98 changed the title Sheffiled_ArminNouri_ HTML-CSS-Module_Form controls _Week 2 #203 Sheffiled_ArminNouri_ HTML-CSS-Module_Form controls _Week 2 Oct 13, 2024
@ArminNouri98 ArminNouri98 added the Needs Review Participant to add when requesting review label Oct 14, 2024
@ArminNouri98 ArminNouri98 changed the title Sheffiled_ArminNouri_ HTML-CSS-Module_Form controls _Week 2 Sheffiled_ArminNouri_Form controls _Week 2 Oct 14, 2024
@ArminNouri98 ArminNouri98 added 👀 Review Testing Changes requested to do with testing 📅 Sprint 2 Assigned during Sprint 2 of this module 📍 HTML & CSS Focusing on HTML and CSS labels Oct 15, 2024
@moneyinthesky moneyinthesky removed the 📅 Sprint 2 Assigned during Sprint 2 of this module label Oct 17, 2024
@SallyMcGrath SallyMcGrath added the 📅 Sprint 2 Assigned during Sprint 2 of this module label Oct 17, 2024
@ArminNouri98 ArminNouri98 changed the title Sheffiled_ArminNouri_Form controls _Week 2 sheffield_ArminNouri_Form controls _Week 2 Oct 18, 2024
@ArminNouri98 ArminNouri98 added 👀 Review Requirements Changes requested to meet requirements and removed 👀 Review Testing Changes requested to do with testing labels Oct 18, 2024
Copy link
Member

@SallyMcGrath SallyMcGrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there. What is the purpose of the JS you have submitted?

@SallyMcGrath SallyMcGrath removed 📅 Sprint 2 Assigned during Sprint 2 of this module 📍 HTML & CSS Focusing on HTML and CSS Needs Review Participant to add when requesting review labels Oct 18, 2024
@ArminNouri98 ArminNouri98 added Reviewed Volunteer to add when completing a review Needs Review Participant to add when requesting review and removed Reviewed Volunteer to add when completing a review labels Oct 18, 2024
@ArminNouri98
Copy link
Author

ArminNouri98 commented Oct 18, 2024

I checked everything and realized I had made many mistakes, so I also deleted the JavaScript. I looking forward!

Copy link

@jamesbaskerville jamesbaskerville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start @ArminNouri98! My main feedback is focused on:

  1. requirements -- there are a few that have been missed
  2. styling -- you have a lot of styles, and some of it conflicts/gets overwritten!

<div>
<label for="date">Choose Delivery Date:</label>

<input type="date" name="date" id="date" min="31/10/2024" max="31/11/2024" required="">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I notice that the date picker allows dates outside of your bounds here. Any ideas why?

Also, what does required="" do?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for notice this i relisede I wrote wrong format it should be yyyy/mm/dd.
required is force to write here but I can set what is format what i want inside of "" this.

Comment on lines +33 to +40
<div>
<label for="address">Address</label>
<input type="text" id="address" name="address" required>
</div>
<div class="postcode">
<label for="postcode">Postcode</label>
<input type="text" id="postcode" name="postcode" required>
</div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this information? If so, how should we validate it (e.g. Postcodes have a certain format)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for send Item we need address but for validate I can add patern on inpute for the check
Post code:pattern="^[A-Z]{1,2}\d[A-Z\d]? \d[A-Z]{2}$" like this


input, select, button {
color: #1a1a1a; /* Darker text for better contrast */
background-color: #ffffff; /* White background for form controls */

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I notice that your form control backgrounds are not white -- what is your intention?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not haveing really good realtions with colors but for take 100% accebility i should do it.

padding: 10px 0;
margin-top: 20px;
}
button#choose {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way we can target the submit button of the form without using its ID?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think there is just one button so we can but I couldn't remeber why I did this ?:)

<div class="formbox">
<div>
<label for="name">Name</label>
<input type="text" id="name" name="name" required>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the validation criteria for names in the requirements?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just force to write name but if we want we can write a Pattern for the name
pattern="^[A-Za-z]+(([',. -][A-Za-z ])?[A-Za-z])$"

@jamesbaskerville jamesbaskerville added 👀 Review Testing Changes requested to do with testing and removed Needs Review Participant to add when requesting review labels Oct 26, 2024
delete js code from html
delete index.js file
@ArminNouri98 ArminNouri98 added Complete Participant to add when work is complete and review comments have been addressed and removed 👀 Review Requirements Changes requested to meet requirements 👀 Review Testing Changes requested to do with testing labels Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Complete Participant to add when work is complete and review comments have been addressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants