Skip to content

Commit

Permalink
dragonball challenge api
Browse files Browse the repository at this point in the history
filter by planets
  • Loading branch information
Yosiak-alv committed Sep 11, 2024
1 parent a9c3e45 commit d0f6bbd
Show file tree
Hide file tree
Showing 12 changed files with 1,163 additions and 0 deletions.
24 changes: 24 additions & 0 deletions dragonball/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
13 changes: 13 additions & 0 deletions dragonball/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/main.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions dragonball/javascript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions dragonball/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import './style.css'
import javascriptLogo from './javascript.svg'
import viteLogo from '/vite.svg'
import { charactersView } from './src/pages/charactersView'



document.querySelector('#app').innerHTML = `
<div>
<h1>API DRAGON BALL</h1>
<div id="planets">
<label>Seleccion un planeta: </label>
</div>
<div id="list-dragon-ball"></div>
</div>
`
charactersView();
Loading

0 comments on commit d0f6bbd

Please sign in to comment.