Fork, Commit, Merge - Easy Issue (XML)
nikohoffren opened this issue · 0 comments
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!