Téotime Pacreau · @teotimepacreau
57 followers · 271 posts · Server mastodon.design

:

: Beginned email template in Newsletter Express project

Source Code : github.com/teotimepacreau/Expr

Learned :
-inline styles
-html tag <style>
-email HTML current state : can get rid of tables if using divs. Still need to learn more about the support of semantic html elements

#100daysofcode #nodejs #express #sqlite #vanillajs #day41 #webdev #frontend #css #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js #emailgeeks

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
56 followers · 264 posts · Server mastodon.design

:

: Added unsubscription logic and SQL handling in Newsletter Express project

Source Code : github.com/teotimepacreau/Expr

Added :
- Unsubscription logic : Create a route for users to unsubscribe from the newsletter. Update the database accordingly.

Learned :
-async await handling of errors in Express, require to try catch and next to a middleware

#100daysofcode #nodejs #express #sqlite #vanillajs #day40 #webdev #frontend #css #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
56 followers · 264 posts · Server mastodon.design

:

: Continuing Newsletter Express project with several UI changes

Source Code : github.com/teotimepacreau/Expr

Added :
- modified homepage
- unsubscribe page
- beginned unsub route but i need to add SQL DELETE for the email

#100daysofcode #nodejs #express #sqlite #vanillajs #day39 #webdev #frontend #css #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
54 followers · 262 posts · Server mastodon.design

:

: Newsletter building

Source Code : github.com/teotimepacreau/Expr

Learned :
- intro to Backend : learned basics of NodeJS, Express and SQL
- Express subscription routes : adding entries from the user to an SQLite database
- Displaying notif if the entries are correctly added

#100daysofcode #nodejs #express #sqlite #vanillajs #day38 #webdev #frontend #css #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
50 followers · 227 posts · Server mastodon.design

:

:Classes Exercices from

Source Code : github.com/teotimepacreau/Clas

Learning :
- class allows to create an object with built in properties
- class `constructor` is the better way to add properties
- this
- class extending to create child objects of the class that herits properties
- `constructor` and `super` to rewrite or add properties to the child class

#100daysofcode #vanillajs #day33 #30daysofjavascript #webdev #frontend #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
50 followers · 224 posts · Server mastodon.design

:

: Sets and Maps Exercices from

Source Code : github.com/teotimepacreau/Sets

- `Set` to get unique elements from an array
- `Map` to organize array in objects using as we want keys
- find unique values in a big array combinating `map` array method, flattening and `Set`

#100daysofcode #vanillajs #day32 #30daysofjavascript #webdev #frontend #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

barefootstache · @barefootstache
101 followers · 960 posts · Server qoto.org

(13/25)

One of my favorite things to do is exploit the DOM (ethical concerns aside).

Lots learn early on if some pesky web component is blocking your view, just delete it in the developer’s tools.

This is usually the spark into what other configurations are possible.

As a by trade we are constantly in the developer’s tools trying to understand why certain elements are behaving the way they are - visually or in action. Though we have access to the code base, so it’s easier to understand.

The fun begins when you only have access to the website!

  • For one time edits basic DOM manipulations will suffice.
  • For simple tasks the console will suffice.
  • If you started editing the CSS, you can save your changes and load them next time you visit.
  • If you don’t care about , you can use extensions like or .

In the realm of heavy duty modifications, there are a couple of options:

  • Write your own extension.
  • Write your own library and run it through the console. This permits to offline development in your preferred coding language and you can bundle it either through or .
  • Host your code on , use a CDN bundler, and then preload it via an extension like GreaseMonkey.
  • There is also the option to preload your script into the browser’s config, though with each update one has to do this anew, not questioning the potential flaws.

Through these possibilities one will learn a lot about vanilla and .

#DailyBloggingChallenge #stylus #browser #webdeveloper #fingerprinting #greasemonkey #npmjs #security #vanillajs #hacking #webpack #wasm #webdevelopment #programming

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
50 followers · 222 posts · Server mastodon.design

:

: Higher Order Functions Exercices from

Source Code : github.com/teotimepacreau/High

- concatenate strings with reduce
- some, every array method
-populating an object : using a combination of storing object, for...of loop, sort, slice, map
-create object with bracket notation storingObject[key] = value

#100daysofcode #vanillajs #day31 #30daysofjavascript #webdev #frontend #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Rustie · @rusticola
3 followers · 126 posts · Server hachyderm.io

I’m looking for (the holy grail) of a performant, accessible date picker ideally as a or . The Scottish gov date picker seems to be pretty good - does anyone know of a better one? - designsystem.gov.scot/componen.

#webcomponent #vanillajs

Last updated 1 year ago

today's fun included implementing variable costs for different walkable terrain tiles

armies now prefer to march the long way around muddy farms unless there's no other way

made in for a HomeTeamGameDev.com collab project called Kings of Pixeldeep!

#gamedev #html5 #vanillajs

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
49 followers · 212 posts · Server mastodon.design

:

: Object Exercices from

Source Code : github.com/teotimepacreau/Obje

- using for in loops and understanding that it requireds the [index] of the item

- using .every() array method that return a true or false

- structuredClone() to deep copy an object

using Object.keys, Object.values, Object.entries and array destructuring

.find() array method

#100daysofcode #vanillajs #Day30 #30daysofjavascript #webdev #frontend #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
49 followers · 212 posts · Server mastodon.design
Pascal Garber · @jumplink
21 followers · 146 posts · Server floss.social

🔗 Check out valtio-yjs, the bridge between valtio and Yjs! 🌉💡 Simplify your usage of Yjs with valtio's easy-to-use proxy state library for and . With valtio-yjs, a valtio proxied object can be used just like a regular JavaScript object, making collaboration with Yjs seamless. Find it here: github.com/dai-shi/valtio-yjs

#ReactJS #vanillajs #JavaScript #TypeScript #collaboration #proxystatelibrary #valtiojs #crdt #yjs

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
46 followers · 207 posts · Server mastodon.design
Manuel · @elmanu
23 followers · 66 posts · Server digitalcourage.social

Learnings: #01. If you have an HTML form with the name contact. And optionally a list of checkbox fields with the name select. If there is one checkbox, you can address it with document.forms.contact.select. If there is more than one checkbox you can iterate document.forms.contact.select.forEach((select) => select.checked); To distinguish you can check: 'length' in document.forms.contact.select

#vanillajs #jsdom #js #html #learnings

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
46 followers · 203 posts · Server mastodon.design
Téotime Pacreau · @teotimepacreau
46 followers · 203 posts · Server mastodon.design

@kalvn est-ce que tu conseilles d'apprendre avant ou vice versa quand on a commencé par , et du ?

#vanillajs #css #html #nodejs #vuejs

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
45 followers · 199 posts · Server mastodon.design
Téotime Pacreau · @teotimepacreau
45 followers · 199 posts · Server mastodon.design

@nonlinear beginner also but curious about your issue

#vanillajs

Last updated 1 year ago

Kaan Barmore-Genç · @kaan
154 followers · 189 posts · Server fosstodon.org

I needed to print addresses on an envelope, and guides online said to use Microsoft Word. I don't have that, so I instead made my own template! I probably spent more time making this than I would just handwriting the addresses, but hopefully others will find it useful!

seriousbug.github.io/print-to-

It clocks in under 10kb (minus favicon), uses and plain handwritten and . It even works with Javascript disabled except for some minor enhancements. All .

#vanillajs #html #css #opensource

Last updated 1 year ago