Spring 2025 - CS420 - 1
Spring 2025 - CS420 - 1
01 Total Marks: 20
Semester: Spring 5 Week 1-3
CS420 Web Development for Portable Due Date: May-02-2025
Devices
Instructions:
Please read the following instructions carefully before submitting assignment. It should be clear that your
assignment will not get any credit if:
Note:
1) You have to just upload .html file which will have the code of HTML. Assignment in any other format
(extension) will not be accepted and will be awarded with zero marks.
2) In case of any issue, if the system does not accept .html file then zip your.html file in a zip folder and
upload it on LMS.
Objectives:
The objectives of this assignment are:
To learn, practice, and creation of a responsive web page
Usage of flexible units, Flexbox layout, and media queries
Note:
Guidelines:
Code should be properly indented.
You can use the following tools/software:
o Notepad or Adobe Dreamweaver
You will not use any other software to make .html file
1. HTML Structure:
Create a basic HTML file named as (Your Student ID.html) with the following content:
o A header section with a site title (e.g., "Your Student ID and Your name") and a navigation bar with
at least 3 links (Home, About, Contact).
o A main content section with two columns: one for text (about 200-300 words) and the other for an
image (any image of your choice).
o A footer section with the text “© 2025 Your Student ID”.
2. CSS Styling:
Use Flexbox to create a responsive layout for the main content section (text and image).
Ensure the page layout adjusts appropriately based on the screen size.
Make sure the layout is fluid, and uses relative units like percentages, vw, vh, and em for flexible sizing.
The two columns in the content section should stack vertically on smaller screens (e.g., mobile) and be
displayed side by side on larger screens (e.g., desktop).
Use the correct viewport meta tag to ensure the page is mobile-friendly.
Design the page mobile-first (default styles should be for mobile, and then adjust using media queries for
desktop).
Set a fluid width for the image and ensure it resizes with the screen.
4. Media Queries:
Solution Instructions:
Use the concepts which you have learned till week 3
No other layout techniques (such as float, grid, or absolute positioning) are allowed.
Frameworks like Bootstrap are not permitted. Only pure HTML and CSS are acceptable.
Solution Output:
BEST OF LUCK!