My personal CV made with HTML, CSS and JS.
- nmatei.github.io/links
- https://nmatei.github.io/examples/layout
- https://nmatei.github.io/examples/layout-scroll
The repo name must be in the following format: UserName.github.io
- use
HTMLwithCSS - create layouts
- understand basics of
JS - understand how dynamic HTML works
- basic
gitcommands and usage - deploy your site on github
- Theme switch (dark / light) example1, example2
- Theme grayscale - test for color blind people
A simple way to support my work and to improve your programming skills:
The course pages are generated, do not edit them manually:
- web.html (EN) → nmatei.github.io/web
- ro/web.html (RO) → nmatei.github.io/ro/web
Sources:
- js/web-page.js - page template (html, SEO meta, JSON-LD)
- course/i18n/en.json, course/i18n/ro.json - texts
- course/course.json - course info (badge, rating, ratings count, students...)
- course/coupons.json - coupons (updated by
yarn coupon)
Create the coupon on Udemy, then add it (pages are regenerated, formatted, committed and pushed):
| Udemy coupon type | Price | Redemptions | Validity | Command |
|---|---|---|---|---|
| Current best price | €9.99 | unlimited | 5 days | yarn coupon best CODE |
| Custom price | €12.99 - €19.99 | unlimited | 31 days | yarn coupon custom CODE |
| Free: Open | free | 10 | 5 days | yarn coupon open CODE |
| Free: Targeted | free | 100 | 31 days | yarn coupon targeted CODE |
yarn coupon <type> CODE EXISTING_CODE- also extendsEXISTING_CODE: users opening an expired link are sent to the newCODE- free coupons (open / targeted) are half hidden on the page, share them with
?c=CODE:https://nmatei.github.io/web?c=CODEorhttps://nmatei.github.io/ro/web?c=CODE(auto redirect to Udemy only happens when the link has a valid coupon)
npm run build # regenerate web.html + ro/web.html (after editing texts, template or course.json)
npm start # local server, pages work without .html (like GitHub Pages): /web, /ro/webFor each Team create new branch from scrath (make sure to change name).
bname=demo
git switch --orphan $bname
touch .gitignore
echo /.vscode >> .gitignore
echo /.idea >> .gitignore
echo /node_modules >> .gitignore
touch README.md
echo "# nmatei.github.io" >> README.md
git add .
git commit -m "Initial commit"
git push origin $bname
git status
Switch branches commands
git checkout master
git checkout demo