ãã®èšäºã¯ãHABRAã³ãã¥ããã£ã«ãã£ãŠæ å ±ã®æŒãããšããŠåãå ¥ããããŠãããèªãããšã¯æšå¥šãããŠããŸããïŒ
ç§ã®ãœãŒã·ã£ã«äŒæ¥ã®1ã€ã§ã¯ãããã³ããšã³ãéçºè ã®åœ¹å²ãé³æ¥œã°ã«ãŒãã®ããŒã¹ãã¬ãŒã€ãŒãšæ¯èŒããŠããŸãã6匊ã®é»åæ©åšãæã«æã€ãœãã®ã¿ãªã¹ãã«ãªãããšããŸãã¯æ å ±æè¡ã®ç¬¬äžäººè ã§ãã䞊è¡ãããããã«ãŒããæãããšã倢èŠãŠãã€ã³ã¿ãŒã¯ã¹ãããããã¯ããŠã³ãŒããŒã®ãŸãŸã§ããããã«åŒ·å¶ãããŸããã ãã®èŠæ¹ãã©ã®çšåºŠçå®ã§ãããã決ããã®ã¯ããªã次第ã§ãããå人çã«ã¯ç§ã®ç¥ãåãã§ããããã³ããšã³ããã³ããŒã¯ãå®éã«ã¯ã»ãšãã©ã¢ã»ã³ãã©ãŒãåŠãŒããšããŸããããã¡ã¢ãªã»ã°ã¡ã³ããŒã·ã§ã³ã«å¯ŸåŠã§ããªãã£ãããšãåŸæããããšããããŸãã ãã®èšäºã§ã¯ãéã®ã±ãŒã¹ãæ€èšããŸã-çµéšè±å¯ãªã·ã¹ãã ãŸãã¯ã¢ããªã±ãŒã·ã§ã³ããã°ã©ããŒã
ç°¡åãªå©çãåŸ ã£ãŠããŸã
æåã®ééãã¯çµæžçã§ãã ããªããããªãã®äžåžãèš±ã以äžã«çšŒãããšãç®æšã«ããã³ããšã³ãã«æ¥ããªããç§ã¯ããã«ããªãã倱æãããŸããããªãã¯ãã¯ãèªãããšãã§ããŸããã ååŒæã§ã®çéžãã¬ã€ã¢ãŠããã¿ãŒã³ããŒååºã®éèŠã¯æ¬åœã«å€§ããã§ããããªãã¡ãŒã¯é«ãã§ãã å²ãåœãŠãããäœæ¥ãè¡ããªãã£ã¹ã§ã®8æéã®äœæ¥ã®ä»£ããã«ããã®äœæ¥ã®ç¬ç«ããæ€çŽ¢ã«1æ¥ã®ã»ãšãã©ãè²»ããå¿ èŠããããŸãã ã»ãšãã©ã®éçšè ã¯ãããŒããã©ãªãªããã®æ³šæã«é¡äŒŒããäŸãæäŸããå Žåã«ã®ã¿ååããããšã«æ³šæããŠãã ãããã€ãŸããæåã«ãã®ããŒããã©ãªãªãåéããç¡æã§åããã£ã³ã¹ããã¹ãŠãã£ããããå¿ èŠããããããã·ãŒã·ã£ã§åãããšãä¿èšŒãããŠããæåã®æãæå³ããŸãã ãããŠã圌ã®ããã«ãããªããšåãæ°å人ã®ããªãŒã©ã³ãµãŒãããªããšåããããžã§ã¯ãã«å¯Ÿå¿ããŸãã ãã®äžã«ã¯ã泚æã®ååãããã«å®äºããŠãã¢çãšããŠæäŸããéåžžã«çµéšè±å¯ãªã¬ã€ã¢ãŠããã¶ã€ããŒãšãããªãã®ããã«äžåºŠç¡æã§ãã¹ãŠãå®äºããããšãç³ãåºãåå¿è ã®ã¿ãããŸãã ã»ãšãã©ã®å Žåãéçšäž»ã¯ãããã®2ã€ã®è»å£ã®ãããããéžæããæ®ãã¯æ°æé座ã£ãŠF5ãæŒããšã¢ãã¿ãŒã衚瀺ãããªããªããŸãã ç¶æ³ã¯CISã®åŒè·å£«ã®åžå Žãšæ¯èŒããããšãã§ããŸã-圌ããæã«åŒãè£ãããåŸã圌ãã¯æ¯æ ¡ã®éŸå€ãè¶ ãããšããã«ããããä»ã§ã¯ç³ãåºã¯éèŠãã¯ããã«è¶ ããŠããŸãã åæã«ãããªãŒã©ã³ã¹ã¯ãå±éºæ§ãé«ãŸãæ³åŠã§åãããšãšã¯ç°ãªããŸããããªãèªèº«ã®å人起æ¥å®¶ãããªãå ŽåãããªãŒã©ã³ã¹ã§çšŒãã ãéã¯æ³åŸã®äžã§éæ³ãšèŠãªãããå¯èœæ§ããããããªãã¯1æ¥8æéã§ããå± å¿å°ã®è¯ããªãã£ã¹ã«æ»åšããªãã£ãããšãééããªãåŸæããŸãããªãã®å¥œããªããšãããŠãããã®ããã«çœã絊æãããã£ãŠãã ããã ããã§ãçŽåŸã§ããªãå Žåã¯ã次ã®ãšã©ãŒã«é²ã¿ãŸãã
ç°ãªããã¡ã€ã«ã®æ£åžã³ãŒã
ãããé«ã¬ãã«ã®ã·ã¹ãã èšèª-åã¯ã©ã¹-å¥ã®ãã¡ã€ã«ã§è¡ããŸãã åªããçµçãã¥ãŒããªã¢ã«ã«ãããHTMLãšCSSãç°ãªããã¡ã€ã«ã«ä¿åããæ¹æ³ãããã«ããããŸãã ãã®ææ³ã¯ãã¹ãŠã«é©çšãããããã«æããããããããŸããã ãã㊠ã¯ããHTMLãšã¯å¥ã«CSSã³ãŒããä¿åããæ¹ãè¯ãã§ãããããšãã°ãCSSãµã€ãã«ãŒã«ã®å€§éšåãšã¯å¥ã«ãªã»ããã¹ã¿ã€ã«ããã³ãã¬ãŒããä¿åããã®ã¯èŽåœçãªééãã§ãã JavaScriptã«ã€ããŠãåæ§ã§ããã¹ã¯ãªãããã¯ã©ã¹ããšã«æ°çŸã®ãã¡ã€ã«ã«åå²ããå¿ èŠã¯ãããŸããã2ã€ã®ãã¡ã€ã«ã«ã°ã«ãŒãåããã ãã§ããããŒãžããããŒã«å«ãŸãããã®ïŒãããïŒãšã³ã³ãã³ãã®æåŸã«è¿œå ããããã®ïŒããã£ïŒã ã³ã³ãã€ã«ãããèšèªã®ããã°ã©ã ã¯ãå®è¡éå§åã«å®å šã«ãªã³ã¯ããããšããäºå®ã«æ £ããŠããŸãã ããã§ã¯ãã¹ãŠãç°ãªããŸãã ãµã€ãã³ãŒãå ã®åãªã³ã¯ã¯ããµãŒããŒãžã®è¿œå ã®èŠæ±ã§ãã ãœãŒã·ã£ã«ãããã¯ãŒã¯Vkontakteãæè¿ãã£ãããšæ©èœãå§ããŠããããšã«æ°ã¥ããã§ãããã ä»»æã®ãã©ãŠã¶ãŒã§éçºè ããã«ãéããvk.comãæŽæ°ããŠããœãŒã·ã£ã«ãããã¯ãŒã¯ãµãŒããŒãžã®GETããã³POSTãªã¯ãšã¹ãã®éã確èªããŸãã ãã®ãããªèŠæ±ã®1ã€ã«ã¯æ°ãã€ã¯ãç§ããããŸããããã®æ°ã®ããã«ãããŒãžãå®å šã«ããŒãããããã»ã¹ã¯æ°ç§éé ããŸãã èŠç¢ºèªïŒãªã¯ãšã¹ãã®æå°æ°ã¯ããµã€ãã®é床ãäžããäž»ãªæ¹æ³ã§ãã ããŒã«ã«ãµãŒããŒã§ã¯ãããã¯ç®ã«èŠããŸãããããªã¢ãŒããã¹ãã£ã³ã°ã§äœæ¥ãããšãã«æããã«ãªããŸãã 誰ãæŸé»ãã¹ã¿ã€ã«ãã³ãã¬ãŒããã¯ã©ã¹ãã©ã€ãã©ãªãå¥ã ã®ãã¡ã€ã«ã«ä¿åããå¿ èŠã¯ãããŸãããããã¹ãŠãå ¬éããåã«ãæ¥çãããå¿ èŠãããã1ã€ã®HTMLãã¡ã€ã«ãšCSSãã¡ã€ã«ãããã³ãœãŒã¹ããã®JSãã¡ã€ã«ãããã€ãæ®ããŸãã ãã¹ãŠã®JSãã¡ã€ã«ã1ã€ã®ãã¡ã€ã«ïŒããã³ãã«ãïŒã«ã¢ã»ã³ããªããã«ã¯ãwebpackãbrowserifyãSASSããã³LESSããã»ããµãåæ§ã®CSSã¢ã»ã³ããªçšã«èšèšãããŠããŸãã 1ã€ã®ãã¡ã€ã«ã«è€æ°ã®ç»åïŒã»ãšãã©ã®å Žåãã¢ã€ã³ã³ãŸãã¯ã¢ãã¿ãŒã®ãªã¹ãïŒãçµåãããªã©ãä»ã®æé©åæ¹æ³ããããŸãããããã¯å¥ã®èšäºã®ãããã¯ã§ãã
ã¯ã©ã¹ãšèå¥åãå«ãåæ
æåã«
nav { position: -webkit-sticky; position: sticky; top: 0; } #topnav { list-style: none; overflow: hidden; } .topnav a { display: block; float: left; width: 20%; height: 6vh; font-family: RMS, monospace, sans-serif; font-size: 2vw; text-align: center; line-height: 6vh; color: black; background-color: #FF0; border-left: 3px dotted red; transition: border .2s ease 0s; } .topnav:last-of-type a { border-right: 3px dotted red; } .topnav a:hover { border-left-style: solid; border-top: 3px solid red; } .topnav a:focus { border-top: 3px solid red; } .topnav:hover + li a { border-left-style: solid; } .topnav:focus + li a { border-left-style: solid; } .topnav:last-of-type a:hover { border-right-style: solid; } .topnav:last-of-type a:focus { border-right-style: solid; }
第äº
nav { position: -webkit-sticky; position: sticky; top: 0; } nav ul { list-style: none; overflow: hidden; } nav ul li a { display: block; float: left; width: 20%; height: 6vh; font-family: RMS, monospace, sans-serif; font-size: 2vw; text-align: center; line-height: 6vh; color: black; background-color: #FF0; border-left: 3px dotted red; transition: border .2s ease 0s; } nav ul li:last-of-type a { border-right: 3px dotted red; } nav ul li a:hover { border-left-style: solid; border-top: 3px solid red; } nav ul li a:focus { border-top: 3px solid red; } nav ul li:hover + li a { border-left-style: solid; } nav ul li:focus + li a { border-left-style: solid; } nav ul li:last-of-type a:hover { border-right-style: solid; } nav ul li:last-of-type a:focus { border-right-style: solid; }
ãã¹ãŠãæ£ããã§ãã äžèšã®åãæ¶ãç·æ å ±ã¯èª€ãã§ããããšã©ãŒã®äŸã§ããããŸãã ãã¥ãŒããªã¢ã«ãšã¯ç°ãªããã¬ã€ã¢ãŠããç解ããç¹å®ã®æ®µéã§ã¯ãäœåãªã¯ã©ã¹ãšèå¥åã¯åœ¹ã«ç«ããªãããã«èŠãå§ããŸãã2çªç®ã®äŸã§ã¯ãããtopnavãã¯ã©ã¹ã®ãã¹ãŠã®èŠçŽ ãæ€çŽ¢ããéã«ãã©ãŠã¶ãDOMããªãŒãå®å šã«æž¡ãå¿ èŠããªãããããµã€ããŠãŒã¶ãŒã®ããã»ããµãžã®è² è·ãå°ãªããªããŸãã ãã ãããã®ãããªåçŽåã¯ãéã«æ€çŽ¢æéã®å¢å ãåŒãèµ·ãããæé©åãããŸããã ããã¯ãã¹ã¿ã€ã«ã»ã¬ã¯ã¿ãŒãå³ããå·Šã«å±éããããã§ãã2çªç®ã®ã³ãŒãã§ã¯ãããŒãžå šäœã®ãã¹ãŠã®<a>èŠçŽ ãæåã«æ€åºããã次ã«ãã®èŠªã<li>èŠçŽ ãžã®æºæ ããã§ãã¯ããã次ã«<li>èŠçŽ ã®èŠªãªã©ããã§ãã¯ãããŸãã ãã®çµæãç®çã®ã»ã¬ã¯ã¿ã®é瀺ã¯ãããtopnavãã¯ã©ã¹ã®èŠçŽ ãæ€çŽ¢ãã1ã€ã®ãã¹ã®ä»£ããã«ãããªãŒå šäœã®ãã¹ã«å ããŠãéžæãªã¹ãã®3ã€ã®ãã§ãã¯ãè¡ããŸãã ããã«ãã¯ã©ã¹ãšèå¥åã®æåŠã¯ããHTML-æ§é åãCSS-ãã¬ãŒã³ããŒã·ã§ã³ãã®ååã«åããŸããCSSã»ã¬ã¯ã¿ãŒã¯ãéžæãããèŠçŽ ã®ã¿ã€ãã«äŸåãã¹ãã§ã¯ãªãããã§ãã ã€ãŸãã<ul>ããã³<li>ã<div>ããã³<span>ã«çœ®ãæããå Žåããããã¯å€æŽãããªããŸãŸã«ããå¿ èŠããããŸãã ã¯ã©ã¹ãšèå¥åãç¡èŠããªãã§ãã ããã ããããããã®äŸã§ã®æé©ãªãœãªã¥ãŒã·ã§ã³ã¯æ¬¡ã®ãšããã§ãã
ãšããã§ãååã«ã€ããŠã ãã€ã¯ããã©ãŒãããããŸã ç¥ããªãå Žåã¯ãã¬ã€ã¢ãŠãã«ã©ãã ãæ·±ãå ¥ã蟌ãã§ãããã«é¢ä¿ãªããä»ã§ã¯ã°ãŒã°ã«ã§å匷ããŠãåã£ãã¯ã©ã¹åãçºæãããæ€çŽ¢ãšã³ãžã³ã®äœæ¥ã容æã«ããŸãã
ç¡åé¢æ°ã®åé¿
ããã°ã©ã ãæžããšããé¢æ°åãå€æ°ããªããžã§ã¯ãã«ã¯3ã€ã®å¶éãããããŸãããæåã§å§ãŸããæåãšæ°åã®ã¿ãå«ã¿ãããã°ã©ãã³ã°èšèªã®ããŒã¯ãŒããšäžèŽããŠã¯ãããŸããã éåžžããµãŒãããŒãã£ã®ã©ã€ãã©ãªã®ååã¯äŸ¿å©ãªåå空éã§å²ãŸããŠãããããéåžžã¯ã¢ããªã±ãŒã·ã§ã³ããã°ã©ã ã§ã©ã ãé¢æ°ã䜿çšããŸããã Webã§ã¯ãååã䜿çšãããšãäºæ ã¯ããè€éã«ãªããŸãã ããã§ãJavaScriptã«ã¯ã°ããŒãã«ã¹ããŒã¹ã1ã€ã ããããŸã-ããŒããããããŒãžã®ã¹ããŒã¹ã§ãã ãµã€ãã®ãã¹ãŠã®ã¹ã¯ãªãããçŽæ¥æžããŠãäœãèµ·ãããŸããã ãããã倧èŠæš¡ã§æ·±å»ãªãããžã§ã¯ãã«ã¯ããµãŒãããŒãã£ã®ãœãªã¥ãŒã·ã§ã³ãå¿ èŠã§ãã ãããŠã圌ãã¯ãã®å¯äžã®åå空éãæåéããå°ç¡ãã«ãããããšãã§ããæ°ããèå¥åã®éžæãçå£ã«å¶éããŸãã 解決æ¹æ³ã¯å¿åã®ã©ã ãé¢æ°ã§ããããã¯ãå°ãæéãããããŸãããããå°ããªãœãŒã¹ãå¿ èŠãšããŸãããå€éšã®ã°ããŒãã«é¢æ°ãšã¯ç¡é¢ä¿ã«ãå éšã«ç¬èªã®å人çšã¹ããŒã¹ããããŸãã
è€éãªã©ã€ãã©ãªã䜿çšããŠç°¡åãªåé¡ã解決ãã
jQueryãReactãVueãAngularãBackbone ...ãªã¹ãã¯ç¶ããŸãã ããããã¹ãŠã®JavaScriptã©ã€ãã©ãªã®å ±éç¹ã¯ãã³ãŒãã®ãµã€ãºãæ¬åœã«éèŠãªå Žåã«ãè€éãªãããžã§ã¯ãã§äœæ¥ããããã«äœ¿çšãããããšã§ãã èå¥åã«ãã£ãŠããŒãžäžã®èŠçŽ ãåçŽã«éžæããã«ã¯ãéåžžã®getElementByIdïŒïŒã䜿çšããããšããå§ãããŸãã åäœãéãã ãã§ãªããåºæ¬çã«ã¯å€ããã©ãŠã¶ã§ãåäœããŸãã äœæ¥äžã«ã¹ã¯ãªãããããŒãžäžã®2ã€ãŸãã¯3ã€ã®èŠçŽ ã«ã¢ã¯ã»ã¹ããå Žåã¯ããããããéãã©ã€ãã©ãªã䜿çšããŠãã©ãŠã¶ãŒãšãŠãŒã¶ãŒãããã¯ãŒã¯ãèªã¿èŸŒãŸãªãæ¹ãçã«ããªã£ãŠããŸãã
å»æ¢ãããåŠç¿ææ
ããã¯ãC ++éçºè åãã§ãããStraustrupã®äœæ¥ã¯äœå幎ãçµã£ãåŸãé¢é£æ§ããããŸãã WebããŒã«ã¯ãä¿¡ããããªãã»ã©ã®ã¹ããŒãã§éçºãããŠããŸãã HTMLãCSSãJavaScriptãã¬ã€ã¢ãŠãããã¬ãŒã ã¯ãŒã¯ãã©ã€ãã©ãª-ãã®èšäºãèªãã§ããéããããã¯ãã¹ãŠæ°ããããŒãžã§ã³ã§ç»å Žããå€ãã®å Žåãå€ãæç§æžãè¶ ããŠããŸãã çµè«-ããã³ããšã³ãã®ãã¬ãŒãã³ã°è³æãéžæããéã«ã¯ã䜿çšããããŒã«ã®ãªãªãŒã¹æ¥ãšããŒãžã§ã³ïŒHTML 5.1以äžãCSS 3.0以äžãECMAScript 6以äžïŒã確èªããããšãéèŠã§ãã ãããããHTML 5ã®ãªãªãŒã¹ä»¥éãHTMLã®ã¬ã€ã¢ãŠãã¯é²æ©ããŠããŸãããã2019幎ã«JS 2016ãããªã³ãŒã¹ãèŠèŽããã«ã¯é ãããŸãã 2018ãéžæããŠãã ãããå°ãªããšããèŸæžã䜿çšããæè¡ããã¹ãã®ç¿»èš³ã¬ãã«ã§è±èªã話ãããšãã§ããã°ãªãããã§ãã ãã®åŸãããã«Eloquent JavaScriptãªã³ã©ã€ã³ããã¯ããå§ãããŸãã
å€ããã©ãŠã¶ã®ãµããŒãã®æ¬ åŠ
é説çã«ã幞éã«ãããã³ããšã³ãã§ææ°ã®æç§æžãèŠã€ããããå¥ã®browserã«é¥ãããšãã§ããŸã-å€ããã©ãŠã¶ã®ãµããŒãã®æ¬ åŠã <video>èŠçŽ ãš<audio>èŠçŽ ã¯ãéåžžã«å€ãããŒãžã§ã³ã®ãã©ãŠã¶ãŒã§ããã¹ãŠå®éã«ãµããŒããããŠããŸãããå€ãã®CSSå¹æã¯åé¡ãåŒãèµ·ãããInternet Explorerã ãã§ã¯ãããŸããã ãã©ããããæãåºãæ¹æ³ã¯1ã€ãããããŸããããµããŒããããŠãããã©ãŠã¶ãŒã瀺ãããŠããå Žæã§TKã泚ææ·±ãèªã¿ã䜿çšãããŠããHTMLã¿ã°ãCSSã«ãŒã«ãJSã¡ãœãããããŒãžã§ã³ããšã«æ¯èŒããŠãã ããã
ãã®èšäºã¯äžçš®ã®ã¬ãŒãããŒãããã¯ã§ãããèè ã®çµéšã«åºã¥ããŠæŽæ°ãããŸãã