Please Select a Company.
Please Select a Company.
Front End Development MCQ Questions | Interview Quick

.

Front end Development MCQ

1. Variables declared with the let keyword have what type of scope?

2. Why would you surround a piece of text with

tags?

3. When might an empty alt attribute be the correct value?

4. Which attribute must have a unique value each time it is used in an HTML document?

5. Which CSS property will not trigger layout recalculation?

6. What does the === comparison operator do?

7. . What is the

8. . The browser finds some CSS that it does not understand. What is likely happen?

9. . Which choice is not a value of the type attribute of the element?

10. . You have used display: none in your stylesheet. Which users will be able to see or hear this content?

11. Which choice is not part of CSS box model

12. Which part of the URL https://app.uniswap.org/pool specifies the domain name

13. Which HTML element is not considered a landmark element?

14. Which statement is true when an HTML tag has been deprecated?

15. How does the rem unit represent a font size?

16. Which HTML element represents either a scalar value within a known range OR a fractional value?

17. What is Webpack primarily used for?

18. What is the correct way to initialize an array of galaxies in JavaScript?

19. Which description correctly describes the initial values of flex items if the only thing you have done is apply display: flex to their parent?

20. Which line of code, if applied to all flex items in a flex container, would cause each flex item to take up an equal share of the total width of the container? For example, if there are four items, they would get 25% of each/

21. A video on your webpage does not display and the console shows an error about mixed content. What is happening?

22. You have placed an image in a directory named images and want to reference it from a page located in the root of your site. Which choice would correctly display the image on the page?

23. Which choice is a correct use of the parseInt() function in Javascript that parses a string and return an integer?

24. How can you rewrite this function using arrow function syntax?

25. Lighthouse is a tool for auditing your website. Which choice is not a category of report offered by Lighthouse?

26. Which choice is not a render blocking resource?

27. Which choice does not provide information on browser support for a particular CSS property?

28. You have a set of images that are slightly different sizes and aspect ratios. You don't mind if you crop off some of the image, but you want each image to completely fill a square box without being distorted. Which property and value would achieve this?

29. What does the CSS selector a[href$="org"] select?

30. Which choice is not a result of invoking strict mode in JavaScript?

31. In normal flow, some elements display as block elements default and others inline. which choice contains only block-level by default elements?**

32. _ moves an element completely out of the page's normal layout flow, like it is sitting on its own separate layer. From there, you can fix it in a position relative to the edges of the page's element (or its nearest positioned ancestor element)?

33. You have created a box that has a height set with CSS. Which line of CSS would add scroll bars if the content is taller than the box, but leave no visible scroll bars if the content fits into the box?

34. Which array method should you apply to run a function for every item within an array, returning an array of all items for which the function is true?

35. You want to create striped table rows using CSS without adding a class to any element. Which CSS would correctly apply the background color to every odd row in your table?

36. You are designing a site and creating a navigation bar linking to the main sections. Which HTML element should you use to indicate that this is the main navigation?

37. The flex property is often applied to flex items with a value of 1. Using flex: 1 is a shorthand - what does it unpack to?

38. What does the term "tree shaking" mean with regard to JavaScript performance?

40. Your website uses CSS Grid Layout extensively, and a visitor who navigates using the keyboard tells you that they seem to jump erratically all over the screen when navigating. What is the most likely problem?

41. What is the definition of the phrase "Time to Interactive"?

42. What is yarn?

43. What is the name of the event that occurs when the mouse pointer hovers over an element?

44. What is meant by the term "polyfill" when used in web development?

45. Which choice is not a JavaScript framework?

46. What does setting aria-live=polite on a live region achieve?

47. Which CSS property and value would correctly remove the bullets from a list item?

48. CSS Logical Properties and Values now have wide-ranging support in browsers. If you wanted to use the logical version of width, which property name would you choose?

49. Which color value will create a background color that is semitransparent?

50. In a grid layout, which property will create gaps between the rows in the grid?

51. You are creating a responsive design, but when you view your site on a smaller screen, you notice that images are causing a horizontal scroll bar. How can you solve this problem without stretching any images out of shape?

52. How would you round the value 11.354 to the nearest full integer?

53. What is the JavaScript compiler Babel used for?

56. In the color value hsl(38, 90%, 60%), what does 38 represent?

58. On a page with many images, what would be the effect of adding loading="lazy" to the tag?

59. What is GraphQL?

60. Which choice will place a multiline text input field on the page?

61. Which browser is not based on Chromium?

62. What does the term "code splitting" mean with regard to JavasScript performance?

63. The vertical-align property works only on certain elements, or on those that have a certain CSS applied. Which element by default will allow vertical-align to be used?

64. Which attribute is uses to add text to an image that will be displayed if the image does not load and read out to screen reader users?

65. Hich pseudo-class allows you to selectively show a focus ring on elements only if keyboard navigation is detected?

Our Brands by Nishtya Infotech Private Limited:

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as