Jingyu Wu
    • 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
    - - - Title: Tinker HTML/CSS Meow Mix Group Members: Tiffany Zhu, Andrea Maidanik, Andrea Chen, Haoming Zhao, Jingyu Wu - - - Tasks and questions: https://hackmd.io/@jmk2142/rkU7P-1j- Tinker Meow Meow: https://codepen.io/jmk2142/pen/dVMRRq ### HTML things ***1. Mess around with the sequence of different tags. How does SEQUENCE affect the visual display of HTML elements?*** (1) "h1","h2","h3"can be a sequence - e.g., change h1 into h2 & h3 into h1 For example, if we change "h1" for "h3", the size of the header changes. - The font size becomes smaller as the the number of "h" becomes bigger, e.g., the font size of h1 is bigger than h2, the font size of h2 is bigger than h3, etc. - In conclusion, the sequence affects the visual display of HTML elements. ![](https://i.imgur.com/5O0c0Ll.png) (2) We learned this code can make text go right-to-left <--bdo dir="rtl"> This text will go right-to-left. ![](https://i.imgur.com/UADf3Vt.png) ***2. Change the hierarchy, the parent-child relationships between different tags. What are some ways that the hierarchy of your tags will affect the end result / visual output?*** The hierarchy is important to make it human-readable. If we change parents, childrens, siblings, the visual result doesn't change. But if it is desorganized, a peer will not be able to read it properly and make changes. ***3. Add/remove/manipulate various elements, ids, classes, attributes. What did you do and what did you discover in terms of the GENERALIZABLE patterns?*** ![](https://i.imgur.com/qmxoBAZ.png) When I deleted the "class" elements, I realized the background disappeared. The removal of "id" didn't seem to change anything, but the id attribute is used to point to a specific style declaration in a style sheet. ***4. 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?*** We added an embedded Youtube video in the section#videos tag.![](https://i.imgur.com/Ycdban2.png) Before I did this, I expect to see this YouTube video to show, I used the link first but it was broken, then I remember what Iva taught us in class to use the share bottom to get the embedded link. Once I used that link, it worked. ***5. Create some notes as comments in this code.What are some ways that you can use comments to help you understand your code better?*** ⬇️see the comment here <!--#For example, consider a really complex and multivariate function you defined in JavaScript, adding comments about this will remind you how to input arguments in an appropriate sequence and how many parameters are set as default and their default value. #Besides, adding comments is also very useful especially for code with many layers of nesting and looping, because the logic chain of programming could be very complex at sometime. #It is useful when you're working together with teammates. Leave a comment so that everyone in the team can see the inside and get your ideas. #Finally, it is always useful for debug or development.--> ***6. Take a look at the following. What is the generalizable syntax pattern between all these tags?*** <div id="mainStory">...</div> <p class="important">Lorem ipsum...</p> <span class="incorrect">Your answer</span> <input type="text" name="fullName" value="anonymous"> <tag>content</tag> (last part depends on whether they're open or closing tab) The tag can contain *attributes="value"*, and there are different kinds of attributes for different kinds of elements. ***7. Take a look at the following cheetsheets: HTML5 Cheatsheet. Muck around with the page and try to add a new content feature using some new elements you haven’t directly worked with in FCC.*** * ***How did you go about learning how to utilize a new element (process)?*** ![](https://i.imgur.com/toKdze5.png) I've never used telephone function. So I added a phone number to the page. ***8. How can different elements, classes, and ids help to organize our html content?*** Different elements can have certain classes and ids. And classes and ids are custom attributes we can add to the elements in order to distinguish them from one another. ### CSS things * ***Take a look at the following almanac of CSS selectors and properties: [30 CSS Selectors], [CSS Tricks Almanac] and use some new selectors and css properties to change the visual look of the page.*** I added a adjacent selector and manipulated the paragraph that is immediately preceded by the h3. ![](https://i.imgur.com/Q3piWBP.png) ![](https://i.imgur.com/PVhihgF.png) * ***Why do we have so many different kinds of CSS selectors available?*** CSS selectors are patterns used to select elements in the DOM, and there are different ways to select a certain element with an attribute. * ***Take a look at the following:*** * ***What is the generalizable syntax pattern between all these css rules?*** ```css div { font-size: 10px; } div, span { color: dodgerblue; } div#myFavorites { text-decoration: underline; } div.incorrect { text-decoration:line-through; } div span { color: green; } div > span { color: lime; } div:only-child { font-family: cursive; } ``` The generalizable syntax pattern between all these css rules is: selector(s) { property : value; } * ***Probably, no programmer knows every CSS rule and/or property by memory. I certainly don't, but I know a lot.*** * ***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?*** I think I will refer to these resources first when I code, once I practice more, I will get used to and familiar with more selestors and properties gradually. ### COMBINED and META things * ***How might HTML sequence and hierarchy of tags affect your CSS rules?*** CSS rules apply to the corresponding selectors, so if the sequence and hierarchy of tags change, the their CSS rules will be changed simultaneously. * ***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 believe that you can try to remember the pattern of the work, say HTML: class= “yellow” CSS: .yellow HTML: id= “yellow” CSS: #yellow * ***Based on said understanding, what are some best practices to reduce errors as you code?*** Carefully check each part while coding, for example making sure each tag has a closing tag, there is no typo, letters are capitalized when necessary, etc. * ***What is the STRENGTH of FCC exercises and what is the LIMITATION with respect to learning and understanding?*** FCC exercises are super useful for beginners. It always provide positive feedback after learners finish a very small step which other approaches of learning code don't. Besides, its exercises are very methodical, guiding studens step by step learn the code by doing it. And if you get wrong, the code for testing could give you appropriate hint most of the time. Finally, the community have enough students so that almost every task could be searched in FCC with detailed answers and advices if you encounter with difficulties hints can't help. Your questions could be also respond in time by other learners. * ***What is the STRENGTH of tinkering and what is the LIMITATION with respect to your learning and understanding?*** The strength of tinkering is that it is a good way to practice, mess around a document without the fear of breaking things. We can explore, touch, move and see what happens. Other positive aspect is that it's a collaborative work and we can share opinions and knowledge with our peers. We also feel like it's a great way to practice constructivism. Exploring computing by ourselves establishes a basic understanding for programming languages. For limitations, we might come up various opinions from different perspectives, but it is hard to include everyone's thoughts for each piece of the work. Also, each of us has different progress for the coding experience, it might be tough to have everyone on the same page to complete the tasks and answer the questions, it could be done better through working lively on Zoom together. * ***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?*** When we are working on the same project, even when we do the procedures in the exact same manner, sometimes there's bugs that show up in one of us's document but not others'. I found that debugging simutanously is a very good way to help us learn together.

    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