Skip to content

Instantly share code, notes, and snippets.

@dipaish
dipaish / css24.md
Last active January 11, 2024 09:03
CSS In Class [object Object]

Simple HTML Page

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <!-- Link this HTML file to an external stylesheet named 'style.css'.
    This stylesheet contains the styling rules that will be applied to the HTML elements. -->
@dipaish
dipaish / ex6BootStrap.md
Last active January 16, 2024 09:06
Bootstrap - Exercise 6

Exercise 6: Styling Webpage Elements with Bootstrap

In this task, you will utilize Bootstrap to enhance certain elements in your previously done exercises such as a top navigation bar, a table layout and a form.

Task 1: Top Navigation Bar

  1. Implement a responsive top navigation bar using Bootstrap's Navbar component.
  2. Include all exercises link to the top navigation bar (e.g., Home, Exercise1, Exercise2....)
  3. Apply some custom css to the navigation bar.

Open the exercise5.html file and include the following tasks into the existing content of the file.

@dipaish
dipaish / exercise5flex.md
Last active January 15, 2024 09:19
Flex layout

Exercise 5: HTML Layout

Design a simple webpage layout using Flexbox to achieve a responsive and visually appealing structure by conducting the tasks below:

  1. Create an HTML file (exercise5.html) with the basic structure: <header>, <nav>, <main>, <aside>, and <footer>.
  2. Apply a Flexbox layout to arrange the sections efficiently.
  3. The main content should be in the <main> section, and additional content or sidebars can be in the <aside> section.
  4. Style the elements using CSS to enhance the visual presentation.
  5. Ensure the layout is responsive, adapting to different screen sizes.
  6. Update your index.html that is Exercise 5 in index.html should link to this file exercise5. Guide:Creating hyperlinks
@dipaish
dipaish / exercise4css.md
Last active December 18, 2023 11:43
Exercise 4: CSS[object Object]

Exercise 4: CSS

In this exercise, you will learn to create a CSS file, link it to HTML files and apply styles to enhance the visual appearance of different elements. Conduct the tasks below:

Task 1: CSS Basics

  1. CSS File Creation: Create a CSS file named style.css within the 'styles' folder.
  2. Link CSS File : Link the CSS file to all HTML files in your individual tasks directory.
  3. Styling for body Element: Apply background color, font, and margin to the body element in your CSS file.
  4. Styling for h1 Headings: Style the h1 headings with a specific font, color, and margin.
  5. Styling for Links: Customize the appearance of links by changing color to red on hover and visited links color to red.
@dipaish
dipaish / exercise3.md
Last active January 10, 2024 08:22
Exercise 3: Validation & Adding More Elements

Exercise 3: Validation & Adding More Elements

Task 1: HTML Validation

Utilize the Markup Validation Services to validate the HTML code of your previously created pages: exercise1.html and exercise2.html. Examine the results for any warnings or errors and take the necessary steps to address them. After fixing the issues, re-run the validation to ensure compliance with HTML standards.

Note: You don't need to submit anything for this task. You will validate and fix your code.

Task 2: Inspect Element

@dipaish
dipaish / exercise2.md
Last active December 18, 2023 11:43
HTML5 and GitHub Pages[object Object]

Exercise 2: HTML5 & GitHub Pages

Task 1: Hosting Your Webpage

After creating your web pages locally, the next step is to publish them so that they are accessible to the public. You have many options for publishing such as hosting services, cloud solutions, set up your own web servers or use Github pages.

In this course, we'll utilize GitHub Pages for publishing your tasks and project work. This exercise guides you through using GitHub Pages to publish your HTML pages.

Note: At this point, you've successfully completed Exercise 1 and set up a directory structure for your exercises. Now, proceed with the following steps:

@dipaish
dipaish / exercise1.md
Last active January 8, 2024 07:46
StaticWebSite[object Object]

Exercise 1: Text Formatting and page content

Task 1: Folder Structure

Create a proper folder structure for your website. Save all individual tasks in this folder.

It is important to create a proper folder structure for your website. It facilitates organization, making it simple to locate what you need. A well-designed structure saves time and effort when modifications or additions are needed. It's similar to having a map for your website; everything has a location, which facilitates work and problem-solving.

  • rootfloder
  • index.html
@dipaish
dipaish / taskDanalysis.md
Last active November 29, 2023 14:45
DataAnalysis_projectWork23

Project Work

The project work involves three main components: data preprocessing, the application of statistical methods and visualization of major findings. The project work is carried out in teams. A team can have a maximum of 5 students. To ensure diversity in the data sets being used, each team is required to share a link to the dataset they are working on. Furthermore, it is important to note that no two teams should select the same dataset to work on. For effective statistical analysis, it is essential to confirm that certain columns within the dataset contain numeric data.To complete the project work, it is necessary to utilize an interactive notebook that incorporates both Markdown and Python code cells.

Data set for the project work:

  • You cannot utilize the Titanic dataset that was implemented in class.
  • You may acquire the dataset for your team from Kaggle (https://www.kaggle.com/datasets) or any other open data source.
  • It is essential to ensure that you have an adequat
@dipaish
dipaish / virtualization.md
Last active November 21, 2024 23:52
Virtualization & Docker Basics

Virtualization Basics - Tasks

Install Virtual Box

  1. You can either run choco install virtualbox -y (for Windows users) or download the installer directly from the VirtualBox website.
  2. Select the appropriate installer file based on your operating system (Windows or macOS) and follow the instructions to complete the installation.

Creating a Virtual Machine