1. Home
  2. Explore
  3. Computer Science
  4. Website with HTML & CSS

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Website with HTML & CSS

  • 37Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: HTML Structure Basics
The two files created for the website are index.html and
.

37 questions

  1. 1
    The 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

  2. 2
    To 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

  3. 3
    The 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

  4. 4
    The navigation section is placed inside a div with class
    _____
    .
    Hint

    This class name is a common abbreviation for navigation bar.

    Answer

    navbar

  5. 5
    The logo is placed inside a div with class
    _____
    .
    Hint

    This class is used for an element that contains a brand or logo.

    Answer

    icon

  6. 6
    The logo text used in the website is
    _____
    .
    Hint

    This is the brand name displayed in the top-left corner.

    Answer

    PraRoz

  7. 7
    In the CSS, the universal selector is used to set margin and padding to
    _____
    .
    Hint

    This value removes all default spacing on elements.

    Answer

    0

  8. 8
    The 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

  9. 9
    The height of the '.main' class is set to
    _____
    .
    Hint

    This unit means 100% of the viewport height.

    Answer

    100vh

  10. 10
    The navbar has a width of
    _____
    pixels.
    Hint

    This value is a common fixed width for website layouts.

    Answer

    1200

  11. 11
    The '.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

  12. 12
    The 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

  13. 13
    The menu is an unordered list with each list item containing an
    _____
    tag.
    Hint

    This tag is used to create hyperlinks.

    Answer

    anchor

  14. 14
    The menu items include Home, About, Service, Design, and
    _____
    .
    Hint

    This is the last menu item and often used for communication.

    Answer

    contact

  15. 15
    List items in the menu have a left margin of
    _____
    pixels.
    Hint

    This margin creates spacing between menu items.

    Answer

    62

  16. 16
    The anchor tags in the menu have a text decoration of
    _____
    .
    Hint

    This property removes the default underline from links.

    Answer

    none

  17. 17
    On hovering over a menu link, its color changes to
    _____
    .
    Hint

    This is the same color used for the logo and other accents.

    Answer

    orange

  18. 18
    The search input has a placeholder text of
    _____
    .
    Hint

    This placeholder tells the user what to do in the search box.

    Answer

    Type to text

  19. 19
    The search button has a class of
    _____
    .
    Hint

    This class is used for the button next to the search input.

    Answer

    btn

  20. 20
    The search input has a background of
    _____
    .
    Hint

    This value makes the background see-through.

    Answer

    transparent

  21. 21
    The 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

  22. 22
    The heading inside the content div is a
    _____
    tag.
    Hint

    This is the most important heading level.

    Answer

    h1

  23. 23
    The 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

  24. 24
    The join us button has a width of
    _____
    pixels.
    Hint

    This width is larger than the search button but smaller than the form.

    Answer

    160

  25. 25
    On hovering over the join us button, its background color changes to
    _____
    .
    Hint

    This creates a contrast with the original orange background.

    Answer

    white

  26. 26
    The span inside the heading that says 'Development' has a color of
    _____
    .
    Hint

    This color matches the accent color used elsewhere.

    Answer

    orange

  27. 27
    The login form is contained in a div with class
    _____
    .
    Hint

    This class is commonly used for form containers.

    Answer

    form

  28. 28
    The form has a width of
    _____
    pixels and a height of 380 pixels.
    Hint

    This width is narrower than the join us button.

    Answer

    250

  29. 29
    The form heading 'Login Here' has a background color of
    _____
    .
    Hint

    This contrasts with the orange heading text.

    Answer

    white

  30. 30
    Form input fields have a border-bottom of
    _____
    solid orange.
    Hint

    This creates a thin underline effect for the inputs.

    Answer

    1px

  31. 31
    The form button has a class of
    _____
    .
    Hint

    This class name is similar to the search button but with an extra 'n'.

    Answer

    btnn

  32. 32
    On hovering over the form button, its background becomes white and its color becomes
    _____
    .
    Hint

    This reverses the default colors of the button.

    Answer

    orange

  33. 33
    The 'Sign up' link inside the form has a color of
    _____
    .
    Hint

    This matches the accent color used for interactive elements.

    Answer

    orange

  34. 34
    The 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

  35. 35
    The icons include Facebook, Instagram, Twitter, Google, and
    _____
    .
    Hint

    This is a communication platform owned by Microsoft.

    Answer

    Skype

  36. 36
    The icons have a font-size of
    _____
    pixels.
    Hint

    This size makes the icons easily clickable but not too large.

    Answer

    30

  37. 37
    On hovering over an icon, its color changes to
    _____
    .
    Hint

    This consistent hover effect is used across the website.

    Answer

    orange

1 of 37
Question 1 of 37

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent