!NOTE! The "Jon Doe" is a placeholder for your first and last names.
In this activity, you will create a basic resume webpage using HTML. This activity will demonstrate that by understanding the fundamentals of HTML, you can construct actual web pages!
Make sure to watch the INTRO VIDEO before you start.
This assignment should prove that a student is able to:
- Create an index.html file in VSCode.
- Add the HTML Boilerplate to the HTML document.
- Update the document title through the
titletag content. - Create the page main heading with the
h1tag. - Create an image element with the
imgtag. - Set the required
srcand importantaltimage attributes. - Set a relative/absolute image
srcattribute value. - Create a paragraph of text with the
ptag. - Create section headings with the
h2tags. - Create an ordered list of items with the
olandlitags. - Create an unordered list of items with the
ulandlitags. - Create a table with the
tabletag. - Utilize
thtag to create a table header cell. - Utilize
tdtag to create a table data cell. - Set a link with the
atag. - Utilize the anchor
targetattribute to open the destination resource it in a new tab. - Set the link that starts the default email client by a click with the
mailto:hrefattribute value. - Add global attributes to HTML elements.
- Utilize the
linktag to connect a css file. - Utilize the
scripttag to connect a js file.
- Fork the project to your github account
- Clone the project to your computer
- Open the project in VSCode with
code <cloned_repo_folder_name> - Initialize playwright and install project packages
- Use
npm ito install packages - Use
npm run browser-installto install the browser environment for testing
- Use
- All the tasks of the "Specific requirements" section MUST be solved
- All the tests MUST pass. Fix any errors before you submit (acceptance criteria).
- Use
npm run testto run all tests in the terminal - Use
npm run test-part1to run the tests for the first part of specific requirements in the terminal - Use
npm run test-part2to run the tests for the second part of specific requirements in the terminal - (Optional) Use
npm run test-uito run all the tests with GUI - (Optional) Use
npm run show-reportto see the latest report in the browser
- Use
- VSCode IDE MUST have 0 code problems listed (spelling problems are fine)
- The code MUST be formatted with Prettier
- Push the changes to the Github repo, when finished.
- Submit a .txt file with the Github repo url.
All the tasks in the requirements are related to the index.html file! Consider "Jon Doe" to be replaced with your real first and last name.
- Create an html file with the name of "index" in the root of the project
- Add HTML Boilerplate to the document
- Set the document title to be "Jon Doe's resume".
- Set the page heading to be "Jon Doe"
- Add a section heading with the content of "Talented Frontend developer" that represents the desired role.
- Add an image with required and important attributes
- The image path should be
./assets/avatars/fake_person.jpg. This image is included into the project already. - The image alternative text should match the page title.
- The image path should be
- Add a section heading with the content of "About Me".
- Add a paragraph of text (50 words at least) as the John Doe's bio. You can use random text for the paragraph content.
- Add the section heading "My Skills"
- Add the ORDERED list and add 6 random item into it. (Feel free to use the devslopes website to get the real skill names or use some random skill names)
- Add the section heading "My Hobbies"
- Add the UNORDERED list of 4 hobbies
- Add the section heading "Contact Me"
- Add the table of two columns and 4 rows. The first column for every row is the table header with the service name. The second column is for the value.
- Add Discord as a service and your discord's real username as a value to the table.
- Add LinkedIn as a service and your linkedIn's real username as a value to the table. Make the value to be a link to your LinkedIn profile page opened in a new tab.
- Add Email as a service and your real email as the value of both the href and content. Make it to be a link that starts the new email message app.
- Add Github as a service and use your real github username as a value. Make the value to be a link that leads to your github profile in a new browser tab.
- Check the result mockup to make sure your page looks EXACTLY as the mockup (/assets/images/p1-solved-mockup.png).
- In the head section connect the CSS file, available by the following path:
./css/styles.css. - In the head section connect a JS file, available by the following path:
./js/scripts.js. Make sure it will be executed after the html is parsed. - The page heading should have the id of "candidate-name"
- The desired role section heading should the id of "candidate-desired-role"
- The "About me" section heading should have an id of "about-me".
- The image should have the id of "candidate-image"
- The bio paragraph should have a class name of "candidate-bio"
- The skills section heading should have the id of "skills"
- The skills list should have the id of "skills-list"
- The Hobbies section heading should have the id of "hobbies"
- The hobbies list should have the id of "hobbies-list"
- The contacts section heading should have the id of "contacts"
- The contacts table should have a class name of "contacts-table".
- The body should have a class name of "fancy-body".
- Check the result mockup to make sure your page looks EXACTLY as the mockup (/assets/images/p2-solved-mockup.png).