Overview
This initial assignment will introduce you to the basics of HTML. In this initial assignment, we will not use CSS. Use style attributes on the appropriate HTML tags to adjust the appearance. When finished, tag the commit asclient-0
Setup
-
Locate your project in your group (Named
client-group-x) in gitlab, and clone the project -
Once you clone this project, create a folder named
public. All your code for this assignment will go in this folder. -
Inside
public/create a file, and name itindex.html- Your web markup (html) will go in this file (You can use the template below to get started)<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Web Assignment 0</title> <meta name="description" content="First web assignment"> <meta name="author" content="student name"> </head> <body> </body> </html> -
In the root directory, create a
.gitlab-ci.ymlfile with this content:image: name: node:18 #No special docker image. Standard nodejs image from dockerhub cache: paths: - node_modules/ before_script: - yarn install - node --version pages: stage: deploy script: - ls -lFa public artifacts: paths: - publicThis CI file will publish your webpage (index.html) to the gitlab web server. You can find the URL (to check your webpage) on the
settings/pageslink in gitlab