Difference between revisions of "Text And Code: Alice's Adventures in Computerland"
VKranendonk (talk | contribs) |
VKranendonk (talk | contribs) |
||
Line 77: | Line 77: | ||
'''Tasks''' | '''Tasks''' | ||
# Copy the source of your own book | # Copy the source of your own book | ||
## Check [[Stealing_A_Website|Stealing a Website]] | ## Check [[Stealing_A_Website|Stealing a Website]] | ||
## Place this via [[Visual_Studio_Code|Visual Studio Code in an index.html]] file. | ## Place this via [[Visual_Studio_Code|Visual Studio Code in an index.html]] file. | ||
# Separate the CSS from between the <style> tags in a CSS file, see [https://www.freecodecamp.org/news/how-to-link-css-to-html/ How to link CSS to HTML] | # Separate the CSS from between the <style> tags in a CSS file, see [https://www.freecodecamp.org/news/how-to-link-css-to-html/ How to link CSS to HTML] |
Revision as of 14:09, 27 September 2022
Welcome to the course Text and Code.
In this series of classes from the Publication Station we will use code to load and layout large bodies of text on the web. The visitor of your online publication will be given the option to display the text in several ways.
We will also make the publication interactive, allowing the user to find, filter and highlight the text. As a final touch we work on creating animated SVG’s exported from Illustrator.
Program
Class 1
Demos
- HTML/CSS
- CSS grid
Setup
During the classes we will work in groups of 3.
We will work in Visual Studio Code. Download and install Visual Studio Code.
To help you out with this project we have created some starter files.
- Go to the files
- Click the arrow pointing downwards
- Select "zip"
- This will download the files
- Unzip the files
- Open the folder in Visual Studio Code
Tasks
1. Use the WebScraper.io extension to scrape Alice in Wonderland or any other book you like.
- Follow instructions on web scraping
- Place the JSON into your web project
2. Add a CSS grid
- Read the introduction on CSS_Grid and apply to your own website
3. Creating and adding images
- Create images with Dall-E Mini
- Add images via the `JSON` files
Class 2
This class you will practice the art of reading documentation by adding fonts, filters and animations. Next to this we practice reading and stealing code by adding filters (and a search) to your project.
- Add highlight functionality AND/OR a search
- Check out the example code in the /final folder
- Add highlight buttons AND/OR search field to your own project
- Create a nice looking menu with CSS Grid
- Make the grid responsive
- Check out the example code in the /final folder
- Change the CSS grid so that it is responsive
- Loading of fonts
- Pick some nice Google Fonts
- You can also use FontMap to explore Google fonts
- Read this documentation on implementation
- Add the fonts to your project
- Bonus: CSS filters and animations
- Read the filters documentation
- Read the animation documentation
- Add an animation to your own project
Class 3
Duration 2 hours
Demos
- Steal code options with Alice in Wonderland:
- View source
- View selection source
- Save page
- Working with anchors
- Creating an index
Tasks
- Copy the source of your own book
- Check Stealing a Website
- Place this via Visual Studio Code in an index.html file.
- Separate the CSS from between the <style> tags in a CSS file, see How to link CSS to HTML
- Create your own index with anchors, see Linking within a page
Extra
- Add images (Search for: "How to add image HTML")
- Add fonts and style your document
- Pick some nice Google Fonts
- You can also use FontMap to explore Google fonts
- Read this documentation on implementation
- Add the fonts to your project
- Apply CSS grid
- Read the introduction on CSS_Grid and apply to your own website
- Bonus: Create an index with Javascript
Class 4
Demos
- NLP
- Demo new code and how to use it
Tasks
- Use the newly created weights to show importance
- Inspect and find the "NLP" wrapper elements
- Change the CSS styling by using the weights in text
- Study NLP
- Read https://lizrush.gitbooks.io/algorithms-for-webdevs-ebook/content/chapters/language-detection.html
- Write down in your own words what the algorithms can do
- Read the documentation at https://github.com/spencermountain/compromis
- Write down in your own words what this library can do
- Read https://lizrush.gitbooks.io/algorithms-for-webdevs-ebook/content/chapters/language-detection.html
- Design your own project
- Start sketching out your own projects
- Discuss with Vincent and Gijs how to accomplish your idea
Class 5
...