This week, we’ll learn how websites work, and then learn how to build a simple website using HTML and CSS.
For this task, visit Moodle, and open up Elements tab in the DevTools
document.querySelector
command in the Console to select them. For a start, try document.querySelector("#username")
, then use the .
operator to explore more options how you can manipulate this element and get information like value
from it<link>
or <script>
tag for each request. Observe how options like Disable Cache
and throttling
affect the loading.Finally, create a file in this repo as frontend/week1/report.md
and write your observations here, try to include screenshots too!
Event Listeners
in them, and what happens if you remove the ones on interactive elements like buttons etc.(memory cache)
and (disk cache)
mean. Why is the size of the page transferred less than the total resources?In this task you have to implement a basic figma design using HTML and CSS.
Create a navbar with 3 links and a logo. The links should be white and turn light blue on clicking them. We’re only concerned with the Home page right now but we’ll be adding routing and linking other sites very soon ;)
Create a carousel and add the image with two buttons. Bonus: Use Javascript to turn this into a slide show
Add a section heading (“What we do to help our customers in the digital era”) with 3 cards. The cards should have an image, some text, and a link. Hint: Use absolute positioning, and don’t forget to use div tag.
Add a section heading (“How it works”) with 3 cards, this time side by side. This is meant to help the customers, so keep your instructions short and clear.
In the “What our clients say” section, you can add a photo of yourself or your friend and write a review beside it. Don’t forget to add the buttons, as we will need it when we learn JavaScript
In the last section, make a footer and add the logo with your name.
Save your main file as frontend/week1/website/index.html
.
Store the css files and images etc at frontend/week1/website/assets/
Finally, deploy this repository using GitHub Pages, your webpage would now be accessible at https://<github_handle>.github.io/summer-of-code-2023/frontend/week1/website