dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Can anyone help me with these questions thanks.

  1. #1
    Join Date
    Aug 2017
    Posts
    5

    Can anyone help me with these questions thanks.

    I am doing this assignment and first we had to make 4 web pages and link them to one css style sheet and this styling. But not stuck on questions bellow and google is not helping me out at all. Any help is appreciated, Thanks

    For the links page
    ● Apply a class “links-list” to all <a> elements which will make the elements into a list
    ● Change the visited colour to red

    For the About Me page
    ● Change the list style to that is uses squares for every second item and;
    ● Make them appear indented
    ● Change the heading to display in the color green (this shouldn’t affect other pages headings)

    Using your Home​ page (index.html)
    ● Demonstrate the use of two inline styles and two embedded styles

  2. #2
    Join Date
    Aug 2017
    Location
    Bulgaria
    Posts
    17
    For the first one I assume they mean this: https://www.w3schools.com/cssref/pla...eval=list-item
    For the second this: https://www.w3schools.com/cssref/sel_visited.asp
    Third is this: https://www.w3schools.com/cssref/pr_list-style-type.asp
    The indented I guess with padding.
    Heading to be green is easy, just use "color".
    Here is info on the inline style, and the embedded is probably the external one: https://www.w3schools.com/css/css_howto.asp

  3. #3
    Join Date
    Aug 2017
    Posts
    5
    Thanks heaps man that helped a lot =).
    Just stuck on this bit tho -

    For the About Me page
    ● Change the list style to that is uses squares for every second item and;
    ● Make them appear indented

    Iv got this in my css page,

    .list-style
    ul {
    list-style-type: square;
    padding:
    }

    and set the the div on the html so "list-style" matches the css but nothings happening

  4. #4
    Join Date
    Dec 2005
    Location
    TX
    Posts
    7,884
    'Wiztanga' - instead of getting someone to answer your assignment questions,
    why not just read the tutorials from which 'nikolaydev' has kindly provided a link to?

    You will do much better on the final exam when it comes and 'nikolaydev' is not available.

  5. #5
    Join Date
    Aug 2017
    Location
    Bulgaria
    Posts
    17
    I am not sure how the div can be used, but the only way managed to make it work is with an UL surrounding the A links.
    I didn't notice the every second part last time by the way.
    See this: https://jsfiddle.net/gt1z8wxw/

  6. #6
    Join Date
    Aug 2017
    Posts
    5
    I didn't know they were tutorials, just examples with code i didn't know how to use properly.
    And its a one off as was sick so couldn't participate in this particular class.

  7. #7
    Join Date
    Aug 2017
    Posts
    5
    Thanks heaps. I didn't know the links included tutorials so should be easy lol. thanks =)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles