26 |
27 | {% endblock %}
28 |
--------------------------------------------------------------------------------
/.github/stale.yml:
--------------------------------------------------------------------------------
1 | # Number of days of inactivity before an issue becomes stale
2 | daysUntilStale: 30
3 | # Number of days of inactivity before a stale issue is closed
4 | daysUntilClose: 7
5 | # Issues with these labels will never be considered stale
6 | exemptLabels:
7 | - pinned
8 | - security
9 | - help-wanted
10 | # Label to use when marking an issue as stale
11 | staleLabel: wontfix
12 | # Comment to post when marking an issue as stale. Set to `false` to disable
13 | markComment: >
14 | This issue has been automatically marked as stale because it has not had
15 | recent activity. It will be closed if no further activity occurs. Thank you
16 | for your contributions.
17 | # Comment to post when closing a stale issue. Set to `false` to disable
18 | closeComment: This issue has been automatically closed because it has not had
19 | recent activity. Thank you for your contributions.
20 |
--------------------------------------------------------------------------------
/src/questions/network-questions.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Network Questions
3 | layout: layouts/page.njk
4 | permalink: /questions/network-questions/index.html
5 | ---
6 |
7 | * Traditionally, why has it been better to serve site assets from multiple domains?
8 | * Do your best to describe the process from the time you type in a website's URL to it finishing loading on your screen.
9 | * What are the differences between Long-Polling, Websockets and Server-Sent Events?
10 | * Explain the following request and response headers:
11 | * Diff. between Expires, Date, Age and If-Modified-...
12 | * Do Not Track
13 | * Cache-Control
14 | * Transfer-Encoding
15 | * ETag
16 | * X-Frame-Options
17 | * What are HTTP methods? List all HTTP methods that you know, and explain them.
18 | * What is domain pre-fetching and how does it help with performance?
19 | * What is a CDN and what is the benefit of using one?
20 |
--------------------------------------------------------------------------------
/.github/workflows/codeql-analysis.yml:
--------------------------------------------------------------------------------
1 | name: "CodeQL"
2 |
3 | on:
4 | push:
5 | branches: [ main ]
6 | pull_request:
7 | branches: [ main ]
8 | schedule:
9 | - cron: '34 20 * * 0'
10 |
11 | jobs:
12 | analyze:
13 | name: Analyze
14 | runs-on: ubuntu-latest
15 | permissions:
16 | actions: read
17 | contents: read
18 | security-events: write
19 |
20 | strategy:
21 | fail-fast: false
22 | matrix:
23 | language: [ 'javascript' ]
24 |
25 | steps:
26 | - name: Checkout repository
27 | uses: actions/checkout@v3
28 |
29 | - name: Initialize CodeQL
30 | uses: github/codeql-action/init@v2
31 | with:
32 | languages: ${{ matrix.language }}
33 |
34 | - name: Autobuild
35 | uses: github/codeql-action/autobuild@v2
36 |
37 | - name: Perform CodeQL Analysis
38 | uses: github/codeql-action/analyze@v2
39 |
--------------------------------------------------------------------------------
/.github/workflows/gh-pages-build.yml:
--------------------------------------------------------------------------------
1 | name: Eleventy Build
2 | on:
3 | # Triggers the workflow on push or pull request events but only for the main branch
4 | push:
5 | branches: [ main ]
6 |
7 | jobs:
8 | build_deploy:
9 | runs-on: ubuntu-20.04
10 | steps:
11 | - uses: actions/checkout@master
12 | - uses: actions/checkout@v3
13 | - name: Use Node.js ${{ matrix.node-version }}
14 | uses: actions/setup-node@v3
15 | with:
16 | node-version: "16.x"
17 | - run: npm install
18 | - name: Build
19 | uses: TartanLlama/actions-eleventy@master
20 | with:
21 | args: --config=config/eleventy.config.js --pathprefix=Front-end-Developer-Interview-Questions
22 | - name: Deploy
23 | uses: peaceiris/actions-gh-pages@v3
24 | with:
25 | publish_dir: ./_site
26 | publish_branch: gh-pages
27 | github_token: ${{ secrets.GITHUB_TOKEN }}
28 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
2 |
3 | Fixes # (issue)
4 |
5 | ## Type of change
6 |
7 | Please delete options that are not relevant.
8 |
9 | - [ ] New Question
10 | - [ ] Revision of an existing question
11 | - [ ] Infrastructure change (automation, etc.)
12 | - [ ] Other (please elaborate)
13 |
14 |
15 | # Checklist:
16 |
17 | - [ ] My content follows the style guidelines of this project
18 | - [ ] I have performed a self-review of my own content
19 |
20 | Pull requests should be thought of as a conversation. There will be some back and forth when trying to get code merged into this or any other project. With all but the simplest changes you can and should expect that the maintainers of the project will request changes to your code. Please be aware of that and check in after you open your PR in order to get your code merged in cleanly.
21 |
22 | Thanks!
23 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 0xAkileus
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/src/questions/html-questions.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: HTML Questions
3 | layout: layouts/page.njk
4 | permalink: /questions/html-questions/index.html
5 | ---
6 |
7 | * What does a `doctype` do?
8 | * How do you serve a page with content in multiple languages?
9 | * What kind of things must you be wary of when designing or developing for multilingual sites?
10 | * What are `data-` attributes good for?
11 | * Consider HTML5 as an open web platform. What are the building blocks of HTML5?
12 | * Describe the difference between a `cookie`, `sessionStorage` and `localStorage`.
13 | * Describe the difference between `
64 |