This is a repo that contains all the Front-end development exercises done during Optimum BH Internship.
Exercises are based on Frontend Mentor challenges.
- fork this repo
- enable GitHub Actions for your fork
- find appropriate challenge in GitHub Issues
- checkout exercise branch (e.g.
qr_code_component) - download starter files from the corresponding challenge and read the instructions
- start the server using
npm run serve - edit files inside challenge directory (e.g.
challenges/qr_code_component) and add any images to its ownimagessubdirectory - run Prettier formatter using
npm run format - execute
npm run testcommand and make sure it passes - compare screenshots made during tests in
screenshotsdirectory with the expected design - create PR to the matching branch of the upstream repo (optimumBA/frontend_mentor_challenges)
- make sure it passes code review
- merge your exercise branch into your
mainbranch - update main
index.htmlfile (challenges/index.html) in yourmainbranch to include link to the newest challenge solution - repeat steps 3-14 for each exercise
- you can also improve UI of the main
index.htmlfile - set
gh-pagesbranch as GitHub Pages Source - open your site at https://USERNAME.github.io/frontend_mentor_challenges/
Each challenge has its own directory inside challenges that contains HTML file, Tailwind CSS config file and input CSS file just like Tailwind Playground does. Directory public is for output only and can be ignored.