Feature Datepicker
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 50/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu trong component bảng đặt chỗ và xem lại hướng dẫn sử dụng cơ bản của js-datepicker được liên kết trong issue. Thêm package, đặt các ID khác nhau cho các input check-in và check-out, rồi tạo một picker cho mỗi input. Hoàn tất khi một date picker xuất hiện lúc nhấp vào một trong hai input.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
28. Date picker
Instructions: Add the js-datepicker package to your project using npm install, and import it at the top of your booking table component. Add different IDs to your 'check in date' and 'check out date' <input> elements, then create two date pickers using const checkInPicker = datepicker(YOUR_ID) (where YOUR_ID is the ID you assigned to your check in/check out date elements).
Hint: Read the js-datepicker usage guide
Test:
The date picker appears when you click on the 'check in date' and 'check out date' input elements.
Reflection:
Using js-datepicker in this exercise allows you to practice installing and working with packages in JavaScript.
Packages contain new functions and properties to work with that may not be available in native JavaScript/HTML. Using packages can often save time instead of writing your own functions, as you are importing code that someone else has written. However, this can have downsides:
- not all packages are high quality
- some may have bugs or may reduce accessibility by recreating native elements
(js-datepicker recreates HTML's native datepicker element)
Think about some of the code you have written in this project. Are there any packages available that might have helped you to complete the features?
For example, #26 used validation. Searching npmjs.com for 'validate' shows multiple packages, such as 'validator' and 'Validate'.
Open both of these packages in your browser, and consider the following questions:
- Is it clear what this package does? Will it solve my specific problem better than writing my own code?
- Do I trust that the code in this package is safe to run on my machine? Do other people trust this package? (Hint: look at weekly downloads, last update, dependents, and visit the repository)
- Is this package accessible? Will it work on all browsers?
- If I decide to use this package and it breaks, will I know how to fix it or replace it?
- Ngôn ngữ chính
- JavaScript
- Star
- 1
- Fork
- 28
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeYourFuture/React-Module-Project
-
Feature Error Message Đang mở♟️ Dependent ticket 🏕 Priority Mandatory 🐇 Size Small 📅 Week 3 📅 Week 4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Loading Message Đang mở🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Search State Đang mở🐂 Size Medium 📅 Week 3 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Active Row Đang mở🏝️ Priority Stretch 🐂 Size Medium 📅 Week 2 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Bookings state Đang mở🏕 Priority Mandatory 🐇 Size Small 📅 Week 2 🧩 Feature
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Tất cả issue của CodeYourFuture/React-Module-Project
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Theme loads third-party resources on every page (jsdelivr web font, cdnjs Font Awesome) – GDPR Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
nightscout/nocturne#1414 ·
-
bug v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
modelcontextprotocol/inspector#2458 · 1 bình luận ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
carbon-design-system/ibm-products#9907 ·