Feature Datepicker
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 50/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- javascript
- Bereich
- frontend
Rechercherichtung
Beginne in der Komponente der Buchungstabelle und prüfe den im Issue verlinkten Leitfaden zur grundlegenden Verwendung von js-datepicker. Füge das Paket hinzu, gib den Check-in- und Check-out-Eingabefeldern unterschiedliche IDs und erstelle für jedes einen Picker. Erledigt ist es, wenn beim Klicken auf eines der beiden Eingabefelder ein Datepicker angezeigt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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?
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1
- Forks
- 28
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CodeYourFuture/React-Module-Project
-
Feature Error MessageOffen♟️ Dependent ticket 🏕 Priority Mandatory 🐇 Size Small 📅 Week 3 📅 Week 4
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Feature Loading MessageOffen🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Feature Search StateOffen🐂 Size Medium 📅 Week 3 🧩 Feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Feature Active RowOffen🏝️ Priority Stretch 🐂 Size Medium 📅 Week 2 🧩 Feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Feature Bookings stateOffen🏕 Priority Mandatory 🐇 Size Small 📅 Week 2 🧩 Feature
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
Alle Issues in CodeYourFuture/React-Module-Project
Ähnliche Issues
-
curriculum documentation quality
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
githubnext/gh-aw-workshop#3897 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 91/100
Maintainer antworten meist innerhalb von 1 Tag
-
Add: RSV Honduras FeedOffencheck:failed feeds:add
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
iptv-org/database#36179 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag