{"id":17816143,"url":"https://github.com/henrytwo/utmdsc-web-101","last_synced_at":"2025-04-02T08:25:11.986Z","repository":{"id":108465198,"uuid":"215454165","full_name":"henrytwo/UTMDSC-Web-101","owner":"henrytwo","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-02T00:13:27.000Z","size":794,"stargazers_count":0,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T23:37:33.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/henrytwo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-10-16T04:06:21.000Z","updated_at":"2021-04-23T03:15:26.000Z","dependencies_parsed_at":"2023-08-21T05:45:17.814Z","dependency_job_id":null,"html_url":"https://github.com/henrytwo/UTMDSC-Web-101","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytwo%2FUTMDSC-Web-101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytwo%2FUTMDSC-Web-101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytwo%2FUTMDSC-Web-101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrytwo%2FUTMDSC-Web-101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henrytwo","download_url":"https://codeload.github.com/henrytwo/UTMDSC-Web-101/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246779528,"owners_count":20832410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T16:35:43.026Z","updated_at":"2025-04-02T08:25:11.967Z","avatar_url":"https://github.com/henrytwo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UTMDSC-Web-101\nBy Henry Tu\n\n## Demo Pages\n\n[Hello World!](https://henrytwo.github.io/UTMDSC-Web-101/step-1-helloworld) \u003cbr\u003e\n[HTML Tags](https://henrytwo.github.io/UTMDSC-Web-101/step-2-tags) \u003cbr\u003e\n[CSS](https://henrytwo.github.io/UTMDSC-Web-101/step-3-css) \u003cbr\u003e\n[Bootstrap](https://henrytwo.github.io/UTMDSC-Web-101/step-4-bootstrap) \u003cbr\u003e\n\n## Bread and Butter\nThere are 3 main components to a website (frontend).\n\nHTML - The backbone / skeleton\u003cbr\u003e\nCSS - The style and formatting\u003cbr\u003e\nJS - The logic (and actual code)\n\n## Creating an HTML Page\n\n### Comments\n```\n\u003c!-- Comments go in here--\u003e\n\n\u003c!-- \nMultiline comment\nLine 1\nLine 2\n--\u003e\n\n```\n\n### How tags work\nReplace `X` with the name of the tag. Be sure to close any tags that you open! \n```$xslt\n\u003cX\u003e  \u003c!-- Open tag --\u003e\n     \u003c!-- Stuff goes inside --\u003e\n\u003c/X\u003e \u003c!-- Close tag --\u003e\n```\n\n### Sample Page\n```\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e                           \u003c!-- Contains meta data (stuff that isn't displayed) --\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003ctitle\u003eHello, world!\u003c/title\u003e \u003c!-- Title that will be displayed on top --\u003e\n\u003c/head\u003e\n\n\u003cbody\u003e                           \u003c!-- The actual content of the website --\u003e\nThis is a cool website.\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n### Basic text\n```$xslt\n\u003cp\u003e\n    This is a paragraph\n\u003c/p\u003e\n\n\u003ch1\u003e\n    BIG TEXT\n\u003c/h1\u003e\n\n\u003ch2\u003e\n    LESS BIG TEXT\n\u003c/h2\u003e\n\n\u003ch3\u003e\n    LESS BIG TEXT\n\u003c/h3\u003e\n\n\u003ch4\u003e\n    SMOL TEXT\n\u003c/h4\u003e\n\n\u003ch5\u003e\n    SMOLLER TEXT\n\u003c/h5\u003e\n```\n\n### Hyperlinks\nYou can use  `a` tags to direct users to another page. \n```$xslt\n\u003ca src=\"https://google.com\"\u003e\n    \u003c!-- What you want to be clicked goes here --\u003e\n    \n    Go to Google!\n\u003c/a\u003e\n```\n\nAdd ``target=\"_blank\"`` to the `a` tag to make it open in a new tab.\n```$xslt\n\u003ca src=\"https://google.com\" target=\"_blank\"\u003e\n    \u003c!-- What you want to be clicked goes here --\u003e\n    \n    Go to Google!\n\u003c/a\u003e\n```\n\n### Images\nYou can use `img` tags to add images to your website! Put the path to your desired image in `src=\"\"`\n```$xslt\n\u003cimg src=\"https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png\"\u003e\n\u003c/img\u003e\n```\n\n### Linking CSS\nIt's good practice to put CSS in a different file so that your code doesn't become super cluttered. Put the path to your CSS file in `href=\"\"`.\n\n\n``    \u003clink href=\"css/main.css\" rel=\"stylesheet\"\u003e\n``\n\n### Scale on mobile properly\nAdd this to make sure your website scales on mobile properly.\n\n```\u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0\" /\u003e```\n\n### Bootstrap\nBootstrap is a popular framework for frontend web projects. Why make something from scratch when it already exists?\n\u003cbr\u003e\n\u003cbr\u003e\nTo install bootstrap, add the following in your `\u003chead\u003e`.\n\n\n\u003cbr\u003e\n\n\u003cfigure class=\"highlight\"\u003e\u003cpre\u003e\u003ccode class=\"language-html\" data-lang=\"html\"\u003e\u003cspan class=\"nt\"\u003e\u0026lt;link\u003c/span\u003e \u003cspan class=\"na\"\u003erel=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"stylesheet\"\u003c/span\u003e \u003cspan class=\"na\"\u003ehref=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\"\u003c/span\u003e \u003cspan class=\"na\"\u003eintegrity=\u003c/span\u003e\u003cspan class=\"s\"\u003e\u003cspan\u003e\"\u003cspan class=\"corInf sha384\" data-title=\"sha384\" data-code=\"sha384\"\u003esha\u003cb\u003e\u003c/b\u003e384\u003c/span\u003e-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\"\u003c/span\u003e\u003c/span\u003e \u003cspan class=\"na\"\u003ecrossorigin=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"anonymous\"\u003c/span\u003e\u003cspan class=\"nt\"\u003e\u0026gt;\u003c/span\u003e\u003c/code\u003e\u003c/pre\u003e\u003c/figure\u003e\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003cpre\u003e\u003ccode class=\"language-html\" data-lang=\"html\"\u003e\u003cspan class=\"nt\"\u003e\u0026lt;script \u003c/span\u003e\u003cspan class=\"na\"\u003esrc=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"https://code.jquery.com/jquery-3.3.1.slim.min.js\"\u003c/span\u003e \u003cspan class=\"na\"\u003eintegrity=\u003c/span\u003e\u003cspan class=\"s\"\u003e\u003cspan\u003e\"\u003cspan class=\"corInf sha384\" data-title=\"sha384\" data-code=\"sha384\"\u003esha\u003cb\u003e\u003c/b\u003e384\u003c/span\u003e-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo\"\u003c/span\u003e\u003c/span\u003e \u003cspan class=\"na\"\u003ecrossorigin=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"anonymous\"\u003c/span\u003e\u003cspan class=\"nt\"\u003e\u0026gt;\u0026lt;/script\u0026gt;\u003c/span\u003e\n\u003cspan class=\"nt\"\u003e\u0026lt;script \u003c/span\u003e\u003cspan class=\"na\"\u003esrc=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js\"\u003c/span\u003e \u003cspan class=\"na\"\u003eintegrity=\u003c/span\u003e\u003cspan class=\"s\"\u003e\u003cspan\u003e\"\u003cspan class=\"corInf sha384\" data-title=\"sha384\" data-code=\"sha384\"\u003esha\u003cb\u003e\u003c/b\u003e384\u003c/span\u003e-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1\"\u003c/span\u003e\u003c/span\u003e \u003cspan class=\"na\"\u003ecrossorigin=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"anonymous\"\u003c/span\u003e\u003cspan class=\"nt\"\u003e\u0026gt;\u0026lt;/script\u0026gt;\u003c/span\u003e\n\u003cspan class=\"nt\"\u003e\u0026lt;script \u003c/span\u003e\u003cspan class=\"na\"\u003esrc=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"\u003c/span\u003e \u003cspan class=\"na\"\u003eintegrity=\u003c/span\u003e\u003cspan class=\"s\"\u003e\u003cspan\u003e\"\u003cspan class=\"corInf sha384\" data-title=\"sha384\" data-code=\"sha384\"\u003esha\u003cb\u003e\u003c/b\u003e384\u003c/span\u003e-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\"\u003c/span\u003e\u003c/span\u003e \u003cspan class=\"na\"\u003ecrossorigin=\u003c/span\u003e\u003cspan class=\"s\"\u003e\"anonymous\"\u003c/span\u003e\u003cspan class=\"nt\"\u003e\u0026gt;\u0026lt;/script\u0026gt;\u003c/span\u003e\u003c/code\u003e\u003c/pre\u003e\n\n\u003cbr\u003e\n\nHere's some documentation to help you get started: \u003cbr\u003e\n\n[Bootstrap Documentation](https://getbootstrap.com/docs/4.3/getting-started/introduction/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrytwo%2Futmdsc-web-101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenrytwo%2Futmdsc-web-101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrytwo%2Futmdsc-web-101/lists"}