dm3651
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Tinker Meow-Mix ## Task 1 > Compare what you see in the code and map the relationships between the code and output. > ### TOP HEADING > Contains: > * H1 header > * Horizontal rule > * Paragraph text #### Code snipet > <div class="container-top"> <div class="page-header"> <h1>Meow meow meow meow</h1> </div> <p>I like chicken, I like liver, Meow Mix Meow Mix does deliver.</p> </div> #### Visual representation to user ![](https://i.imgur.com/NnXG8WU.png) ### MAIN CONTENT > Contains: > * H3 header > * Hyper text reference: <href></href> > * Paragraph text #### Code snipet > ``` <div class="container-main"> <section id="intro"> <h3>Introduction to Purrr</h3> <p><a href="http://en.wikipedia.org/wiki/Cat">The domestic cat (Felis catus or Felis silvestris catus)</a> is a small, usually furry, domesticated, and carnivorous mammal. It is often called the housecat when kept as an indoor pet,[6] or simply the cat when there is no need to distinguish it from other felids and felines. Cats are often valued by humans for companionship, and their ability to hunt vermin and household pests.</p> <p>Cats are similar in anatomy to the other felids, with strong, flexible bodies, quick reflexes, sharp retractable claws, and teeth adapted to killing small prey. Cat senses fit a crepuscular and predatory ecological niche. Cats can hear sounds too faint or too high in frequency for human ears, such as those made by mice and other small animals. They can see in near darkness. Like most other mammals, cats have poorer color vision and a better sense of smell than humans.</p> <p>Since cats were cult animals in ancient Egypt, they were commonly believed to have been domesticated there, but there may have been instances of domestication as early as the Neolithic from around 9500 years ago (7500 BC). A genetic study in 2007 concluded that domestic cats are descended from African wildcats (Felis silvestris lybica), having diverged around 8000 BC in West Asia. Cats are the most popular pet in the world, and are now found in almost every place where humans live.</p> ``` #### Visual representation to user ![](https://i.imgur.com/kuKNdUz.png) ### "Analysis of Felis Catus" WITHIN MAIN CONTENT > Contains: > - Section > - Section ID attribute with a value equal to "analysis" > - H3 header > - Table attribute with a value equal to "cat danger" > - Table rows > - Table headers > - Table data > - Table data class with a value equal to "extremely deadly" > -- A "span" is used to limit how wide the browser presents this data visually. #### Code snipet </section> <section id="analysis"> <h3>Analysis of Felis Catus</h3> <table id="catDanger"> <tbody> <tr> <td></td> <th>Cute</th> <th>Sassy</th> <th>Playful</th> </tr> <tr> <th>Small</th> <td>Deadly</td> <td>Deadly</td> <td>Deadly</td> </tr> <tr> <th>Medium</th> <td>Very Deadly</td> <td>Very Deadly</td> <td>Very Deadly</td> </tr> <tr> <th>Large</th> <td><span class="danger">EXTREMELY Deadly</span></td> <td><span class="danger">EXTREMELY Deadly</span></td> <td><span class="danger">EXTREMELY Deadly</span></td> </tr> </tbody> </table> </section> #### Visual representation to user ![](https://i.imgur.com/8ah9FPH.png) ### "Cats Opinions" WITHIN MAIN CONTENT > Contains: > - Section > - Section ID attribute with a value equal to "opinions" > - Section CLASS attribute with a value equal to "gallery" > - H3 header > - Div CLASS attribute with a value equal to "thumbnail-pane" > - Image Source > --Image source has an '"alt" attribute for accessibility (visually or hearing imparied). > - H5 header > - Paragraph text > - Section ID attribute with a value equal to "videos" > -- This section has commented-out code referencing something that appears legacy and no longer applicable. #### Code snipet ``` <section id="opinions" class="gallery"> <h3>Cats Opinions</h3> <div class="thumbnail-pane"> <img src="https://jmk2142.github.io/mstu5003/week01/visualize/images/catZero.jpg" alt="grumpycat"> <div> <h5>Grumpy Cat</h5> <p>I'm unimpressed. Shut up and code.</p> </div> </div> <div class="thumbnail-pane"> <img src="https://jmk2142.github.io/mstu5003/week01/visualize/images/nyan.png" alt="nyancat"> <div> <h5>Nyan Cat</h5> <p>I love tasty cupcakes and sweets.</p> </div> </div> <div class="thumbnail-pane"> <img src="https://jmk2142.github.io/mstu5003/week01/visualize/images/businessCat.jpg" alt="catInTie"> <div> <h5>Business Cat</h5> <p>It's time for your purrrrformance review.</p> </div> </div> </section> </div> <section id="videos"> <!-- Add Old Timey Nyan-cat here. https://www.youtube.com/watch?v=LDaayQj-vq8 --> </section> ``` #### Visual representation to user ![](https://i.imgur.com/ED9Q4X7.png) ### FOOTER > Contains: > * Div CLASS attribute with a value equal to "container-bottom" > * Paragraph text > * Elipsis element > * Bold emphasis tag > * Italics emphasis tag #### Code snipet ``` <div class="container-bottom"> <p>Copycatright 2014 &hellip; <strong>All tunafish reserved.</strong> &hellip; <em>Jin Kuwcata</em></p> </div> </div> </body> ``` #### Visual representation to user ![](https://i.imgur.com/C6Mj3Cv.png) --- <!-- # HTML THINGS > Moving around > ` <div class="container"></div>` > Impacts the visual presentation of the page. This is because it has a color defintion within the CSS. By putting it witihn `<div class="container-top"></div>` > The entire section takes on the state of ``` <div class="container"></div> ``` > Alternatively, by moving around ``` <section id="intro"> ``` --> __1.How does SEQUENCE affect the visual display of HTML elements?__ The sequence of the elements determines and the order and organization of visual outputs on the webpage because the HTML page is parsed sequentially from the beginning to the end. In the context of styling, however, the sequence could determine what overrides what e.g. the order of the class declaration in the style section determines which will take precedence second declaration will always take precedence over the first e.g. from FCC ```<style> body { background-color: black; font-family: monospace; color: green; } .pink-text { color: pink; } .blue-text { color: blue; } </style> <h1 class="pink-text blue-text">Hello World!</h1> ``` __2.What are some ways that the hierarchy of your tags will affect the end result / visual output?__ The hierarchy of the tags will affect how nesting and wrapping take place. It tells the browser the importance and the emphasis of the different elements and helps communicate the information to the user in a more intuitive way. __Add/remove/manipulate various elements, ids, classes, attributes__ __3.What did you do and what did you discover in terms of the GENERALIZABLE patterns?__ I got rid of several elements just to see how the visual output changes. Everytime I got rid of some elements, the layout changes and the styles disappear. The states of those elements were reset back to default. Because this Tinker doesn't have much function to it, the main changes happen visually. Another implication for this might be that the override styles could be eliminated if these were not put in place e.g. class override body elements' CSS __Try to add an embedded Youtube video in the section#videos tag.__ __Before you do, take a guess as to what you expect to see as the visual result. Were your guesses correct?__ Before: I expect a youtube video to pop up below cats opinions. I also expect it to be in a different section, so there should be some distance between the business cat picture and the video. After: Yes, the video is displayed in a different section, but I didn't exepct it to refuse to connect and that it would be this small. Another thing is alignment. It's alighed to the left instead to the middle. I will have to modify the respective codes in the tag or CSS to make those visual changes happen. __What are some ways that you can use comments to help you understand your code better?__ I can use comments to help me understand my code better by using human words to organize/reference my page. They could also serve as documentation of the original idea or differnt ways to solve problems. Clarification comment for future self (more vigilant and caffeinated self) __What is the generalizable syntax pattern between all these tags?__ - All tags are wrapped in <> - All tags have some sort of attributes and are represented with the = sign - Values and content of attributes are wrapped in "" __How did you go about learning how to utilize a new element (process)?__ First, I looked at the tag and made sure that I typed in the right open/closing tag and that the codes followed the syntax rules. Next, I tried to put in an example to see how the page changed. Since the cheatsheets were in text, I didn't know exactly how it was going to change. e.g. I tried out "srcdoc" but wasn't sure what it meant by HTML content within the frame. It turned out weird to me so I decided to go to W3S to look at an example, which turned out to be the same visual output. I just didn't understand the formatting. __How can different elements, classes, and ids help to organize our html content?__ They can help organize our html by labeling and framing the range and groups of elements we would like to later customize or refer back to. Without them, it would be more difficult to quickly understand what the codes represent from the users' end. __Why do we have so many different kinds of CSS selectors available?__ We have so many different kinds of CSS selectors available because then we are able to customaize the sites we are working on and are able to target the elements we would like to style more precisely without affecting the other elments we don't want to change. __What is the generalizable syntax pattern between all these css rules?__ The syntax pattern between all the css rules are that they all have 1) a selector, 2) property, and 3) value. By finding the elements and identifying the style type that we want to change, we can assign a value that defines those style types to achieve a state change.For instance, by changing "padding" the user can increase or decrease the space between the edge of the div "box", or by changing the "text-alignment" with the appropriate syntactical value, "left, center, right, etc." the text changes position on the page. __How then, should you go about studying resources like 30 CSS Selectors and CSS Tricks Almanac to help you become a more capable and efficient programmer?__ We should go about studying these resources by putting the information to real practical use like making a website or writing our own code. In this way, through trial-and-error as well as continous practice, we would then be able to become more capable and efficient in recognizing what the goals/needs are and what selectors will best address them. ___COMBINED and META things___ __How might HTML sequence and hierarchy of tags affect your CSS rules?__ If our CSS isn't showing the things that we would want to see from our HTML code, then something is wrong; typically, looking at the HTML sequence and hierarchy of tags would most likely resolve the issue in the beginner stage. __There are many things that can go wrong when you code an HTML/CSS page. Your HTML might be wrong. Your CSS might be wrong. It’s pretty difficult to debug/fix when you have more than one thing wrong at the same time.__ __Based on your understanding of how sequence, hierarchy, syntax affects the page; What do you think are best practices to systematically fix errors in your code?__ We think that it's best to first identify what the problem is by looking at how the code is visually rendered on the page. We could ask ourselves questions like "does my code look like the design?" and "if not, why does it look different?" We also should refer back to the sequence potentially doing an internet search to validate that the sequence is correct and the syntax is properly formatted. __Based on said understanding, what are some best practices to reduce errors as you code?__ It's best to go back to the four stages: sequence, hierarchy, organization, and patterns. __What is the STRENGTH of FCC exercises and what is the LIMITATION with respect to learning and understanding?__ The strength of the FCC exercises like you mentioned Prof Kuwata is that we are actively coding and we are starting to learn to solve problems in smaller contexts. Another strength is that they introduce us a variety of commonly used and basic elements and styling strategies through small learning units, which is less overwhelming. The limitation is that rather than providing scaffolds during the problem solving process, the hints and demo videos are directly given after the first mistake and are the only supports given. It could be challenging for the learners to work through the challenges when they fail to understand those hints. It also makes it incredibly difficult to embed all of the information into our memory at once. As an introductory type of learning resource, it does not provide more complex and layer problem-solving challenges. __What is the STRENGTH of tinkering and what is the LIMITATION with respect to your learning and understanding?__ The strength of tinkering is that we get to collaboratively learn from each other and answer each others' questions. At the same time, we get to explore different kinds of codes with little restrictions. The limitationis that since there are no correct answers, it is hard to gauge what we have done and learned within the short span of time that are tinkering. __What kinds of things did your group members learn, notice, experience that you did not and why do you think that is with respect to HOW you each respectively studied the materials?__ We had a great time discussing the definitions and implications of sequence, hierarchy, organization, and patterns. We each had our own thoughts about what these four stages meant and it was really fulfilling to learn about each other's thought processes.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully