Skip to content

Commit

Permalink
add html questions
Browse files Browse the repository at this point in the history
  • Loading branch information
c-tn committed Apr 11, 2024
1 parent 4d8ad59 commit fc2b0fd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/questions/html-questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ permalink: /questions/html-questions/index.html
* Have you used different HTML templating languages before?
* What is the difference between `canvas` and `svg`?
* What are empty elements in HTML ?
* Can you explain the difference in behavior of `<button>` and `<input type="button">` tags inside a form?
* Can you explain the difference between the `<strong>` and `<b>` tags?
* Provide an example of using the `<label>` tag?
* How does the `<a>` tag differ from the `<button>` tag in terms of functionality and usage?
4 changes: 4 additions & 0 deletions src/questions/javascript-questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permalink: /questions/javascript-questions/index.html
* What is a closure, and how/why would you use one?
* What language constructions do you use for iterating over object properties and array items?
* Can you describe the main difference between the `Array.forEach()` loop and `Array.map()` methods and why you would pick one versus the other?
* Сan you describe other popular methods for iterating over arrays?
* What is a typical use case for anonymous functions?
* What is the difference between host objects and native objects?
* Explain the difference between: `function Person(){}`, `var person = Person()`, and `var person = new Person()`?
Expand Down Expand Up @@ -40,6 +41,7 @@ permalink: /questions/javascript-questions/index.html
* What is event loop?
* What is the difference between call stack and task queue?
* What are the differences between variables created using `let`, `var` or `const`?
* Can you change a property of an object defined via `const`? How you can change this behavior?
* What are the differences between ES6 class and ES5 function constructors?
* Can you offer a use case for the new arrow `=>` function syntax? How does this new syntax differ from other functions?
* What advantage is there for using the arrow syntax for a method in a constructor?
Expand All @@ -53,6 +55,8 @@ permalink: /questions/javascript-questions/index.html
* What is the difference between `while` and `do-while` loops in JavaScript?
* What is a promise? Where and how would you use promise?
* Discuss how you might use Object Oriented Programming principles when coding with JavaScript.
* What is the difference between `event.target` and `event.currentTarget`?
* What is the difference between `event.preventDefault()` and `event.stopPropagation()`?

## Coding questions
* Make this work:
Expand Down
8 changes: 8 additions & 0 deletions src/translations/russian/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ lang: ru
* Что такое прогрессивная отрисовка?
* Для чего используется атрибут `srcset` в теге изображения? Опишите процесс, который использует браузер при оценке содержимого этого атрибута.
* Приходилось ли вам работать с языками HTML-шаблонизации?
* Объясните разницу в поведении между тегами `<button>` и `<input type="button">` внутри формы?
* Объясните разницу между тегами `<strong>` и `<b>`?
* Приведи примеры использования тега `<label>`?
* Чем тег `<a>` отличается от тега `<button>` с точки зрения функциональности и использования?

#### [[]](#toc) <a name='css'>Вопросы по CSS:</a>

Expand Down Expand Up @@ -121,6 +125,7 @@ lang: ru
* Как бы вы проверили их на каждое из этих значений?
* Что такое замыкание и как/для чего его используют?
* Можете ли вы описать основное различие между циклом `forEach` и циклом `.map()`? И в каких случаях каждый из них используется?
* Расскажите про другие популярные методы итерации массивов.
* В каких случаях обычно используются анонимные функции?
* Как вы организуете свой код? (module pattern, classical inheritance)
* В чем разница между host-объектами и нативными объектами?
Expand Down Expand Up @@ -164,6 +169,7 @@ duplicate([1,2,3,4,5]); // [1,2,3,4,5,1,2,3,4,5]
* В чём разница между стеком вызовов (call stack) и очередью событий (task queue)?
* Объясните разницу при использовании `foo` в `function foo() {}` и `var foo = function() {}`
* В чём различие между переменными, созданными при помощи `let`, `var` и `const`?
* Можем ли мы менять свойства объекта объявленного через `const`? Как мы можем изменить это поведение?
* В чём разница между классом в ES6 и функцией-конструктором в ES5?
* Можете ли вы привести пример использования стрелочных функции `=>`? Чем они отличаются от других функций?
* Дайте определение функции высшего порядка.
Expand All @@ -173,6 +179,8 @@ duplicate([1,2,3,4,5]); // [1,2,3,4,5,1,2,3,4,5]
* В чём преимущества использования `spread` оператора и чем он отличается от `rest` оператора?
* Каким образом можно обмениваться кодом между файлами?
* Для чего используются статические члены класса?
* Объясните разницу между `event.target` и `event.currentTarget`?
* Объясните разницу между `event.preventDefault()` и `event.stopPropagation()`?

#### [[]](#toc) <a name='testing'>Вопросы по тестированию:</a>

Expand Down

0 comments on commit fc2b0fd

Please sign in to comment.