This programming assignment has two parts.
You will design a simple card using only HTML/CSS. The card will look like this example except with your own details. You will be using Codepen for this part. You will have to create a free account on Codepen and then create a new pen. Write all separate parts in the right sections.
- The webpage should mirror the layout shown in the example.
- Elements: You should use at least one of all the following: image, link, paragraph, heading.
- Layout: The image, heading, and link must all be horizontally centered. The biography text can be either left-aligned or horizontally centered.
- Styling: All styling must lie within the CSS section
- The image should have a height and width of 150px.
If you'd like to get some hands-on experience with Javascript before the next MP, you may attempt to recreate this example. Although this will not be graded, understanding this early-on will make your life significantly easier for the next MP! :)
You will be setting up your development environment as detailed in Part 4 of this documentation, and making a few small changes to the page's styling. Please begin by reading the helpful comments left in source/index.js
.
- Get MP0 starter to run
- Change SASS inside the
source/styles
folder so thatHello World!
is centered - Add SASS rules to change the background color of the page
- Correct HTML tags and content: 50%
- Correct CSS/SCSS styling: 50%
- Changing background color: 50%
- Centering heading text: 50%
- This is an individual assignment. No collaboration is permitted.
- It is not permitted to copy/paste code that is not your own. You are, however, free to look at different code sources for inspiration and clarity. All sources (code as well as reading material) that you reference to complete this assignment must be declared in the submission.
- There must be no use of any library.
- There should be no use of inline styling.
- No inline script tags should be used.
- HTML tables cannot be used for layout.
- If you think something you’re doing might not be acceptable, please ask on Piazza.
- Install Node.js LTS and Git
- Clone the repository:
git clone https://github.com/uiuc-web-programming/mp0_starter_17.git mp0
, thencd mp0
- Install dependencies:
npm install
- Run the dev server:
npm run dev
- Open a browser and go to
http://localhost:8080/
to view your page. Note that if for some reason your port 8080 is occupied, it will default to 8081.
More details will be released soon.