Skip to content

Instantly share code, notes, and snippets.

@sebastianfrelle
Created February 20, 2018 10:15
Show Gist options
  • Save sebastianfrelle/a1e5218171b9cda1936d48148d92fdf2 to your computer and use it in GitHub Desktop.
Save sebastianfrelle/a1e5218171b9cda1936d48148d92fdf2 to your computer and use it in GitHub Desktop.

{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Exercise 1\n", "\n", "## Part 2\n", "\n", "* 7 common HTML elements\n", " * head, html, div, span, p, body, title, table, tr, td...\n", "* Difference between class and id HTML attributes\n", " * class can be used multiple times per page\n", " * Each element can have multiple classes\n", " * id only once per page\n", "* DOM\n", " * Document Object Model; defines structure for web page.\n", " * The hierarchy that the browser compiles to render its own internal representation of a web page and how its objects fit together.\n", "* Javascript's Array corresponds to Python's list.\n", "* Javascript's object literal corresponds to Python's dict (although not really).\n", "* Did the things with the squares.\n", "\n", "## Part 3\n", "\n", "* Set up a web server with python3 -m http.server 8887.\n", "* Set up a web page at https://sebastianfrelle.github.io.\n", "\n", "## Part 4\n", "\n", "* Built the web page and published it to https://sebastianfrelle.github.io.\n", "\n", "\n", "code\n", "" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.4" } }, "nbformat": 4, "nbformat_minor": 2 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment