Frontend Web Development

0
Answered
0
Correct
0%
Accuracy
Question 1 Easy Mcq

How does the rem unit represent a font size?

Question 2 Easy Mcq

Which choice is not of invoking strict mode in JavaScript?

Question 3 Easy Mcq

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

Question 4 Easy Mcq

How can you rewrite this function using arrow function syntax?

Question 5 Easy Mcq

What is theelement used for?

Question 6 Easy Mcq

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

Question 7 Easy Mcq

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

Question 8 Easy Mcq

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

Question 9 Easy Mcq

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

Question 10 Easy Mcq

How many columns will there be, given this code? .container { width: 600px; Column-width: 200px; column-gap: 50px;}

Question 11 Easy Mcq

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?

Question 12 Easy Mcq

What is Webpack primarily used for?

Question 13 Easy Mcq

In the following code, the variable fruit has been assigned a value of apple. How would you change the value to plum? let fruit = 'apple';

Question 14 Easy Mcq

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

Question 15 Easy Mcq

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?

Question 16 Easy Mcq

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

Question 17 Easy Mcq

Why would you surround a piece of text with

Question 18 Easy Mcq

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

Question 19 Easy Mcq

You discover that CSS is being loaded on a website using the following code. Why might a web developer have done this?

Question 20 Easy Mcq

What is yarn?

Question 21 Easy Mcq

What will this loop print? let max = 3; for (i = 0; i > max; i++) {document.write("skrt "); }

Question 22 Easy Mcq

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

Question 23 Easy Mcq

_ 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)?

Question 24 Easy Mcq

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

Question 25 Easy Mcq

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

Question 26 Easy Mcq

Which choice is not a value of the type attribute of theelement?

Question 27 Easy Mcq

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

Question 28 Easy Mcq

Review the CSS below. What color would you expect the background color of the element with a class of .box to be? .box { background-color: blue; Background: url(images/star.png) no-repeat left top; }

Question 29 Easy Mcq

What does the === comparison operator do?

Question 30 Easy Mcq

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

Question 31 Easy Mcq

What will be the value of selected? let pocket = ['turnip', 'stone', 'log', 'apple']; Let selected = pocket[1];

Question 32 Easy Mcq

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?

Question 33 Easy Mcq

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

Question 34 Easy Mcq

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?

Question 35 Easy Mcq

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?

Question 36 Easy Mcq

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

Question 37 Easy Mcq

When might an empty alt attribute be the correct value?

Question 38 Easy Mcq

Which HTML will result in text being highlighted in yellow? .highlight {background-color: yellow;}

Question 39 Easy Mcq

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?

Question 40 Easy Mcq

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

Question 41 Easy Mcq

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?

Question 42 Easy Mcq

Which choice is not a render blocking resource?

Question 43 Easy Mcq

The CSS box model describes how the parts of a CSS box fit together and the size of the box. What is the actual width of the following box's visible part under the standard box model? box {width: 200px; padding: 10px; margin: 0 15px; border: 2px 5px;}

Question 44 Easy Mcq

Which CSS property will not trigger layout recalculation?

Question 45 Easy Mcq

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

Question 46 Easy Mcq

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?

Question 47 Easy Mcq

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

Question 48 Easy Mcq

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/

Question 49 Easy Mcq

In this code, what is the term for the h1? h1 { color: red; font-size: 5em; }

Question 50 Easy Mcq

Which choice is not a JavaScript framework?

Showing 50 of 55 questions