Skip to content
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

Fork, Commit, Merge - Easy Issue (XML) #1379

Open
nikohoffren opened this issue Oct 31, 2023 · 0 comments
Open

Fork, Commit, Merge - Easy Issue (XML) #1379

nikohoffren opened this issue Oct 31, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation easy first-contributor first-contributors good first issue Good for newcomers help wanted Extra attention is needed up-for-grabs xml

Comments

@nikohoffren
Copy link
Member

Fork, Commit, Merge - Easy Issue (XML)

Create an XML Representation of a Bookstore

Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!

Description:

For this task, you're required to design an XML structure that represents a bookstore. The bookstore contains multiple books, and each book has a title, an author, a published year, and a price.

Requirements:

  • The root element should be <bookstore>.
  • Each book in the bookstore should be represented by a <book> element.
  • Each <book> element should have child elements:
    • <title> : Contains the title of the book.
    • <author> : Contains the author's name.
    • <year> : Contains the published year.
    • <price> : Contains the book's price.

Hints:

  • Ensure your XML is well-formed. This means every start tag has a matching end tag, tags are properly nested, etc.
  • Try to validate your XML using an XML validator tool to make sure it's correct.

Acceptance Criteria:

  • The XML file should properly represent a bookstore and its collection of books.
  • The XML should be well-formed and pass validation checks.

How to get started

Open the tasks/xml/easy directory from the root of your project.
Then open up the book_store.xml file and once it is properly created according to the XML syntax, you are done and ready to make a pull request!
Note: You can test your XML code in a editor like this.

Check out README.md for more instructions and how to make a pull request.

Feel free to ask any questions here if you have some problems!

Also, kindly give this project a star to enhance its visibility for new developers!

@nikohoffren nikohoffren added documentation Improvements or additions to documentation easy xml first-contributors first-contributor good first issue Good for newcomers help wanted Extra attention is needed up-for-grabs labels Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation easy first-contributor first-contributors good first issue Good for newcomers help wanted Extra attention is needed up-for-grabs xml
Projects
None yet
Development

No branches or pull requests

1 participant