EECS 1012代写、HTML/CSS语言代写、帮做CSS设计、代写CSS/HTML帮做Haskell程序|调试Web开发

EECS 1012: LAB #2 – HTML and CSS (September 24 – 28, 2018)1) Remember to do the pre-lab quiz.2) Once again, you must attend your assigned lab session (we will be marking your submission in the lab).3) You must arrive on time – anyone later than 30 minutes will not be admitted to the lab.4) Only a valid physician statement will be accepted if you are absent.5) NOTE: This lab is more complicated, you need to attempt to complete as much of the lab as possiblebefore coming to the lab.1. GOALS/OUTCOMES FOR LAB- To learn how to change the presentation an HTML document using CSS- To help you analyze an HTML page and decide how to modify it for improved appearance using CSS.It will be very useful to go over the Case Study in the examples I provided on the Additional Resource linkweek 3. The 12 minute video on CSS is also very useful, especially in showing you how to arrange divsections. You will also need to look at the lecture on “Layout” (see week 4).2. LAB 2 – TASK1) You are provided a simple eatfood.html document and corresponding images. Your job will be toimprove the presentation of the HTML content and structure in an iterative (step-by-step) fashion.2) You will generate a total of four HTML files and CSS files in this process. You should demo each HTMLfile to the TA. When the TA comes by, have each HTML file open in a different tab so you can show theprogression.3) See next pages for details on how to modify your HTML and CSS files.3. SUBMISSIONS1) [Manual verification by a TA]You will need to have one of the TAs verify your lab before submission. The TA will look at your variousfiles in their progression. If you have completed the lab assignment before coming to lab, the TA may askyou to make minor modifications to the lab to demonstrate your knowledge of the materials.The TA will mark your name off a list and ask you to sign that you have been verified.2) Moodle submissionYou will see an assignment submission link on Moodle.1) Create a folder named “Lab2” and copy all of your lab materials inside (image folder,eatfood_ex{1,2,3,4}.html and eatfood_ex{1,2,3,4}.css). This folder should be compressed (or tar.gz on theVirtualBox machines) and the compressed file submitted. Please follow the instructions in the followingvideo that we used for Lab 1:https://www.youtube.com/watch?v=stEOh6ntV5oSTARTING POINT: eatfood.html and images in image folder. You are given the following HTML file andassociated images. This file has no CSS file. The lab task is to improve the presentation of this HTMLdocument by modifying the HTML slightly at each iteration and creating an associated CSS. We will do thisstep by step so you can see the process.Download the lab’s ZIP file and unzip the contents into your WWW directory (if you are using your ownlaptop, you can save it to any folder). After unzipping the content, you will have two (2) files in the WWWdirectory (eatfood.html and Lab2.pdf). You will also have one (1) directory called “images”. The imagedirectory will have five (5) images (background.gif, idly.png, jianbing.jpg, pide.jpg, shawarma.jpg). If youclick on the eatfood.html file it should appear as shown below.Exercise 1: (CREATE: eatfood_ex1.html and eatfood_ex1.css)Try to match the output below as closely as possible – see the annotation for details. This exercise留学生EECS 1012作业代写、HTML/CSS语言代写留学生、帮做CSS课程设计、代写CSS/HTML 帮做Hask is to setup the basic HTML structure to assist in further modification. The associated CSS is to help you see how theitem flow in the document. You need to organize the HTML content by adding in ids, classes, and associatethese with and various . This requires you to modify the HTML page to add in these newelements. In your CSS, create the corresponding selectors to set the borders to have a color and border(make it at least 2 pixels thick). The intention of this exercise is to to help you see the layout of yoursections created using div, span, and classes. 1) Place a green borderaround all of thecontent.7) Bottom (footer) shouldhave a yellow border.6) All paragraphs shouldhave a thin black border.This is so you can see thepage flow. Note, all imagesshould be nested within elements.4) Each journal entryshould have a blue border.5) The dates within theseentries should have apurple border (considerspan element).2) Top of the page shouldhave a red border.3) The “Good things to eat”(and h2 element) shouldhave its own border that isorange.Exercise 2: Create files: eatfood_ex2.html and eatfood_ex2.css. NOTE: The only change toeatfood_ex2.html is that it links to eatfood_ex2.css instead of eatfood_ex1.css.i) Modify the CSS based on the annotations on the right.ii) Pay attention to the difference between margin and padding.iii) Use the rgb(-,-,-); notation for the color property in your CCS.1) Change the body ofthe HTML page to havea background of“background.gif”(provided).Add a left and rightmargin of 10% to al ofthe main content.2) Change the divaround all the elements(the one with a greenborder) to have a whitebackground.3) Change all theentries (all items with ablue border) to havethe followingbackground color:R=196, G=226, B=255You should also addpadding of 5px and atop-margin of 10px.(Note the differencebetween padding andmargin)4) Remove the blackborder for the elements.Exercise 3: (create files: eatfood_ex3.html and eatfood_ex3.css. )This exercise will change the alignment of elements using float, overflow, and alignment attributes in theCSS. This should be possible without editing the main HTML page (other than the link to the new CSS).See the annotations for the changes to make. Your webpage should look as close as possible to below.The heading text inthe red box shouldappear on the rightside of that section ofthe page.The journal entries’images should floaton the right side nextto the surroundingtext. The image shouldstay within thebounds of the bluebox; that is, it shouldnot bleed into theother content belowit. You will need touse the “overflow”attribute to make thefloat element fitcorrectly. Exercise 4: (create files eatfood_ex4.html and eatfood_ex4.ccs)This exercise will finish the webpage. This last iteration makes small cosmetic adjustments to the borderand colors. Again, you will not need to modify the HTML file other than linking in the new CSS.Change border towhite. Make thebackgroundR=168, G=213, B=255Change entriesborder toR=168, G=213, B=255Remove border offooter and align thetext to the centre.转自:http://ass.3daixie.com/2018092722237682.html

你可能感兴趣的:(EECS 1012代写、HTML/CSS语言代写、帮做CSS设计、代写CSS/HTML帮做Haskell程序|调试Web开发)