合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

        ITS290F 代寫、代做 java,c++編程
        ITS290F 代寫、代做 java,c++編程

        時間:2025-01-31  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



        ITS290F Human Computer Interaction & User Experience Design
        Lab 1. Introduction to CodePen
         
         
        What you’ll learn in this lab:
         
        • Understanding CodePen
        • Creating a front-end page
        • Using Google form to submit your lab work
         
         
        CodePen is a cloud-based integrated development environment (IDE) for writing and sharing front-end code. It would be useful for us to try out our code in certain lab practices. 
         
         
        1. Sign up CodePen  
         
        Sign up a CodePen free account
         
        1. Visit http://codepen.io .
         
        2. Sign up with email or your preferred methods, as shown in Figure 1. 
         
        3. Check your mailbox to activate your account, if applicable.
         
        4. Login CodePen with your login credentials.
         

        FIGURE 1
        CodePen sign up page.
         
        2. Understanding the CodePen Editor
         
        Figure 2 shows the user interface of the CodePen Editor. It consists of 3 editor panels for HTML, CSS and JS that you can edit your code and scripts, and a live preview panel that shows the resulting webpage of your code. 
         

        FIGURE 2
        CodePen Editor.
         
         
         
        TRY IT YOURSELF
         
        Taking an Editor Tour
         
        CodePen provides an online tutorial for you to get familiar with the user interface of the CodePen editor:
         
        1. Go to https://codepen.io/pen/tour/welcome/start .
         
        2. Follow the instructions and try it out.
         
         
        3. Lab Exercises
         
        On your own, spend time becoming familiar with the CodePen interface. For this part, practice creating a Pen and attempting to finish the exercises.
         
        You need to answer the follow-up questions and submit your answers (see submission section).
         
         
        Exercise 1
         
        Create buttons that change the color of an HTML paragraph.
         
        1. Create a new Pen.
         
        2. Put the following code into the HTML window
         
        <p id='hello'>Hello, World!</p>
        <button onclick=changeColor('red')>Red</button>
         
        3. Put the following code into the JS window
        function changeColor(color) {
         document.getElementById('hello').style.color=color;
        }
         
        4. Save and try clicking the “Red” button.
         
        5. Add two buttons for changing color of “Hello, World” to green and blue.
         
        6. Save and try clicking the new buttons.
         
         
        Follow-up Questions
         
        Q1. How many buttons you see on the screen?
         
        Q2. A function is called when you click on the button. What is the name of the function?
         
        Q3. The function uses a reference ID to lookup for the HTML <p> element. What is the ID?
         
        Exercise 2
         
        Learn reading JS reference from w3schools and create buttons that change the font style and weight of an HTML paragraph.
         
        1. Continue to work on the code of Exercise 1. Add two buttons for changing the font style of “Hello, World” with Normal and Italic styles.
         
        2. Create a new JS function with a parameter called changeFontStyle(style) .
         
        3. Study the fontStyle property of JS on w3schools JSreference(https://www.w3schools.com/jsref/prop_style_fontstyle.asp) and complete the function.
         
        4. Associate the new function with the corresponding parameters to the onClick event of the new buttons. Save and try clicking the new buttons.
         
        5. Add three buttons for changing the font size of “Hello, World” with size “x-large”, “250%”, and “100px”. The outcome of the page should look like the follows:
         

         
        6. Create a new JS function with a parameter called changeFontSize(size) . 
         
        7. Study the fontSize property of JS on w3schools JS reference /prop_sand complete the function.
         
        8. Associate the new function with the corresponding parameters to the onClick event of the new buttons. Save and try clicking the new buttons.
         
         
        Follow-up Questions
         
        Q4. On the page, which font size property value produces largest font size?
         
        Q5. Submit your solution HTML code of Exercise 2. The first line is given to you.
        <p id='hello'>Hello, World!</p>
        ...
         
        Q6. Submit your solution JS code of Exercise 2. The first function is given to you.
        function changeColor(color) {
         document.getElementById('hello').style.color=color;
        }
         
        ...

        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




         

        掃一掃在手機打開當前頁
      1. 上一篇:代寫 COMP S368、代做 java 程序語言
      2. 下一篇:代寫指標 通達信【備戰龍妖】副圖指標
      3. ·代做 2025 MCM、代寫 java/c++編程語言
      4. ·ELE000042C代寫、代做C/C++編程語言
      5. ·COMP2046代做、代寫C/C++編程設計
      6. ·URBA6006代寫、Java/c++編程語言代做
      7. ·COMP1038 代寫、C++編程設計代做
      8. ·CS-453程序代做、代寫C++編程語言
      9. ·CS-350代寫、C++編程語言代做
      10. ·CSE2425代寫、C++編程語言代做
      11. ·CS 0447代做、代寫c/c++編程設計
      12. ·PROG2004代做、代寫C/C++編程設計
      13. 合肥生活資訊

        合肥圖文信息
        出評 開團工具
        出評 開團工具
        挖掘機濾芯提升發動機性能
        挖掘機濾芯提升發動機性能
        戴納斯帝壁掛爐全國售后服務電話24小時官網400(全國服務熱線)
        戴納斯帝壁掛爐全國售后服務電話24小時官網
        菲斯曼壁掛爐全國統一400售后維修服務電話24小時服務熱線
        菲斯曼壁掛爐全國統一400售后維修服務電話2
        美的熱水器售后服務技術咨詢電話全國24小時客服熱線
        美的熱水器售后服務技術咨詢電話全國24小時
        海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
        海信羅馬假日洗衣機亮相AWE 復古美學與現代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
      14. 上海廠房出租 短信驗證碼 酒店vi設計

        主站蜘蛛池模板: 精品一区二区三区免费毛片爱| 黑巨人与欧美精品一区| 国产午夜精品片一区二区三区| 国产精品 视频一区 二区三区| 久热国产精品视频一区二区三区 | 97久久精品无码一区二区| 狠狠色成人一区二区三区| 日本韩国黄色一区二区三区| 国产午夜精品一区二区三区极品| 日韩精品一区二区三区大桥未久| 国产激情一区二区三区| 欧洲精品一区二区三区在线观看| 亚洲Av无码国产一区二区| 2021国产精品视频一区| AV鲁丝一区鲁丝二区鲁丝三区| 无码人妻精品一区二区| 亚洲国产国产综合一区首页| 亚洲av不卡一区二区三区| 久久精品国产一区二区三 | 国产福利一区二区三区在线视频| 中文字幕精品亚洲无线码一区| 手机看片福利一区二区三区| 色老板在线视频一区二区| 久久久91精品国产一区二区三区| 岛国无码av不卡一区二区| 97久久精品午夜一区二区 | 在线观看精品一区| 国产精品视频免费一区二区三区| 日韩在线观看一区二区三区| 国产av一区最新精品| 美女视频黄a视频全免费网站一区 美女免费视频一区二区 | 亚洲色偷精品一区二区三区| 亚洲另类无码一区二区三区| 国内精品视频一区二区八戒| 精品一区精品二区| 国产人妖视频一区二区| 亚洲高清美女一区二区三区 | 国产精品毛片a∨一区二区三区| 国产伦精品一区二区三区视频猫咪 | 精品一区二区三区电影| 激情综合一区二区三区|