1.0.3 • Published 7 months ago
joscript-app v1.0.3
function App() {let load = window.onload = () => {
return(
jo('div', {class:'app ', id:'app' ,children:[
jo('h1', {text:'Welcome to joscript'}),
]})
)
};return load()} export default App;
<h1>Joscript features</h1>
<p>Here are some of the plugins that the Joscript library offers. Read more details here <a href="">Joscript</a></p>
<div>
<p>1 - Makes it easier to write HTML code inside Javascript</p>
```jsx
// Create item
jo('h1', {id:'h1', class:'h1', text:'welcome to joscript'}),
querySelector('.h1'), // Here you can call elements like CSS querySelectorAll('.h1'), // Here you can call elements like CSS
</div>
<div>
<p>5 - Call the elements in one of the above ways and add a style to them</p>
```jsx
getName('h1', {
width:'300px',
height:'40px',
color:'red',
background:'white',
})
event('add id', 'click', () => { })
addLocal('add name', add value) // Add value to local storage
getLocal('add name') // Get value from local storage