Professional Documents
Culture Documents
Fe Skopje Workshop
Fe Skopje Workshop
▸ Semantic HTML
▸ Clean CSS
▸ Performant Javascript
▸ Basic Testing
▸ Refactoring
ROUTINE
▸ Topic
▸ Exercise + Bonus
▸ Elaboration of exercise
SEMANTIC HTML
▸ Roughly 100 semantic elements
▸ <article>
▸ <section>
▸ <header>
▸ <nav>
▸ <main>
▸ <aside>
▸ <footer>
▸ <address>
TEXT CONTENT
▸ <p>
▸ <ul>
▸ <ol>
▸ <time>
INTERACTIVE ELEMENTS
▸ <dialog>
▸ MDN:
https://developer.mozilla.org/en-
US/docs/Web/HTML/Element
▸ Can I use:
https://caniuse.com/
▸ Validate:
https://html5.validator.nu/
https://validator.w3.org/
EXAMPLES
INTRO TO THE EXERCISE
▸ Collapsible component
Duration: 20 Minutes
▸ Low specificity
▸ No redundant styles
▸ Import collapsible.pcss:
ui.frontend/src/register/component.css
▸ Font Styles:
Trigger => @mixin setfont h5
Content => @mixin setfont body
https://zpl.io/25oLLmW
ASSIGNMENT-02
▸ Solution
git checkout workshop/frontend-skopje-workshop-assignment-2
COFFEE BREAK ☕ ~ 10 MINUTES
PERFORMANT JAVASCRIPT
▸ Lazy initialisation
▸ Linting: ESLint
▸ Testing…
BENEFITS OF TESTING
▸ Enforce coding best practices e.g
separation of concerns, avoid side
effects, immutability
▸ Hint: language-navigation.spec.js
ASSIGNMENT-04
▸ Solution
git checkout workshop/frontend-skopje-workshop-assignment-4
REFACTORING
▸ Refactoring is the process of
changing a software system in such
a way that it does not alter the
external behaviour of the code yet
improves its internal structure.
BEST PRACTICES
TEST