wrzesień

 0    4 flashcards    pablojakub
download mp3 print play test yourself
 
Question Answer
fetch API (GET)
start learning
fetch(url). then(response => return response. json());
fetch API (POST)
start learning
fetch(url, {method: 'POST', body: JSON. stringify(data)}). then(response => return response. json();
keyframes
start learning
keyframes slide-in {from {transform: translateX(-100%);} to {transform: translateX(0%);} }. box {animation: slide-in 1000ms;}
spinner using keyframes
start learning
@keyframes spin {from {transform: rotate(0turn);} to {transform: rotate(1turn);} }. spinner {animation: spin 1000ms; animation-timing-function: linear; animation-iteration-count: infinite;}

You must sign in to write a comment