Website with HTML & CSS
- 37Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
37 questions
- 1The two files created for the website are index.html and_____.
Hint
This file contains all the styling rules for the HTML structure.
Answer
style.css
- 2To link the HTML file with the CSS file, you use a_____tag inside the head section.
Hint
This tag is self-closing and uses attributes like rel and href.
Answer
link
- 3The main container div that wraps all the content is assigned the class_____.
Hint
This class is often used for the top-level wrapper element.
Answer
main
- 4The navigation section is placed inside a div with class_____.
Hint
This class name is a common abbreviation for navigation bar.
Answer
navbar
- 5The logo is placed inside a div with class_____.
Hint
This class is used for an element that contains a brand or logo.
Answer
icon
- 6The logo text used in the website is_____.
Hint
This is the brand name displayed in the top-left corner.
Answer
PraRoz
- 7In the CSS, the universal selector is used to set margin and padding to_____.
Hint
This value removes all default spacing on elements.
Answer
0
- 8The background of the '.main' class uses a linear gradient and a URL with the file_____.
Hint
This is the background image file name used in the url() function.
Answer
1.jpg
- 9The height of the '.main' class is set to_____.
Hint
This unit means 100% of the viewport height.
Answer
100vh
- 10The navbar has a width of_____pixels.
Hint
This value is a common fixed width for website layouts.
Answer
1200
- 11The '.icon' class has a width of_____pixels and uses a float property.
Hint
This width is smaller than the navbar to accommodate other elements.
Answer
200
- 12The logo text has a font-size of_____pixels and font-family Arial.
Hint
This size makes the logo prominent but not too large.
Answer
35
- 13The menu is an unordered list with each list item containing an_____tag.
Hint
This tag is used to create hyperlinks.
Answer
anchor
- 14The menu items include Home, About, Service, Design, and_____.
Hint
This is the last menu item and often used for communication.
Answer
contact
- 15List items in the menu have a left margin of_____pixels.
Hint
This margin creates spacing between menu items.
Answer
62
- 16The anchor tags in the menu have a text decoration of_____.
Hint
This property removes the default underline from links.
Answer
none
- 17On hovering over a menu link, its color changes to_____.
Hint
This is the same color used for the logo and other accents.
Answer
orange
- 18The search input has a placeholder text of_____.
Hint
This placeholder tells the user what to do in the search box.
Answer
Type to text
- 19The search button has a class of_____.
Hint
This class is used for the button next to the search input.
Answer
btn
- 20The search input has a background of_____.
Hint
This value makes the background see-through.
Answer
transparent
- 21The search button has a border-radius of_____pixels on the top-left and bottom-right corners.
Hint
This value gives the button slightly rounded corners.
Answer
5
- 22The heading inside the content div is a_____tag.
Hint
This is the most important heading level.
Answer
h1
- 23The join us button is an anchor tag with the class_____.
Hint
This class name is short and used for the call-to-action button.
Answer
cn
- 24The join us button has a width of_____pixels.
Hint
This width is larger than the search button but smaller than the form.
Answer
160
- 25On hovering over the join us button, its background color changes to_____.
Hint
This creates a contrast with the original orange background.
Answer
white
- 26The span inside the heading that says 'Development' has a color of_____.
Hint
This color matches the accent color used elsewhere.
Answer
orange
- 27The login form is contained in a div with class_____.
Hint
This class is commonly used for form containers.
Answer
form
- 28The form has a width of_____pixels and a height of 380 pixels.
Hint
This width is narrower than the join us button.
Answer
250
- 29The form heading 'Login Here' has a background color of_____.
Hint
This contrasts with the orange heading text.
Answer
white
- 30Form input fields have a border-bottom of_____solid orange.
Hint
This creates a thin underline effect for the inputs.
Answer
1px
- 31The form button has a class of_____.
Hint
This class name is similar to the search button but with an extra 'n'.
Answer
btnn
- 32On hovering over the form button, its background becomes white and its color becomes_____.
Hint
This reverses the default colors of the button.
Answer
orange
- 33The 'Sign up' link inside the form has a color of_____.
Hint
This matches the accent color used for interactive elements.
Answer
orange
- 34The social media icons are placed inside anchor tags with class_____.
Hint
This class is reused from the logo container, but for icons this time.
Answer
icon
- 35The icons include Facebook, Instagram, Twitter, Google, and_____.
Hint
This is a communication platform owned by Microsoft.
Answer
Skype
- 36The icons have a font-size of_____pixels.
Hint
This size makes the icons easily clickable but not too large.
Answer
30
- 37On hovering over an icon, its color changes to_____.
Hint
This consistent hover effect is used across the website.
Answer
orange

Ask anything
We've read this whole study set, so questions about it get the best answers.