Начал пытаться что-то написать на JS. Ненавижу JS
This commit is contained in:
parent
3760787091
commit
9dbcc53fd1
6 changed files with 39 additions and 5 deletions
7
src/main.js
Normal file
7
src/main.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import axios from "axios";
|
||||
|
||||
let pictureId = document.getElementById("CatGirlPicture")
|
||||
pictureId.onclick = function() {
|
||||
let picFilename = axios.get(location.href + "rand")
|
||||
console.log(picFilename)
|
||||
}
|
||||
1
src/picnic.min.css
vendored
Normal file
1
src/picnic.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue