본문 바로가기

IT To do and To was

22년 3월 21일_깃 약간의 설명, 웹 디자인 기능사...공부

728x90
반응형

월요일[kfc 너란뇨석...]

1. 깃

2. 웹디 just 쇼핑몰 구현 및 헷갈리는 거 수기 필기하기

 

1.

깃설치

git init

cd .\git\

dir(확인)

git config -l

git config --local -l   (프로젝트 디렉토리?

git config --global -l (내 계정에서 유효한 환경변수?

 

이메일 넣기

git config --local  user.email "haryul99@naver.com"

git config --local user.name "haryul99"

 

파일 추가하고 관리 상태 확인

git status

 

파일 추가

git add hello.txt

 

git commit

git log

 

전부 stageapd로 

git add .

 

git commit -m "두 번째 커밋"

 

git log --oneline

 

https://github.com/settings/tokens

 

GitHub: Where the world builds software

GitHub is where over 73 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat...

github.com

 

2. 웹디자인 기능사 main영역

.main{

margin : 0 auto;

overflow : hidden;

position : relative;

}

.main ul{

position : absolute; top: 0; left: 0;

width : 3600px;

hegiht : 300px;

}

.main li{

float : left;

width : 1200px;

height : 300px;}

-----------------------------------------------------

js

$(document).ready(function(){

    var num = 1;

    setInterval(function(){

    if(num <3){

num++;

   $('.main ul').animate({

   left '-=1200'

},'slow');

   }else{

num =1;

  $('.main ul').animate({

   left =0

},'slow');

   }

 

},3000);

});

 

//fade

 

.main{

margin : 0 auto;

position : relative;

}

.main ul{

width : 1200px;

hegiht : 300px;

}

.main li{

position : absolute; top: 0; left: 0;

width : 1200px;

height : 300px;

display : none;}

 

--------------------------------

js

$(document).ready(function(){

$('.main li').first().fadeIn(0);

var num = 1;

 

setInterval(function(){

if(num < 3){

num++;

$('.main li').fadeOut('slow');

$('.main li').eq(num -1).fadeIn('slow');

}else{

num =1;

$('.main li').fadeOut('slow');

$('.main li').frist().fadeIn('slow');

}

},3000);

});

 

//yesterday wished to today list

. C언어 2교시 수강 👎

 

tomorrow wish list

. C언어 2교시 복습하기 (✔)

728x90
반응형